aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/docsis/Makefile
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2018-08-15 12:49:38 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2018-08-15 12:49:38 +0000
commit308c03e75c535742187944c6f32ee33d349c79ff (patch)
tree5466f860b468d091ba45f5c0d0e45b848fbf7755 /net-mgmt/docsis/Makefile
parent030713fa2668588345288093ffa5ef015b2f5001 (diff)
downloadports-308c03e75c535742187944c6f32ee33d349c79ff.tar.gz
ports-308c03e75c535742187944c6f32ee33d349c79ff.zip
Notes
Diffstat (limited to 'net-mgmt/docsis/Makefile')
-rw-r--r--net-mgmt/docsis/Makefile21
1 files changed, 12 insertions, 9 deletions
diff --git a/net-mgmt/docsis/Makefile b/net-mgmt/docsis/Makefile
index 4732594cd425..cbaa0314ac5e 100644
--- a/net-mgmt/docsis/Makefile
+++ b/net-mgmt/docsis/Makefile
@@ -2,33 +2,36 @@
# $FreeBSD$
PORTNAME= docsis
-PORTVERSION= 0.9.6
+PORTVERSION= 0.9.8
CATEGORIES= net-mgmt
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Binary configuration file encoder/decoder
LICENSE= GPLv2+
-BUILD_DEPENDS= gm4:devel/m4
-LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp
+BUILD_DEPENDS= gm4:devel/m4 \
+ flex:textproc/flex
+LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp \
+ libpkg.so:ports-mgmt/pkg
+USES= autoreconf bison libtool ssl
+USE_GITHUB= yes
GNU_CONFIGURE= yes
-USES= bison ssl
PLIST_SUB= MIBS=share/snmp/mibs
-BROKEN_amd64= Produces corrupt files on amd64
-
OPTIONS_DEFINE= DOCS EXAMPLES
+GH_ACCOUNT= rlaager
+GH_TAGNAME= upstream/${PORTVERSION}
+
post-patch:
@${REINPLACE_CMD} -e \
'/^htmldocdir/s|share/docsis|share/doc/docsis|' \
- ${WRKSRC}/doc/Makefile.in
+ ${WRKSRC}/doc/Makefile.am
@${REINPLACE_CMD} -e \
'/^examplesdir/s|docsis/examples|examples/docsis|' \
- ${WRKSRC}/examples/Makefile.in
+ ${WRKSRC}/examples/Makefile.am
.include <bsd.port.mk>