summaryrefslogtreecommitdiff
path: root/net/cdpd/Makefile
diff options
context:
space:
mode:
authoradrianp <adrianp>2007-02-18 18:54:23 +0000
committeradrianp <adrianp>2007-02-18 18:54:23 +0000
commit05ade75a50a4c25462452168056a22f6d867cd99 (patch)
treea288cb4f084a313d25d2e9502b986a29962bedb8 /net/cdpd/Makefile
parentfad411742e4801f7844ac7161cc3061582fbbd5e (diff)
downloadpkgsrc-05ade75a50a4c25462452168056a22f6d867cd99.tar.gz
buildlink updates and patches to handle the new libnet package structure
bump PKGREVISION
Diffstat (limited to 'net/cdpd/Makefile')
-rw-r--r--net/cdpd/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/net/cdpd/Makefile b/net/cdpd/Makefile
index 52eb092c757..7e1ef5676cc 100644
--- a/net/cdpd/Makefile
+++ b/net/cdpd/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.13 2007/01/07 09:14:02 rillig Exp $
+# $NetBSD: Makefile,v 1.14 2007/02/18 18:57:33 adrianp Exp $
#
DISTNAME= cdpd-1.0.2
-#PKGREVISION= 1
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://ftp.lexa.ru/pub/domestic/snar/
@@ -11,13 +11,17 @@ COMMENT= Simple daemon to send Cisco Discovery Protocol packets
GNU_CONFIGURE= YES
-BUILDLINK_API_DEPENDS.libnet+= libnet-1.0.*
-
INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin
+SUBST_CLASSES+= conf
+SUBST_STAGE.conf= pre-configure
+SUBST_FILES.conf= configure
+SUBST_SED.conf= -e "s|libnet-config|libnet10-config|g"
+SUBST_MESSAGE.conf= Fixing configuration script.
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cdpd ${PREFIX}/sbin/cdpd
${INSTALL_DATA} ${WRKSRC}/cdpd.8 ${PREFIX}/${PKGMANDIR}/man8/cdpd.8
-.include "../../devel/libnet/buildlink3.mk"
+.include "../../devel/libnet10/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"