aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/docsis/Makefile
blob: ab7d3871028a70826b874c8f7559ef0015a97e3f (plain) (blame)
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
# 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>