summaryrefslogtreecommitdiff
path: root/net/docsis/Makefile
blob: 35c03ddf125c80064f74269e2a19702c602ee6ee (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
# $NetBSD: Makefile,v 1.3 2003/04/10 01:28:21 grant Exp $
#

DISTNAME=	docsis-0.7.5-RELEASE
PKGNAME=	${DISTNAME:S/-RELEASE//}
CATEGORIES=	net
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=docsis/}
EXTRACT_SUFX=	.tgz

MAINTAINER=	grant@netbsd.org
HOMEPAGE=	http://docsis.sourceforge.net/
COMMENT=	utility for manipulating DOCSIS-compliant cable modems

BUILD_DEPENDS+=	bison>=1.25:../../devel/bison
USE_BUILDLINK2=	# defined

ALL_TARGET=	docsis

do-install:
		${INSTALL_PROGRAM} ${WRKSRC}/docsis ${PREFIX}/bin
		${INSTALL_DATA_DIR} ${PREFIX}/share/doc/docsis
		${INSTALL_DATA} ${WRKSRC}/CHANGES ${PREFIX}/share/doc/docsis
		${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/docsis
		${INSTALL_DATA_DIR} ${PREFIX}/share/examples/docsis
		cd ${WRKSRC}/examples && ${PAX} -rw . ${PREFIX}/share/examples/docsis

.include "../../security/openssl/buildlink2.mk"
.include "../../net/ucd-snmp/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"