Wed Jan 27 18:21:56 2010 UTC ()
DESTDIR support from Steven Drake.


(joerg)
diff -r1.26 -r1.27 pkgsrc/print/html2ps/Makefile

cvs diff -r1.26 -r1.27 pkgsrc/print/html2ps/Makefile (expand / switch to unified diff)

--- pkgsrc/print/html2ps/Makefile 2009/03/08 19:17:10 1.26
+++ pkgsrc/print/html2ps/Makefile 2010/01/27 18:21:56 1.27
@@ -1,32 +1,34 @@ @@ -1,32 +1,34 @@
1# $NetBSD: Makefile,v 1.26 2009/03/08 19:17:10 minskim Exp $ 1# $NetBSD: Makefile,v 1.27 2010/01/27 18:21:56 joerg Exp $
2# 2#
3 3
4DISTNAME= html2ps-1.0b4 4DISTNAME= html2ps-1.0b4
5PKGREVISION= 5 5PKGREVISION= 5
6CATEGORIES= print 6CATEGORIES= print
7MASTER_SITES= http://user.it.uu.se/~jan/ 7MASTER_SITES= http://user.it.uu.se/~jan/
8 8
9MAINTAINER= kim@tac.nyc.ny.us 9MAINTAINER= kim@tac.nyc.ny.us
10HOMEPAGE= http://user.it.uu.se/~jan/html2ps.html 10HOMEPAGE= http://user.it.uu.se/~jan/html2ps.html
11COMMENT= HTML to PostScript converter 11COMMENT= HTML to PostScript converter
12 12
 13PKG_DESTDIR_SUPPORT= user-destdir
 14
13DEPENDS+= dvipsk-[0-9]*:../../print/dvipsk 15DEPENDS+= dvipsk-[0-9]*:../../print/dvipsk
14DEPENDS+= ImageMagick>=5.3.9nb1:../../graphics/ImageMagick 16DEPENDS+= ImageMagick>=5.3.9nb1:../../graphics/ImageMagick
15DEPENDS+= jpeg>=6b:../../graphics/jpeg 17DEPENDS+= jpeg>=6b:../../graphics/jpeg
16DEPENDS+= p5-PerlMagick-[0-9]*:../../graphics/p5-PerlMagick 18DEPENDS+= p5-PerlMagick-[0-9]*:../../graphics/p5-PerlMagick
17DEPENDS+= p5-libwww-[0-9]*:../../www/p5-libwww 19DEPENDS+= p5-libwww-[0-9]*:../../www/p5-libwww
18DEPENDS+= teTeX-bin-[0-9]*:../../print/teTeX3-bin 20DEPENDS+= teTeX-bin-[0-9]*:../../print/teTeX3-bin
19DEPENDS+= tex-hyphen-base-[0-9]*:../../print/tex-hyphen-base 21DEPENDS+= tex-hyphen-base-[0-9]*:../../print/tex-hyphen-base
20DEPENDS+= weblint-[0-9]*:../../www/weblint 22DEPENDS+= weblint-[0-9]*:../../www/weblint
21 23
22USE_TOOLS+= gs:run perl:run 24USE_TOOLS+= gs:run perl:run
23 25
24NO_CONFIGURE= yes 26NO_CONFIGURE= yes
25NO_BUILD= yes 27NO_BUILD= yes
26 28
27do-install: 29do-install:
28 ${INSTALL_DATA_DIR} ${PREFIX}/share/html2ps 30 ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/html2ps
29 @cd ${WRKSRC} && PATH=${LOCALBASE}/bin:${PREFIX}/bin ./install ${PREFIX} 31 @cd ${WRKSRC} && PATH=${LOCALBASE}/bin:${PREFIX}/bin ./install ${DESTDIR}${PREFIX}
30 @${INSTALL_DATA} ${WRKSRC}/sample ${PREFIX}/share/html2ps/sample.rc 32 @${INSTALL_DATA} ${WRKSRC}/sample ${DESTDIR}${PREFIX}/share/html2ps/sample.rc
31 33
32.include "../../mk/bsd.pkg.mk" 34.include "../../mk/bsd.pkg.mk"