summaryrefslogtreecommitdiff
path: root/print/pdflib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/pdflib/Makefile')
-rw-r--r--print/pdflib/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/print/pdflib/Makefile b/print/pdflib/Makefile
index 9b138f357ef..b354414b120 100644
--- a/print/pdflib/Makefile
+++ b/print/pdflib/Makefile
@@ -1,4 +1,6 @@
-# $NetBSD: Makefile,v 1.24 2006/04/17 14:52:11 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2008/06/12 02:14:43 joerg Exp $
+
+PKG_DESTDIR_SUPPORT= user-destdir
.include "Makefile.common"
@@ -11,14 +13,15 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews
BUILD_TARGET= pdflib
DOCDIR= ${PREFIX}/share/doc/pdflib
+INSTALLATION_DIRS+= ${DOCDIR}
+
post-install:
- ${INSTALL_DATA_DIR} ${DOCDIR}
cd ${WRKSRC}/doc; for file in \
PDFlib-license.pdf \
PDFlib-manual.pdf \
aladdin-license.pdf; \
do \
- ${INSTALL_DATA} $${file} ${DOCDIR}; \
+ ${INSTALL_DATA} $${file} ${DESTDIR}${DOCDIR}; \
done
.include "../../mk/bsd.pkg.mk"