fa16533a1b
I was unaware of version up. * Fix html2psrc path in patch-aa Changelog: 051211 1.0b5 Bug fixes. Added -M option. 091021 1.0b6 "Security" fix. Changed behavior for SSI, to avoid having arbitrary readable files disclosed on a web server that uses html2ps in a web application (cgi script etc), allowing HTML files to be uploaded for conversion. Setting up a service like this is begging for trouble in my opinion. (Is /bin/cat also a vulnerability, since one can use it in a web app, allowing uploading arbitrary parameters to it?) 100507 1.0b7 Fixed a bug introduced by the previous bug fix...
33 lines
1 KiB
Makefile
33 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.30 2011/11/18 21:59:01 ryoon Exp $
|
|
#
|
|
|
|
DISTNAME= html2ps-1.0b7
|
|
CATEGORIES= print
|
|
MASTER_SITES= http://user.it.uu.se/~jan/
|
|
|
|
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
|
|
DEPENDS+= p5-PerlMagick-[0-9]*:../../graphics/p5-PerlMagick
|
|
DEPENDS+= p5-libwww-[0-9]*:../../www/p5-libwww
|
|
DEPENDS+= teTeX-bin-[0-9]*:../../print/teTeX3-bin
|
|
DEPENDS+= tex-hyphen-base-[0-9]*:../../print/tex-hyphen-base
|
|
DEPENDS+= weblint-[0-9]*:../../www/weblint
|
|
|
|
USE_TOOLS+= gs:run perl:run
|
|
|
|
NO_CONFIGURE= yes
|
|
NO_BUILD= yes
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/html2ps
|
|
@cd ${WRKSRC} && PATH=${LOCALBASE}/bin:${PREFIX}/bin ./install ${DESTDIR}${PREFIX} ${PKGMANDIR} ${PREFIX}
|
|
@${INSTALL_DATA} ${WRKSRC}/sample ${DESTDIR}${PREFIX}/share/html2ps/sample.rc
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|