mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
a9128250b1
- Add NO_ARCH - Switch to options helpers - Don't install LICENSE along with docs
37 lines
778 B
Makefile
37 lines
778 B
Makefile
# Created by: HSIN-HSIUNG CHANG
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= scr_ipfm
|
|
PORTVERSION= 0.64
|
|
CATEGORIES= net
|
|
MASTER_SITES= SF/scripfm/scripfm/${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Use logs generated by ipfm to show data graphically
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= php
|
|
MYADMDIR?= www/data/scr_ipfm
|
|
PLIST_SUB= MYADMDIR=${MYADMDIR}
|
|
SUB_FILES= pkg-message
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
|
|
PORTDOCS= BUGS ChangeLog README README_pl THANKS TODO
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/${MYADMDIR}
|
|
${CP} -R ${WRKSRC}/[a-z]* ${STAGEDIR}${PREFIX}/${MYADMDIR}
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for f in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|