1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
freebsd-ports/net-mgmt/docsis/Makefile
Baptiste Daroussin 56a6c38e8d Drop build dependency on GNU m4.
m4 from base is able to do the job, if properly wrapped to mimic GNU m4

Differential Revision:	https://reviews.freebsd.org/D21835
2019-10-01 14:35:23 +00:00

39 lines
813 B
Makefile

# Created by: James Flemer <jflemer@acm.jhu.edu>
# $FreeBSD$
PORTNAME= docsis
PORTVERSION= 0.9.8
DISTVERSIONPREFIX= upstream/
CATEGORIES= net-mgmt
MAINTAINER= plcmaechler@gmail.com
COMMENT= Binary configuration file encoder/decoder
LICENSE= GPLv2+
BUILD_DEPENDS= 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
MAKE_JOBS_UNSAFE= yes
BINARY_WRAPPERS= gm4
PLIST_SUB= MIBS=share/snmp/mibs
OPTIONS_DEFINE= DOCS EXAMPLES
GH_ACCOUNT= rlaager
post-patch:
@${REINPLACE_CMD} -e \
'/^htmldocdir/s|share/docsis|share/doc/docsis|' \
${WRKSRC}/doc/Makefile.am
@${REINPLACE_CMD} -e \
'/^examplesdir/s|docsis/examples|examples/docsis|' \
${WRKSRC}/examples/Makefile.am
.include <bsd.port.mk>