summaryrefslogtreecommitdiffstats
path: root/net-mgmt/docsis/Makefile
blob: 4732594cd425dae8b15779e7f5f47e19ba4f71ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Created by: James Flemer <jflemer@acm.jhu.edu>
# $FreeBSD$

PORTNAME=	docsis
PORTVERSION=	0.9.6
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

GNU_CONFIGURE=	yes
USES=		bison ssl

PLIST_SUB=	MIBS=share/snmp/mibs

BROKEN_amd64=	Produces corrupt files on amd64

OPTIONS_DEFINE=	DOCS EXAMPLES

post-patch:
	@${REINPLACE_CMD} -e \
		'/^htmldocdir/s|share/docsis|share/doc/docsis|' \
		${WRKSRC}/doc/Makefile.in
	@${REINPLACE_CMD} -e \
		'/^examplesdir/s|docsis/examples|examples/docsis|' \
		${WRKSRC}/examples/Makefile.in

.include <bsd.port.mk>
OpenPOWER on IntegriCloud