aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-08-27 14:03:15 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-08-27 14:03:15 +0000
commit0a5be4e3e233bc45bb1bb8f494ad33a5e76f9b72 (patch)
tree327f744a306fb2f2b08b4a852ca2166dd67bcaa2
parentef2a0dcda5efdb255c34bc0b62655cb3e0205890 (diff)
downloadports-0a5be4e3e233bc45bb1bb8f494ad33a5e76f9b72.tar.gz
ports-0a5be4e3e233bc45bb1bb8f494ad33a5e76f9b72.zip
Notes
-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
-------------------------------------------------------------------