diff options
author | abs <abs@pkgsrc.org> | 2009-12-17 21:43:16 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2009-12-17 21:43:16 +0000 |
commit | ed0a5b1e11cde21a87845671b2427c7cc90fbb38 (patch) | |
tree | 91619a4b292e044c067c6d9f2fabbaee4ec57ca5 /comms | |
parent | c831bb948eda435c0fd91f3211998703f920e739 (diff) | |
download | pkgsrc-ed0a5b1e11cde21a87845671b2427c7cc90fbb38.tar.gz |
PKG_DESTDIR_SUPPORT
Diffstat (limited to 'comms')
-rw-r--r-- | comms/snooper/Makefile | 8 | ||||
-rw-r--r-- | comms/snooper/distinfo | 7 | ||||
-rw-r--r-- | comms/snooper/patches/patch-aa | 8 | ||||
-rw-r--r-- | comms/snooper/patches/patch-ab | 4 | ||||
-rw-r--r-- | comms/snooper/patches/patch-ac | 15 |
5 files changed, 30 insertions, 12 deletions
diff --git a/comms/snooper/Makefile b/comms/snooper/Makefile index 039ee392f47..048f1459edd 100644 --- a/comms/snooper/Makefile +++ b/comms/snooper/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2007/11/17 13:40:16 wiz Exp $ +# $NetBSD: Makefile,v 1.25 2009/12/17 21:43:16 abs Exp $ DISTNAME= snooper-19991202 PKGREVISION= 1 @@ -13,11 +13,13 @@ GNU_CONFIGURE= yes CONFIGURE_DIRS= build BUILD_DIRS= build +INSTALLATION_DIRS+= share/doc/snooper +PKG_DESTDIR_SUPPORT= destdir + post-extract: ${RM} ${WRKSRC}/build/.depend post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/snooper - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/snooper + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/snooper .include "../../mk/bsd.pkg.mk" diff --git a/comms/snooper/distinfo b/comms/snooper/distinfo index b75cfa7fcf0..0c3af785444 100644 --- a/comms/snooper/distinfo +++ b/comms/snooper/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.6 2005/12/27 13:51:27 joerg Exp $ +$NetBSD: distinfo,v 1.7 2009/12/17 21:43:16 abs Exp $ SHA1 (snooper-19991202.tar.gz) = d6aba20cd14449d7b126f393cdb219fd627b7777 RMD160 (snooper-19991202.tar.gz) = 52d61dea95cac246afd5815bc32f31448f9c757b Size (snooper-19991202.tar.gz) = 38239 bytes -SHA1 (patch-aa) = c7acf77a2c47bed8eb228f136457bfeb82eceb1f -SHA1 (patch-ab) = c3f0980adedd02d723dc2d4636460f6edd7c0538 +SHA1 (patch-aa) = eb458977300b991f100b2f48a87add2a3dd4d7cb +SHA1 (patch-ab) = 4c6fb6ec3825b8c47006fc0817c13caf9a817091 +SHA1 (patch-ac) = b8d9af5de5fb5b73a2f3a6a5679028c5145048a5 diff --git a/comms/snooper/patches/patch-aa b/comms/snooper/patches/patch-aa index 8ca902a6c53..af90ad55524 100644 --- a/comms/snooper/patches/patch-aa +++ b/comms/snooper/patches/patch-aa @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.2 2005/11/03 20:01:20 rillig Exp $ +$NetBSD: patch-aa,v 1.3 2009/12/17 21:43:17 abs Exp $ ---- src/scrn.c.orig 1998-08-12 16:32:02.000000000 +0200 -+++ src/scrn.c 2004-06-30 01:38:04.000000000 +0200 -@@ -33,7 +33,7 @@ +--- src/scrn.c.orig 1998-08-12 14:32:02.000000000 +0000 ++++ src/scrn.c +@@ -33,7 +33,7 @@ hdl_sigwinch(sig) #ifdef TIOCGWINSZ struct winsize win; diff --git a/comms/snooper/patches/patch-ab b/comms/snooper/patches/patch-ab index 131e7a88f42..857b69b6344 100644 --- a/comms/snooper/patches/patch-ab +++ b/comms/snooper/patches/patch-ab @@ -1,6 +1,6 @@ -$NetBSD: patch-ab,v 1.1 2005/12/27 13:51:27 joerg Exp $ +$NetBSD: patch-ab,v 1.2 2009/12/17 21:43:17 abs Exp $ ---- src/uucplock.c.orig 2005-12-23 16:22:29.000000000 +0000 +--- src/uucplock.c.orig 1999-12-02 03:12:46.000000000 +0000 +++ src/uucplock.c @@ -38,8 +38,9 @@ static char sccsid[] = "@(#)uucplock.c 5 #include "config.h" diff --git a/comms/snooper/patches/patch-ac b/comms/snooper/patches/patch-ac new file mode 100644 index 00000000000..ac6bb0990e1 --- /dev/null +++ b/comms/snooper/patches/patch-ac @@ -0,0 +1,15 @@ +$NetBSD: patch-ac,v 1.1 2009/12/17 21:43:17 abs Exp $ + +--- build/Makefile.in.orig 1998-08-12 14:31:56.000000000 +0000 ++++ build/Makefile.in +@@ -29,8 +29,8 @@ depend: + mkdep ${CFLAGS:M-[ID]*} $(srcdir)/src/*.c + + install: +- [ -d $(bindir) ] || (mkdir $(bindir)) +- $(INSTALL) -s -o uucp -g bin -m 4555 snooper $(bindir) ++ [ -d $(DESTDIR)$(bindir) ] || (mkdir $(DESTDIR)$(bindir)) ++ $(INSTALL) -s -o uucp -g bin -m 4555 snooper $(DESTDIR)$(bindir) + + clean: + -rm -f *.o *.core |