summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-02-16 19:12:00 +0000
committerjoerg <joerg@pkgsrc.org>2009-02-16 19:12:00 +0000
commitecf7feebf8fb8de1f6967bb134f1f12dc36f2efb (patch)
tree950deea6baa27e406e7f6b0af1d43dbd2fd05113 /www
parent36ff59238e0bdff20ab5a26b2a110ae844afcff4 (diff)
downloadpkgsrc-ecf7feebf8fb8de1f6967bb134f1f12dc36f2efb.tar.gz
DESTDIR support
Diffstat (limited to 'www')
-rw-r--r--www/cgilib/Makefile4
-rw-r--r--www/cgilib/distinfo4
-rw-r--r--www/cgilib/patches/patch-ab22
3 files changed, 16 insertions, 14 deletions
diff --git a/www/cgilib/Makefile b/www/cgilib/Makefile
index 4fd3e354cab..17d0d24e9f5 100644
--- a/www/cgilib/Makefile
+++ b/www/cgilib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2007/07/09 21:51:30 minskim Exp $
+# $NetBSD: Makefile,v 1.16 2009/02/16 19:16:57 joerg Exp $
#
DISTNAME= cgilib-0.5
@@ -10,6 +10,8 @@ MAINTAINER= wulf@ping.net.au
HOMEPAGE= http://www.infodrom.org/projects/cgilib/
COMMENT= Common gateway interface library
+PKG_DESTDIR_SUPPORT= user-destdir
+
INSTALLATION_DIRS= include lib ${PKGMANDIR}/man3 ${PKGMANDIR}/man5
USE_LIBTOOL= yes
MAKE_ENV+= MANDIR=${PREFIX}/${PKGMANDIR}
diff --git a/www/cgilib/distinfo b/www/cgilib/distinfo
index 9c07a7734f0..9bc92e6df2b 100644
--- a/www/cgilib/distinfo
+++ b/www/cgilib/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.11 2006/11/12 01:51:52 rillig Exp $
+$NetBSD: distinfo,v 1.12 2009/02/16 19:16:57 joerg Exp $
SHA1 (cgilib-0.5.tar.gz) = 3ba65e9fac43b875427a126ebbaaa6155e9692df
RMD160 (cgilib-0.5.tar.gz) = 0188fc57aee277e772e32328b96aa836557c0c63
Size (cgilib-0.5.tar.gz) = 13991 bytes
SHA1 (patch-aa) = 9b92cde49f84a22d53044b230b05798dc90085ef
-SHA1 (patch-ab) = 6b19c14f162f27171d3edc631baae610090c1baa
+SHA1 (patch-ab) = 4e38d2665e14d3271c3ac296f3853c2a100c7617
SHA1 (patch-ac) = 3366b330d49ef8d61f26b06097c1e4e271f90728
SHA1 (patch-ad) = 94b9179073afd4494258ac72fed2d275415fb67d
diff --git a/www/cgilib/patches/patch-ab b/www/cgilib/patches/patch-ab
index 806f428f3e6..23c00c533f9 100644
--- a/www/cgilib/patches/patch-ab
+++ b/www/cgilib/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.9 2006/11/12 01:51:52 rillig Exp $
+$NetBSD: patch-ab,v 1.10 2009/02/16 19:16:57 joerg Exp $
--- Makefile.orig 1999-08-20 23:14:07.000000000 +0200
+++ Makefile 2006-11-12 02:49:34.000000000 +0100
@@ -51,17 +51,17 @@ $NetBSD: patch-ab,v 1.9 2006/11/12 01:51:52 rillig Exp $
done
+
+install:
-+ ${BSD_INSTALL_PROGRAM_DIR} ${PREFIX}/libexec/cgi-bin
-+ ${BSD_INSTALL_DATA_DIR} ${PREFIX}/share/examples/cgilib
-+ ${BSD_INSTALL_DATA} cgitest.c ${PREFIX}/share/examples/cgilib
-+ ${BSD_INSTALL_DATA} jumpto.c ${PREFIX}/share/examples/cgilib
-+ ${LIBTOOL} --mode=install ${BSD_INSTALL_LIB} libcgi.la ${PREFIX}/lib
-+ ${LIBTOOL} --mode=install ${BSD_INSTALL_PROGRAM} cgitest ${PREFIX}/libexec/cgi-bin
-+ ${LIBTOOL} --mode=install ${BSD_INSTALL_PROGRAM} jumpto ${PREFIX}/libexec/cgi-bin
-+ ${BSD_INSTALL_DATA} cgi.h ${PREFIX}/include
++ ${BSD_INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/libexec/cgi-bin
++ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/cgilib
++ ${BSD_INSTALL_DATA} cgitest.c ${DESTDIR}${PREFIX}/share/examples/cgilib
++ ${BSD_INSTALL_DATA} jumpto.c ${DESTDIR}${PREFIX}/share/examples/cgilib
++ ${LIBTOOL} --mode=install ${BSD_INSTALL_LIB} libcgi.la ${DESTDIR}${PREFIX}/lib
++ ${LIBTOOL} --mode=install ${BSD_INSTALL_PROGRAM} cgitest ${DESTDIR}${PREFIX}/libexec/cgi-bin
++ ${LIBTOOL} --mode=install ${BSD_INSTALL_PROGRAM} jumpto ${DESTDIR}${PREFIX}/libexec/cgi-bin
++ ${BSD_INSTALL_DATA} cgi.h ${DESTDIR}${PREFIX}/include
+ for i in *.3; do \
-+ ${BSD_INSTALL_MAN} $$i ${MANDIR}/man3/; \
++ ${BSD_INSTALL_MAN} $$i ${DESTDIR}${MANDIR}/man3/; \
+ done
+ for i in *.5; do \
-+ ${BSD_INSTALL_MAN} $$i ${MANDIR}/man5/; \
++ ${BSD_INSTALL_MAN} $$i ${DESTDIR}${MANDIR}/man5/; \
+ done