aboutsummaryrefslogtreecommitdiffstats
path: root/net/scr_ipfm
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-08-27 22:03:15 +0800
committervanilla <vanilla@FreeBSD.org>2014-08-27 22:03:15 +0800
commit8941267939e84b7f5c7c06e1ab0a408499f39cde (patch)
tree327f744a306fb2f2b08b4a852ca2166dd67bcaa2 /net/scr_ipfm
parent5f475bce6d97753ebf9a88906622e1a8f4d2b4cd (diff)
downloadfreebsd-ports-gnome-8941267939e84b7f5c7c06e1ab0a408499f39cde.tar.gz
freebsd-ports-gnome-8941267939e84b7f5c7c06e1ab0a408499f39cde.tar.zst
freebsd-ports-gnome-8941267939e84b7f5c7c06e1ab0a408499f39cde.zip
1: Stagify.
2: add LICENSE & LICENSE_FILE
Diffstat (limited to 'net/scr_ipfm')
-rw-r--r--net/scr_ipfm/Makefile17
-rw-r--r--net/scr_ipfm/files/pkg-message.in (renamed from net/scr_ipfm/pkg-message)2
2 files changed, 10 insertions, 9 deletions
diff --git a/net/scr_ipfm/Makefile b/net/scr_ipfm/Makefile
index 4b3350fb63be..766105da5d9e 100644
--- a/net/scr_ipfm/Makefile
+++ b/net/scr_ipfm/Makefile
@@ -9,22 +9,23 @@ 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
+
NO_BUILD= yes
USE_PHP= yes
MYADMDIR?= www/data/scr_ipfm
PLIST_SUB= MYADMDIR=${MYADMDIR}
+SUB_FILES= pkg-message
PORTDOCS= BUGS COPYING ChangeLog README README_pl THANKS TODO
+OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
do-install:
- @${MKDIR} ${PREFIX}/${MYADMDIR}
- ${CP} -R ${WRKSRC}/[a-z]* ${PREFIX}/${MYADMDIR}
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${MYADMDIR}
+ ${CP} -R ${WRKSRC}/[a-z]* ${STAGEDIR}${PREFIX}/${MYADMDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
- @${CAT} ${PKGMESSAGE}
-.endif
.include <bsd.port.mk>
diff --git a/net/scr_ipfm/pkg-message b/net/scr_ipfm/files/pkg-message.in
index 1900ba73b7a2..7e1d2851cbbf 100644
--- a/net/scr_ipfm/pkg-message
+++ b/net/scr_ipfm/files/pkg-message.in
@@ -1,3 +1,3 @@
-------------------------------------------------------------------
-You may need to read ${PORTDOCS}/README to configure scr_ipfm
+You may need to read %%DOCSDIR%%/README to configure scr_ipfm
-------------------------------------------------------------------