summaryrefslogtreecommitdiff
path: root/net/docsis/Makefile
blob: 06e6eb3d4f2d428ab40532401afccb1bd661c546 (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
# $NetBSD: Makefile,v 1.6 2003/11/12 03:39:41 jschauma Exp $
#

DISTNAME=	docsis-0.7.5-RELEASE
PKGNAME=	${DISTNAME:S/-RELEASE//}
PKGREVISION=	1
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"