aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/docsis/Makefile
blob: 792eb79af26df87d74a2520fc35fd03e791ec503 (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
33
34
35
# 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:${PORTSDIR}/devel/m4
LIB_DEPENDS=    libnetsnmp.so:${PORTSDIR}/net-mgmt/net-snmp

GNU_CONFIGURE=  yes
USE_OPENSSL=    yes
USES=       bison

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>