diff options
author | joerg <joerg> | 2007-08-17 22:18:15 +0000 |
---|---|---|
committer | joerg <joerg> | 2007-08-17 22:18:15 +0000 |
commit | 199bde978f34d6132cd61e733ce8713ecfad2584 (patch) | |
tree | bf4300c5aa4e2fd1dd6e412dc1a36d81f0214ba0 | |
parent | 149ee2aacc98bd6757e533c18aa41f2ceca2808a (diff) | |
download | pkgsrc-199bde978f34d6132cd61e733ce8713ecfad2584.tar.gz |
Add DESTDIR support.
-rw-r--r-- | graphics/jasper/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/graphics/jasper/Makefile b/graphics/jasper/Makefile index 74af0552dfc..ea3139501e9 100644 --- a/graphics/jasper/Makefile +++ b/graphics/jasper/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.26 2007/08/12 21:53:42 salo Exp $ +# $NetBSD: Makefile,v 1.27 2007/08/17 22:18:15 joerg Exp $ DISTNAME= jasper-1.900.1 PKGREVISION= 1 @@ -11,6 +11,7 @@ HOMEPAGE= http://www.ece.uvic.ca/~mdadams/jasper/ COMMENT= Software-based reference implementation of the JPEG-2000 codec PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir USE_LANGUAGES= c99 USE_LIBTOOL= yes @@ -20,9 +21,8 @@ CONFIGURE_ARGS+= --enable-shared --without-x --disable-opengl INSTALLATION_DIRS+= share/doc/jasper post-install: -.for doc in jasper jpeg2000 - ${INSTALL_DATA} ${WRKSRC}/doc/${doc}.pdf ${PREFIX}/share/doc/jasper -.endfor + ${INSTALL_DATA} ${WRKSRC}/doc/jasper.pdf ${DESTDIR}${PREFIX}/share/doc/jasper + ${INSTALL_DATA} ${WRKSRC}/doc/jpeg2000.pdf ${DESTDIR}${PREFIX}/share/doc/jasper .include "../../graphics/jpeg/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |