diff options
author | schmonz <schmonz> | 2010-03-15 17:28:10 +0000 |
---|---|---|
committer | schmonz <schmonz> | 2010-03-15 17:28:10 +0000 |
commit | ecee80b7bca33d5ab92a35ee8568c6ead9d6c8b0 (patch) | |
tree | 0774357fb6bdaebccbcaf2e982cc260fcdf2647b /net/ucspi-tcp | |
parent | bb99a428f53ad113bdb5c9f1e19c53101f661806 (diff) | |
download | pkgsrc-ecee80b7bca33d5ab92a35ee8568c6ead9d6c8b0.tar.gz |
DESTDIR support.
Diffstat (limited to 'net/ucspi-tcp')
-rw-r--r-- | net/ucspi-tcp/Makefile | 8 | ||||
-rw-r--r-- | net/ucspi-tcp/distinfo | 3 | ||||
-rw-r--r-- | net/ucspi-tcp/patches/patch-aa | 40 |
3 files changed, 47 insertions, 4 deletions
diff --git a/net/ucspi-tcp/Makefile b/net/ucspi-tcp/Makefile index 427315be356..e2e47c30877 100644 --- a/net/ucspi-tcp/Makefile +++ b/net/ucspi-tcp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.35 2009/05/19 09:07:14 wiz Exp $ +# $NetBSD: Makefile,v 1.36 2010/03/15 17:32:17 schmonz Exp $ DISTNAME= ucspi-tcp-0.88 PKGREVISION= 2 @@ -16,13 +16,15 @@ SITES.${MANPAGES}= http://smarden.org/pape/djb/manpages/ DJB_RESTRICTED= no +PKG_DESTDIR_SUPPORT= user-destdir PKG_INSTALLATION_TYPES= overwrite pkgviews INSTALLATION_DIRS= bin man ${PKGMANDIR}/man1 post-install: - cd ${WRKDIR}/*-man; for i in 1; do \ - for j in *.$$i; do ${INSTALL_MAN} $$j ${PREFIX}/${PKGMANDIR}/man$$i; done \ + cd ${WRKDIR}/${PKGNAME_NOREV}-man; for i in 1; do \ + for j in *.$$i; do ${INSTALL_MAN} $$j \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man$$i; done \ done .include "../../mk/djbware.mk" diff --git a/net/ucspi-tcp/distinfo b/net/ucspi-tcp/distinfo index ba19edcd6ab..58e5d9598e3 100644 --- a/net/ucspi-tcp/distinfo +++ b/net/ucspi-tcp/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.7 2007/02/02 13:00:36 schmonz Exp $ +$NetBSD: distinfo,v 1.8 2010/03/15 17:32:17 schmonz Exp $ SHA1 (rblsmtpd-nodefaultrbl.patch) = 5d6048b5928257c13ff5cbcddb40ed0eee9997c0 RMD160 (rblsmtpd-nodefaultrbl.patch) = fa93dd4522ccc77c5b43d0a79f741ae2ab54f075 @@ -9,3 +9,4 @@ Size (ucspi-tcp-0.88-man-20020317.tar.gz) = 7562 bytes SHA1 (ucspi-tcp-0.88.tar.gz) = 793b4189795b563085602c030dd8aa0d206ddc0e RMD160 (ucspi-tcp-0.88.tar.gz) = eb20085ea6ffd5d137a805f7c8768e0312c1f56a Size (ucspi-tcp-0.88.tar.gz) = 53019 bytes +SHA1 (patch-aa) = ce7aae99fcfa9d11a0050610153c802ac487cda2 diff --git a/net/ucspi-tcp/patches/patch-aa b/net/ucspi-tcp/patches/patch-aa new file mode 100644 index 00000000000..93bf021d86c --- /dev/null +++ b/net/ucspi-tcp/patches/patch-aa @@ -0,0 +1,40 @@ +$NetBSD: patch-aa,v 1.1 2010/03/15 17:32:17 schmonz Exp $ + +--- Makefile.orig 2000-03-18 15:18:42.000000000 +0000 ++++ Makefile +@@ -36,6 +36,14 @@ auto-str.o: \ + compile auto-str.c buffer.h readwrite.h exit.h + ./compile auto-str.c + ++auto_destdir.c: \ ++auto-str conf-destdir ++ ./auto-str auto_home `head -1 conf-destdir` > auto_destdir.c ++ ++auto_destdir.o: \ ++compile auto_destdir.c ++ ./compile auto_destdir.c ++ + auto_home.c: \ + auto-str conf-home + ./auto-str auto_home `head -1 conf-home` > auto_home.c +@@ -347,16 +355,16 @@ warn-auto.sh http@.sh conf-home + chmod 755 http@ + + install: \ +-load install.o hier.o auto_home.o unix.a byte.a +- ./load install hier.o auto_home.o unix.a byte.a ++load install.o hier.o auto_destdir.o unix.a byte.a ++ ./load install hier.o auto_destdir.o unix.a byte.a + + install.o: \ + compile install.c buffer.h strerr.h error.h open.h readwrite.h exit.h + ./compile install.c + + instcheck: \ +-load instcheck.o hier.o auto_home.o unix.a byte.a +- ./load instcheck hier.o auto_home.o unix.a byte.a ++load instcheck.o hier.o auto_destdir.o unix.a byte.a ++ ./load instcheck hier.o auto_destdir.o unix.a byte.a + + instcheck.o: \ + compile instcheck.c strerr.h error.h readwrite.h exit.h |