77f8276a88
- Use the version tag instead of commit hash when they're the same. - Remove unnneeded variables. - Simplify go- ports when possible. - Various fixes. Sponsored by: Absolight
32 lines
768 B
Makefile
32 lines
768 B
Makefile
# Created by: Gregory Edigarov <greg@bestnet.kharkov.ua>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= sflowtool
|
|
PORTVERSION= 3.37
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= net
|
|
|
|
MAINTAINER= ohauer@FreeBSD.org
|
|
COMMENT= sFlow capture and sFlow-to-NetFlow conversion tool
|
|
|
|
USES= autoreconf
|
|
GNU_CONFIGURE= yes
|
|
USE_RC_SUBR= ${PORTNAME}
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= sflow
|
|
|
|
PLIST_FILES= bin/sflowtool
|
|
PORTDOCS= README
|
|
PORTEXAMPLES= README ipTopTalkers ipTrafficMatrix sflowRRDChart.cgi \
|
|
sflowRRDLoad sflowenable
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-install:
|
|
@${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>
|