diff options
Diffstat (limited to 'net/sflowtool/Makefile')
-rw-r--r-- | net/sflowtool/Makefile | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/net/sflowtool/Makefile b/net/sflowtool/Makefile index a088de95b0a3..bfcdb1e2a90a 100644 --- a/net/sflowtool/Makefile +++ b/net/sflowtool/Makefile @@ -2,12 +2,12 @@ # $FreeBSD$ PORTNAME= sflowtool -PORTVERSION= 3.28 +PORTVERSION= 3.29 CATEGORIES= net MASTER_SITES= http://www.inmon.com/bin/ MAINTAINER= ohauer@FreeBSD.org -COMMENT= This is a sFlow capture and sFlow-to-NetFlow conversion tool +COMMENT= sFlow capture and sFlow-to-NetFlow conversion tool GNU_CONFIGURE= yes USE_RC_SUBR= ${PORTNAME} @@ -17,19 +17,12 @@ PORTDOCS= README PORTEXAMPLES= README ipTopTalkers ipTrafficMatrix sflowRRDChart.cgi \ sflowRRDLoad sflowenable -NO_STAGE= yes .include <bsd.port.options.mk> post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR} -.endif -.if ${PORT_OPTIONS:MEXAMPLES} - @${MKDIR} ${EXAMPLESDIR} -. for f in ${PORTEXAMPLES} - @${INSTALL_DATA} ${WRKSRC}/scripts/$f ${EXAMPLESDIR}/ -. endfor -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + @${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/scripts/|} ${STAGEDIR}${EXAMPLESDIR} .include <bsd.port.mk> |