diff options
author | jlam <jlam> | 2008-03-03 18:25:52 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-03 18:25:52 +0000 |
commit | 3d81effabfcbab5f1fe7b559a3b6f6d5f452285e (patch) | |
tree | 94991d2182e36c43f4a6dac0f35a6023230a4d45 /editors/jde | |
parent | db9434603719ac10a2850a15ce7013bca33811d2 (diff) | |
download | pkgsrc-3d81effabfcbab5f1fe7b559a3b6f6d5f452285e.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'editors/jde')
-rw-r--r-- | editors/jde/Makefile | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/editors/jde/Makefile b/editors/jde/Makefile index 843bd2e76a6..e916af711b1 100644 --- a/editors/jde/Makefile +++ b/editors/jde/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2007/07/05 18:21:20 jnemeth Exp $ +# $NetBSD: Makefile,v 1.23 2008/03/03 18:25:52 jlam Exp $ # DISTNAME= jde-2.3.2 @@ -18,6 +18,8 @@ DEPENDS+= ${EMACS_PKGNAME_PREFIX}eieio>=0.17:../../lang/eieio DEPENDS+= ${EMACS_PKGNAME_PREFIX}semantic>=1.4rc13:../../devel/semantic DEPENDS+= ${EMACS_PKGNAME_PREFIX}elib>=1.0:../../devel/elib +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/${DISTNAME}/lisp .include "../../mk/emacs.mk" @@ -38,17 +40,19 @@ post-extract: @${RMDIR} ${WRKDIR}/${DISTNAME}/java/classes do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/jde - ${INSTALL_DATA_DIR} ${PREFIX}/share/jde - ${INSTALL_DATA_DIR} ${EMACS_LISPPREFIX}/jde + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/jde + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/jde + ${INSTALL_DATA_DIR} ${DESTDIR}${EMACS_LISPPREFIX}/jde cd ${WRKDIR}/${DISTNAME}/doc && \ ${PAX} -s',^src.*,,' -s',.*\.nosearch.*,,' \ - -rw * ${PREFIX}/share/doc/jde + -rw * ${DESTDIR}${PREFIX}/share/doc/jde cd ${WRKDIR}/${DISTNAME} && \ ${PAX} -s',^java/classes.*,,' -s',^java/src.*,,' \ - -s',.*\.nosearch.*,,' -rw java ${PREFIX}/share/jde + -s',.*\.nosearch.*,,' -rw java \ + ${DESTDIR}${PREFIX}/share/jde cd ${WRKDIR}/${DISTNAME} && \ - ${PAX} -rw -s ',.*\.orig$$,,' lisp ${EMACS_LISPPREFIX}/jde + ${PAX} -rw -s ',.*\.orig$$,,' lisp \ + ${DESTDIR}${EMACS_LISPPREFIX}/jde .include "../../mk/java-vm.mk" .include "../../mk/bsd.pkg.mk" |