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 | ea16afc4510b811188c10f01cec4f25e64ff7270 (patch) | |
tree | f966bc11a0ae7125e97ab78ba9321795b597bd6f /print/poppler-qt | |
parent | b2a26824ff463e1e27af74e23a9b15f553dd216d (diff) | |
download | pkgsrc-ea16afc4510b811188c10f01cec4f25e64ff7270.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'print/poppler-qt')
-rw-r--r-- | print/poppler-qt/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/print/poppler-qt/Makefile b/print/poppler-qt/Makefile index 6c04fb669df..2c2da2e4dce 100644 --- a/print/poppler-qt/Makefile +++ b/print/poppler-qt/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2006/10/13 20:25:22 markd Exp $ +# $NetBSD: Makefile,v 1.15 2007/08/09 18:42:51 joerg Exp $ # .include "../../print/poppler/Makefile.common" @@ -12,6 +12,8 @@ PKGCONFIG_OVERRIDE+= ${WRKSRC}/poppler-qt.pc.in INCS=-I. -I.. -I../poppler `pkg-config poppler --cflags` -I${QTDIR}/include +INSTALLATION_DIRS+= lib include/poppler lib/pkgconfig + do-build: (cd ${WRKSRC}/qt; \ ${LIBTOOL} --tag=CXX --mode=compile ${CXX} ${CXXFLAGS} ${INCS} -c -o poppler-document.lo poppler-document.cc; \ @@ -25,13 +27,13 @@ do-build: ${WRKSRC}/poppler-qt.pc.in > ${WRKSRC}/poppler-qt.pc do-install: - ${LIBTOOL} --mode=install ${INSTALL_LIB} ${WRKSRC}/qt/libpoppler-qt.la ${PREFIX}/lib - ${INSTALL_DATA} ${WRKSRC}/qt/poppler-qt.h ${PREFIX}/include/poppler + ${LIBTOOL} --mode=install ${INSTALL_LIB} ${WRKSRC}/qt/libpoppler-qt.la ${DESTDIR}${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/qt/poppler-qt.h ${DESTDIR}${PREFIX}/include/poppler ${INSTALL_DATA} ${WRKSRC}/qt/poppler-page-transition.h \ - ${PREFIX}/include/poppler + ${DESTDIR}${PREFIX}/include/poppler ${INSTALL_DATA} ${WRKSRC}/qt/poppler-link-qt3.h \ - ${PREFIX}/include/poppler - ${INSTALL_DATA} ${WRKSRC}/poppler-qt.pc ${PREFIX}/lib/pkgconfig + ${DESTDIR}${PREFIX}/include/poppler + ${INSTALL_DATA} ${WRKSRC}/poppler-qt.pc ${DESTDIR}${PREFIX}/lib/pkgconfig BUILDLINK_API_DEPENDS.poppler+= poppler>=${POPPLER_VERS} .include "../../print/poppler/buildlink3.mk" |