- Fix LICENSE

- Add NO_ARCH
- Switch to options helpers
- Don't install LICENSE along with docs
This commit is contained in:
Dmitry Marakasov 2017-01-06 09:01:14 +00:00
parent 59e02117ae
commit a9128250b1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=430693

View File

@ -9,20 +9,25 @@ MASTER_SITES= SF/scripfm/scripfm/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Use logs generated by ipfm to show data graphically
LICENSE= GPLv2
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
NO_BUILD= yes
USES= php
MYADMDIR?= www/data/scr_ipfm
PLIST_SUB= MYADMDIR=${MYADMDIR}
SUB_FILES= pkg-message
PORTDOCS= BUGS COPYING ChangeLog README README_pl THANKS TODO
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}