aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/docsis/Makefile
blob: 1dae1fda874c824e9a206c97c4ff09373d0d2da8 (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
# New ports collection makefile for:    docsis
# Date created:             Jul 5, 2002
# Whom:                 James Flemer <jflemer@acm.jhu.edu>
#
# $FreeBSD$
#

PORTNAME=   docsis
PORTVERSION=    0.9.5
PORTREVISION=   2
CATEGORIES= net-mgmt
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

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
USE_BISON=  build

PLIST_SUB=  MIBS=share/snmp/mibs

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.mk>