diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-12 02:14:13 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-12 02:14:13 +0000 |
commit | a459d6adc77b22d7efa499cea1bcfbae7c929a42 (patch) | |
tree | c12b9c282e2706cb6bac87456615dfdf2b256e55 /devel/pth | |
parent | 7854cf84ecbcc45c6b18092fadae7896937e468a (diff) | |
download | pkgsrc-a459d6adc77b22d7efa499cea1bcfbae7c929a42.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'devel/pth')
-rw-r--r-- | devel/pth/Makefile | 8 |
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" |