summaryrefslogtreecommitdiff
path: root/net/xipdump
diff options
context:
space:
mode:
authorjoerg <joerg>2010-02-11 22:57:40 +0000
committerjoerg <joerg>2010-02-11 22:57:40 +0000
commit75db0a8d4d8c1b10e90f51a0827f26c0c9eabfac (patch)
tree892f24338b971c99ecdc3db1d871d95d58c28c61 /net/xipdump
parent99d44c5e24649baeca752737a9e4b5ec5e030970 (diff)
downloadpkgsrc-75db0a8d4d8c1b10e90f51a0827f26c0c9eabfac.tar.gz
DESTDIR support
Diffstat (limited to 'net/xipdump')
-rw-r--r--net/xipdump/Makefile14
-rw-r--r--net/xipdump/distinfo4
-rw-r--r--net/xipdump/patches/patch-ae4
3 files changed, 13 insertions, 9 deletions
diff --git a/net/xipdump/Makefile b/net/xipdump/Makefile
index 5e8929f3da9..6eb6163ad7d 100644
--- a/net/xipdump/Makefile
+++ b/net/xipdump/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2009/06/14 22:58:07 joerg Exp $
+# $NetBSD: Makefile,v 1.33 2010/02/11 23:18:29 joerg Exp $
#
DISTNAME= xipdump-1.5.4
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.lse.epita.fr/twiki/bin/view/Projects/XipDump
COMMENT= Displays IP packets using X Window System
+PKG_DESTDIR_SUPPORT= user-destdir
+
PLIST_SRC= ${WRKDIR}/PLIST
USE_X11BASE= yes
@@ -19,6 +21,8 @@ CFLAGS+= -I${PREFIX}/include
LIBS+= -L${PREFIX}/lib ${COMPILER_RPATH_FLAG}${PREFIX}/lib -lnet
INSTALLATION_DIRS= bin lib/X11/app-defaults ${PKGMANDIR}/man8
+INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \
+ mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}
post-build:
@${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
@@ -26,12 +30,12 @@ post-build:
${SED} -e 's|^|share/xipdump/|' >> ${PLIST_SRC})
post-install:
- ${FIND} ${PREFIX}/share/xipdump -name *.pkc | \
+ ${FIND} ${DESTDIR}${PREFIX}/share/xipdump -name *.pkc | \
${XARGS} ${CHMOD} ${DOCMODE}
- ${FIND} ${PREFIX}/share/xipdump -name *.pkt | \
+ ${FIND} ${DESTDIR}${PREFIX}/share/xipdump -name *.pkt | \
${XARGS} ${CHMOD} ${DOCMODE}
- ${CHMOD} ${MANMODE} ${PREFIX}/${PKGMANDIR}/man8/xipdump.8
- ${CHMOD} ${SHAREMODE} ${PREFIX}/lib/X11/app-defaults/Xipdump
+ ${CHMOD} ${MANMODE} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/xipdump.8
+ ${CHMOD} ${SHAREMODE} ${DESTDIR}${PREFIX}/lib/X11/app-defaults/Xipdump
.include "../../devel/libnet10/buildlink3.mk"
.include "../../x11/libXaw/buildlink3.mk"
diff --git a/net/xipdump/distinfo b/net/xipdump/distinfo
index 0b00ac9d81b..fbcbe6dfb90 100644
--- a/net/xipdump/distinfo
+++ b/net/xipdump/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2006/02/24 01:34:36 joerg Exp $
+$NetBSD: distinfo,v 1.6 2010/02/11 23:18:29 joerg Exp $
SHA1 (xipdump-1.5.4.tgz) = 8fa152cc9114fb3862a223be47e104394f00b250
RMD160 (xipdump-1.5.4.tgz) = 4202c4c3ac7a749d1b7a25caa9577a6529ee87df
@@ -7,5 +7,5 @@ SHA1 (patch-aa) = 4dc89157456a3d223456babcbdca4ac501b6a664
SHA1 (patch-ab) = 5018ade12779648836a866be510fc42af54162f2
SHA1 (patch-ac) = 71c25f1fe5bb52667902c5a10f2a56d8809eb560
SHA1 (patch-ad) = 0c7bd3c0be1bffe19a7823add4c5c2ae3ff29ba3
-SHA1 (patch-ae) = 57d725a8f458799dc2a9b68a897c7d4bd1b6d435
+SHA1 (patch-ae) = 7653b883f53ec90a231fa25d506f51f8cb75470a
SHA1 (patch-af) = 115aca8ae051caf44accb9b8d2a7acd691cd78fc
diff --git a/net/xipdump/patches/patch-ae b/net/xipdump/patches/patch-ae
index a2df5ffc720..912dd2e4d9d 100644
--- a/net/xipdump/patches/patch-ae
+++ b/net/xipdump/patches/patch-ae
@@ -1,4 +1,4 @@
-$NetBSD: patch-ae,v 1.1 2002/06/27 20:52:07 agc Exp $
+$NetBSD: patch-ae,v 1.2 2010/02/11 23:18:29 joerg Exp $
--- Makefile.in 2002/06/27 20:47:49 1.1
+++ Makefile.in 2002/06/27 20:49:00
@@ -7,7 +7,7 @@ $NetBSD: patch-ae,v 1.1 2002/06/27 20:52:07 agc Exp $
$(INSTALL) data/pkt/* $(datadir)/xipdump/pkt
$(INSTALL) data/pkc/* $(datadir)/xipdump/pkc
- $(INSTALL) Xipdump.ad @APP_DEFAULTS_DIR@/Xipdump
-+ $(INSTALL) Xipdump.ad @prefix@/lib/X11/app-defaults/Xipdump
++ $(INSTALL) Xipdump.ad ${DESTDIR}@prefix@/lib/X11/app-defaults/Xipdump
.SUFFIXES: .E .w