diff options
author | joerg <joerg@pkgsrc.org> | 2009-07-07 19:07:35 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-07-07 19:07:35 +0000 |
commit | 2782d582db98b063a3a938f280b3c0113e02c1b9 (patch) | |
tree | 23fbe46a07f5b0c97a756a381fb9a769777b8600 /www/jalbum | |
parent | 312a5d61fba641f21356a6bcd56e37c1813e51ed (diff) | |
download | pkgsrc-2782d582db98b063a3a938f280b3c0113e02c1b9.tar.gz |
user-destdir support
Diffstat (limited to 'www/jalbum')
-rw-r--r-- | www/jalbum/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/www/jalbum/Makefile b/www/jalbum/Makefile index 768fdce1bfe..0bdc49aa5e6 100644 --- a/www/jalbum/Makefile +++ b/www/jalbum/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2009/05/12 12:27:20 martti Exp $ +# $NetBSD: Makefile,v 1.22 2009/07/07 19:07:35 joerg Exp $ DISTNAME= JAlbum${VERSION} PKGNAME= jalbum-${VERSION} @@ -13,6 +13,8 @@ HOMEPAGE= http://jalbum.net/ COMMENT= Web photo album generator LICENSE= gnu-lgpl-v2 +PKG_DESTDIR_SUPPORT= user-destdir + VERSION= 7.1 USE_JAVA= run @@ -30,8 +32,8 @@ do-build: < ${FILESDIR:Q}/jalbum > ${WRKDIR:Q}/jalbum do-install: - ${INSTALL_SCRIPT} ${WRKDIR:Q}/jalbum ${PREFIX:Q}/bin - (cd ${WRKDIR:Q}/JAlbum && pax -rw * ${PREFIX:Q}/share/jalbum) + ${INSTALL_SCRIPT} ${WRKDIR:Q}/jalbum ${DESTDIR}${PREFIX}/bin + (cd ${WRKDIR:Q}/JAlbum && pax -rw * ${DESTDIR}${PREFIX}/share/jalbum) .include "../../mk/java-vm.mk" .include "../../mk/bsd.pkg.mk" |