diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-12 02:14:13 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-12 02:14:13 +0000 |
commit | ba171a91fab519f587b027c1a2888cb6e3fce049 (patch) | |
tree | c12b9c282e2706cb6bac87456615dfdf2b256e55 /print/pdflib-lite | |
parent | 3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff) | |
download | pkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'print/pdflib-lite')
-rw-r--r-- | print/pdflib-lite/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/print/pdflib-lite/Makefile b/print/pdflib-lite/Makefile index f70f10c0a5c..7db545f0d10 100644 --- a/print/pdflib-lite/Makefile +++ b/print/pdflib-lite/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2008/05/15 20:06:03 drochner Exp $ +# $NetBSD: Makefile,v 1.2 2008/06/12 02:14:43 joerg Exp $ # DISTNAME= PDFlib-Lite-7.0.3 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.pdflib.com/ COMMENT= C library to produce PDF files +PKG_DESTDIR_SUPPORT= user-destdir + CONFLICTS+= pdflib-[0-9]* GNU_CONFIGURE= yes @@ -19,13 +21,14 @@ CONFIGURE_ARGS+= --with-tcl=no DOCDIR= ${PREFIX}/share/doc/pdflib +INSTALLATION_DIRS= ${DOCDIR} + post-install: - ${INSTALL_DATA_DIR} ${DOCDIR} cd ${WRKSRC}/doc/pdflib; for file in \ PDFlib-Lite-license.pdf \ PDFlib-API-reference.pdf; \ do \ - ${INSTALL_DATA} $${file} ${DOCDIR}; \ + ${INSTALL_DATA} $${file} ${DESTDIR}${DOCDIR}; \ done .include "../../mk/bsd.pkg.mk" |