diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-29 17:59:06 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-29 17:59:06 +0000 |
commit | 2a6536c2b2f600639621c6820f1f7695955f7656 (patch) | |
tree | a94a5d5f0d886d6e7db73ee9a947f00027640430 /devel/hptools | |
parent | 0f4090d7436c5930e848275389d74ace3ad507a0 (diff) | |
download | pkgsrc-2a6536c2b2f600639621c6820f1f7695955f7656.tar.gz |
DESTDIR support
Diffstat (limited to 'devel/hptools')
-rw-r--r-- | devel/hptools/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/devel/hptools/Makefile b/devel/hptools/Makefile index a85747f6276..9a2a36dda2d 100644 --- a/devel/hptools/Makefile +++ b/devel/hptools/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2009/05/19 08:59:09 wiz Exp $ +# $NetBSD: Makefile,v 1.13 2010/01/29 18:08:25 joerg Exp $ # DISTNAME= hptools-src-3.0.8 @@ -11,6 +11,8 @@ HOMEPAGE= http://www.hpcalc.org/hp48/pc/programming/ COMMENT= SDK for Hewlett-Packard HP-48G/49G/39G/40G calculators LICENSE= hptools-license +PKG_DESTDIR_SUPPORT= user-destdir + RESTRICTED= Redistribution of unmodified source only; resale prohibited. NO_SRC_ON_CDROM= ${RESTRICTED} NO_BIN_ON_FTP= ${RESTRICTED} @@ -22,11 +24,14 @@ CONFIGURE_DIRS= support BUILD_DIRS= support USE_TOOLS+= pax +INSTALLATION_DIRS+= bin +INSTALL_MAKE_FLAGS+= bindir=${DESTDIR}${PREFIX}/bin + post-build: ${CHMOD} ${SHAREMODE} ${WRKSRC}/doc/* post-install: cd ${WRKSRC} \ - && pax -rw -pam -s ',^doc,hptools,g' doc ${PREFIX}/share/doc + && pax -rw -pam -s ',^doc,hptools,g' doc ${DESTDIR}${PREFIX}/share/doc .include "../../mk/bsd.pkg.mk" |