diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 17:57:17 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 17:57:17 +0000 |
commit | a80fd13efc426f96e55870df48a2030daea0f14b (patch) | |
tree | ea772f1017a149bdf8c86107c24d16246695614e /mail/columba | |
parent | 31c6c3a796edf9dd9bae5586339c5e2e023ca408 (diff) | |
download | pkgsrc-a80fd13efc426f96e55870df48a2030daea0f14b.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'mail/columba')
-rw-r--r-- | mail/columba/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/mail/columba/Makefile b/mail/columba/Makefile index ae3693527a9..3550473e677 100644 --- a/mail/columba/Makefile +++ b/mail/columba/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2007/02/22 19:26:40 wiz Exp $ +# $NetBSD: Makefile,v 1.15 2008/03/04 17:57:18 jlam Exp $ # DISTNAME= columba-unix-1.0_M2-bin @@ -12,6 +12,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://columba.sourceforge.net/ COMMENT= Graphical Email Client written in JAVA (TM) +PKG_DESTDIR_SUPPORT= user-destdir + NO_BUILD= yes USE_JAVA2= yes PKG_JVMS_ACCEPTED= sun-jdk13 sun-jdk14 jdk14 @@ -25,14 +27,14 @@ SUBST_SED.columba= -e 's,columba.jar,${PREFIX}/share/${PKGBASE}/columba.jar,' INSTALLATION_DIRS= bin do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/${PKGBASE}/lib - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${PKGBASE} - ${INSTALL_DATA} ${WRKSRC}/lib/* ${PREFIX}/share/${PKGBASE}/lib - ${INSTALL_DATA} ${WRKSRC}/columba.jar ${PREFIX}/share/${PKGBASE} + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/${PKGBASE}/lib + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} + ${INSTALL_DATA} ${WRKSRC}/lib/* ${DESTDIR}${PREFIX}/share/${PKGBASE}/lib + ${INSTALL_DATA} ${WRKSRC}/columba.jar ${DESTDIR}${PREFIX}/share/${PKGBASE} .for f in AUTHORS LICENSE CHANGES README - ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/${PKGBASE} + ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} .endfor - ${INSTALL_SCRIPT} ${WRKSRC}/run.sh ${PREFIX}/bin/columba + ${INSTALL_SCRIPT} ${WRKSRC}/run.sh ${DESTDIR}${PREFIX}/bin/columba .include "../../mk/java-vm.mk" .include "../../mk/bsd.pkg.mk" |