diff options
author | obache <obache@pkgsrc.org> | 2009-12-09 11:22:27 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2009-12-09 11:22:27 +0000 |
commit | 4c417fcada56ee101baf3885fc06c6525a5bcde3 (patch) | |
tree | 44cc6fb4b2187ff57d20fb3bf501433f2071b0cb /devel | |
parent | a34a7070ddca3be0d75448c15f7ce9fae108f9e3 (diff) | |
download | pkgsrc-4c417fcada56ee101baf3885fc06c6525a5bcde3.tar.gz |
* add user-destdir support
* set LICENSE=2-clause-bsd
* some cosmetic fixes
Diffstat (limited to 'devel')
-rw-r--r-- | devel/libnet10/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/devel/libnet10/Makefile b/devel/libnet10/Makefile index b09cce88c73..73059afa35c 100644 --- a/devel/libnet10/Makefile +++ b/devel/libnet10/Makefile @@ -1,17 +1,19 @@ -# $NetBSD: Makefile,v 1.2 2007/03/02 09:26:10 adrianp Exp $ +# $NetBSD: Makefile,v 1.3 2009/12/09 11:22:27 obache Exp $ # DISTNAME= libnet-1.0.2a -PKGREVISION= 1 PKGNAME= ${DISTNAME:S/libnet/libnet10/} +PKGREVISION= 1 CATEGORIES= devel net MASTER_SITES= http://www.packetfactory.net/libnet/dist/deprecated/ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.packetfactory.net/libnet/ COMMENT= C library for portable packet creation and injection +LICENSE= 2-clause-bsd PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir CONFLICTS= libnet-[0-9]* WRKSRC= ${WRKDIR}/${DISTNAME:C/l/L/} @@ -33,8 +35,8 @@ post-extract: ${CHMOD} -R a+r ${WRKSRC}/doc post-install: - ${CHMOD} ${SHAREMODE} ${PREFIX}/include/libnet10/libnet.h - ${CHMOD} ${SHAREMODE} ${PREFIX}/include/libnet10/libnet/*.h - ${CHMOD} ${MANMODE} ${PREFIX}/${PKGMANDIR}/man3/libnet10.3 + ${CHMOD} ${SHAREMODE} ${DESTDIR}${PREFIX}/include/libnet10/libnet.h + ${CHMOD} ${SHAREMODE} ${DESTDIR}${PREFIX}/include/libnet10/libnet/*.h + ${CHMOD} ${MANMODE} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man3/libnet10.3 .include "../../mk/bsd.pkg.mk" |