1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/net-mgmt/docsis/Makefile
Baptiste Daroussin 9250d94365 Convert USE_BISON to USES= bison
It brings bison as a build dependency in case it is set the following way:
USES= bison or USES= bison:build

it brings bison as a run dependency in case it is set the following way:
USES= bison:run

it brings bison both as a run and build dependency in case it the set the following way:
USES= bison:both

While here trim some headers
Convert some USE_GNOME= gnomehack to USES= pathfix
2013-03-08 11:32:11 +00:00

33 lines
813 B
Makefile

# Created by: James Flemer <jflemer@acm.jhu.edu>
# $FreeBSD$
PORTNAME= docsis
PORTVERSION= 0.9.5
PORTREVISION= 5
CATEGORIES= net-mgmt
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= jflemer@alum.rpi.edu
COMMENT= DOCSIS(tm) binary configuration file encoder/decoder
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
LIB_DEPENDS= netsnmp:${PORTSDIR}/net-mgmt/net-snmp
GNU_CONFIGURE= yes
USE_OPENSSL= yes
USES= bison
PLIST_SUB= MIBS=share/snmp/mibs
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"
BROKEN= Produces corrupt files on amd64
.endif
post-patch:
@${REINPLACE_CMD} -e 's|^htmldocdir =.*|htmldocdir = ${DOCSDIR}|' ${WRKSRC}/doc/Makefile.in
@${REINPLACE_CMD} -e 's|^examplesdir =.*|examplesdir = ${EXAMPLESDIR}|' ${WRKSRC}/examples/Makefile.in
.include <bsd.port.post.mk>