summaryrefslogtreecommitdiff
path: root/graphics/pstoedit
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
commitba171a91fab519f587b027c1a2888cb6e3fce049 (patch)
treec12b9c282e2706cb6bac87456615dfdf2b256e55 /graphics/pstoedit
parent3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff)
downloadpkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz
Add DESTDIR support.
Diffstat (limited to 'graphics/pstoedit')
-rw-r--r--graphics/pstoedit/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/graphics/pstoedit/Makefile b/graphics/pstoedit/Makefile
index 156c72e8875..9ac6f119388 100644
--- a/graphics/pstoedit/Makefile
+++ b/graphics/pstoedit/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2007/02/02 19:20:21 joerg Exp $
+# $NetBSD: Makefile,v 1.37 2008/06/12 02:14:32 joerg Exp $
DISTNAME= pstoedit-3.41
PKGREVISION= 2
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.pstoedit.net/
COMMENT= Convert PostScript / PDF into various vector graphic formats
+PKG_DESTDIR_SUPPORT= user-destdir
+
RESTRICTED?= "The author writes: If you include this program on a CDROM, please send me a copy of the CD, or if it goes with a book, of the book."
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
@@ -31,13 +33,13 @@ DOCDIR= ${PREFIX}/share/doc/pstoedit
HTMLDIR= ${PREFIX}/share/doc/html/pstoedit
DOCSRC= ${WRKSRC}/doc
+INSTALLATION_DIRS= ${DOCDIR} ${HTMLDIR}
+
post-install:
- ${INSTALL_DATA_DIR} ${DOCDIR}
- ${INSTALL_DATA_DIR} ${HTMLDIR}
for f in ${DOCSRC}/*.htm; do \
- ${INSTALL_DATA} $${f} ${HTMLDIR}; \
+ ${INSTALL_DATA} $${f} ${DESTDIR}${HTMLDIR}; \
done
- ${INSTALL_DATA} ${DOCSRC}/readme.txt ${DOCDIR}
+ ${INSTALL_DATA} ${DOCSRC}/readme.txt ${DESTDIR}${DOCDIR}
.include "../../graphics/plotutils/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"