diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-27 18:21:56 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-27 18:21:56 +0000 |
commit | ce566a034de6fa584b172bd8d2bc60f588e109a8 (patch) | |
tree | 0f9ff344680753de1c0ca495c1b8d13c610b993f /print/html2ps | |
parent | e0b37a2d7929828b026fafaa006c2d809bafb6a4 (diff) | |
download | pkgsrc-ce566a034de6fa584b172bd8d2bc60f588e109a8.tar.gz |
DESTDIR support from Steven Drake.
Diffstat (limited to 'print/html2ps')
-rw-r--r-- | print/html2ps/Makefile | 10 |
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" |