diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 16:38:11 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 16:38:11 +0000 |
commit | 8216d744ac7ee52a87a0c54540fc68d487f4ad1f (patch) | |
tree | 3b3e69289dd17a1030bb7365e1cb146dbfea41bd /lang/pforth | |
parent | 642995a0c4f1913cc6893865f1f5905084199dc1 (diff) | |
download | pkgsrc-8216d744ac7ee52a87a0c54540fc68d487f4ad1f.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'lang/pforth')
-rw-r--r-- | lang/pforth/Makefile | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/lang/pforth/Makefile b/lang/pforth/Makefile index e06e524623e..07cdfa2acf2 100644 --- a/lang/pforth/Makefile +++ b/lang/pforth/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2006/09/09 02:43:09 obache Exp $ +# $NetBSD: Makefile,v 1.20 2008/03/04 16:38:12 jlam Exp $ DISTNAME= pfthpc21 PKGNAME= pforth-21 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.softsynth.com/pforth/ COMMENT= Portable ANS-like Forth +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} USE_LANGUAGES= c++ USE_TOOLS+= gmake @@ -29,15 +31,16 @@ post-patch: > ${WRKSRC}/csrc/pf_main.c do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/pforth ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/lib/pforth - ${INSTALL_DATA} ${WRKSRC}/pforth.dic ${PREFIX}/lib/pforth - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pforth + ${INSTALL_PROGRAM} ${WRKSRC}/pforth ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/pforth + ${INSTALL_DATA} ${WRKSRC}/pforth.dic ${DESTDIR}${PREFIX}/lib/pforth + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/pforth ${INSTALL_DATA} ${WRKSRC}/readme.txt ${WRKSRC}/docs/* \ - ${PREFIX}/share/doc/pforth/ - ${INSTALL_DATA_DIR} ${PREFIX}/share/pforth - ${INSTALL_DATA} ${WRKSRC}/*.fth ${PREFIX}/share/pforth/ - ${INSTALL_DATA_DIR} ${PREFIX}/share/pforth/utils - ${INSTALL_DATA} ${WRKSRC}/utils/*.fth ${PREFIX}/share/pforth/utils/ + ${DESTDIR}${PREFIX}/share/doc/pforth/ + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/pforth + ${INSTALL_DATA} ${WRKSRC}/*.fth ${DESTDIR}${PREFIX}/share/pforth/ + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/pforth/utils + ${INSTALL_DATA} ${WRKSRC}/utils/*.fth \ + ${DESTDIR}${PREFIX}/share/pforth/utils/ .include "../../mk/bsd.pkg.mk" |