diff options
author | joerg <joerg@pkgsrc.org> | 2007-08-09 18:42:51 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-08-09 18:42:51 +0000 |
commit | 5466cc0a566233fdfb33b058cf5b5b86be4ca0a5 (patch) | |
tree | f966bc11a0ae7125e97ab78ba9321795b597bd6f /print/poppler | |
parent | 56e90492a0114b34aa987bc4d29ad7ce59924750 (diff) | |
download | pkgsrc-5466cc0a566233fdfb33b058cf5b5b86be4ca0a5.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'print/poppler')
-rw-r--r-- | print/poppler/Makefile | 9 | ||||
-rw-r--r-- | print/poppler/Makefile.common | 4 |
2 files changed, 7 insertions, 6 deletions
diff --git a/print/poppler/Makefile b/print/poppler/Makefile index 691f1a51b60..98379c37de5 100644 --- a/print/poppler/Makefile +++ b/print/poppler/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2007/08/02 14:41:18 drochner Exp $ +# $NetBSD: Makefile,v 1.22 2007/08/09 18:42:51 joerg Exp $ # .include "../../print/poppler/Makefile.common" @@ -14,7 +14,7 @@ PKGCONFIG_OVERRIDE+= ${WRKSRC}/poppler-splash.pc.in PKGCONFIG_OVERRIDE+= ${WRKSRC}/poppler.pc.in GNU_CONFIGURE= yes -INSTALLATION_DIRS+= share/doc/poppler +INSTALLATION_DIRS+= include/poppler share/doc/poppler CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} # TODO: Later add an option to choose Splash versus Cairo backend. @@ -38,9 +38,8 @@ CONFIGURE_ARGS+= --enable-a4-paper .endif post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/include/poppler - ${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/poppler/ - ${INSTALL_MAN} ${WRKSRC}/README-XPDF ${PREFIX}/share/doc/poppler/ + ${INSTALL_MAN} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/poppler/ + ${INSTALL_MAN} ${WRKSRC}/README-XPDF ${DESTDIR}${PREFIX}/share/doc/poppler/ .include "../../fonts/fontconfig/buildlink3.mk" .include "../../graphics/jpeg/buildlink3.mk" diff --git a/print/poppler/Makefile.common b/print/poppler/Makefile.common index 3f67e7f94ba..7c9ff2b7bca 100644 --- a/print/poppler/Makefile.common +++ b/print/poppler/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.7 2006/10/12 14:12:15 drochner Exp $ +# $NetBSD: Makefile.common,v 1.8 2007/08/09 18:42:51 joerg Exp $ # POPPLER_VERS= 0.5.4 @@ -9,6 +9,8 @@ MASTER_SITES= http://poppler.freedesktop.org/ MAINTAINER= reed@reedmedia.net HOMEPAGE= http://poppler.freedesktop.org/ +PKG_DESTDIR_SUPPORT= user-destdir + DISTINFO_FILE= ${.CURDIR}/../../print/poppler/distinfo PATCHDIR= ${.CURDIR}/../../print/poppler/patches |