summaryrefslogtreecommitdiff
path: root/devel/pth
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
commitba171a91fab519f587b027c1a2888cb6e3fce049 (patch)
treec12b9c282e2706cb6bac87456615dfdf2b256e55 /devel/pth
parent3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff)
downloadpkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz
Add DESTDIR support.
Diffstat (limited to 'devel/pth')
-rw-r--r--devel/pth/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/devel/pth/Makefile b/devel/pth/Makefile
index 5e74b2396d6..facac2c1a67 100644
--- a/devel/pth/Makefile
+++ b/devel/pth/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.69 2007/02/18 11:40:09 wiz Exp $
+# $NetBSD: Makefile,v 1.70 2008/06/12 02:14:28 joerg Exp $
#
DISTNAME= pth-2.0.7
@@ -12,6 +12,7 @@ COMMENT= GNU Portable Thread library
CONFLICTS= pth-current-[0-9]* pth-syscall<1.4.1nb1
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
USE_LIBTOOL= YES
GNU_CONFIGURE= YES
@@ -35,10 +36,11 @@ CONFIGURE_ENV+= ac_cv_check_nfdstype='unsigned int'
CONFIGURE_ENV+= ac_cv_typedef_nfds_t=no # in <poll.h>, but that's unused
.endif
+INSTALLATION_DIRS= share/doc/pth
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pth/
cd ${WRKSRC} && ${INSTALL_DATA} ANNOUNCE AUTHORS COPYING HACKING \
NEWS README SUPPORT TESTS THANKS USERS pthread.ps rse-pmt.ps \
- ${PREFIX}/share/doc/pth/
+ ${DESTDIR}${PREFIX}/share/doc/pth/
.include "../../mk/bsd.pkg.mk"