summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorjoerg <joerg>2010-01-27 18:21:56 +0000
committerjoerg <joerg>2010-01-27 18:21:56 +0000
commitc0b99cead5e1e59ac9209556402e8f8b80d7e0e6 (patch)
tree0f9ff344680753de1c0ca495c1b8d13c610b993f /print
parent55b645d97db10a100153950b4df3b01607242176 (diff)
downloadpkgsrc-c0b99cead5e1e59ac9209556402e8f8b80d7e0e6.tar.gz
DESTDIR support from Steven Drake.
Diffstat (limited to 'print')
-rw-r--r--print/html2ps/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/print/html2ps/Makefile b/print/html2ps/Makefile
index 3eb7a96de36..59069092df0 100644
--- a/print/html2ps/Makefile
+++ b/print/html2ps/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2009/03/08 19:17:10 minskim Exp $
+# $NetBSD: Makefile,v 1.27 2010/01/27 18:21:56 joerg Exp $
#
DISTNAME= html2ps-1.0b4
@@ -10,6 +10,8 @@ MAINTAINER= kim@tac.nyc.ny.us
HOMEPAGE= http://user.it.uu.se/~jan/html2ps.html
COMMENT= HTML to PostScript converter
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= dvipsk-[0-9]*:../../print/dvipsk
DEPENDS+= ImageMagick>=5.3.9nb1:../../graphics/ImageMagick
DEPENDS+= jpeg>=6b:../../graphics/jpeg
@@ -25,8 +27,8 @@ NO_CONFIGURE= yes
NO_BUILD= yes
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/html2ps
- @cd ${WRKSRC} && PATH=${LOCALBASE}/bin:${PREFIX}/bin ./install ${PREFIX}
- @${INSTALL_DATA} ${WRKSRC}/sample ${PREFIX}/share/html2ps/sample.rc
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/html2ps
+ @cd ${WRKSRC} && PATH=${LOCALBASE}/bin:${PREFIX}/bin ./install ${DESTDIR}${PREFIX}
+ @${INSTALL_DATA} ${WRKSRC}/sample ${DESTDIR}${PREFIX}/share/html2ps/sample.rc
.include "../../mk/bsd.pkg.mk"