freebsd-ports/print/html2ps/Makefile
Koop Mast 289883b11b Update ImageMagick to 6.9.10.14 [1]
* Add PKGNAMESUFFIX and rename the directory. This was done to show
  that IM6 is not the "main" version. But still fully supported by upstream.
* Convert a number of options to optionhelpers.
* Add option for ISO/IEC 23008-12:2017 HEIF suport
* Add comment to pkg-descr explaining IM6's "legacy" tag.
* Add comment to the patch-config_policy.xml file why it still needed.

Please note that IM7 is not a drop in replacement due to library API and
command arguments changes. And as a result ports need to decide for themself
which version to use.

Chase these changes in all the ports that using IM6.

PR:		225102 (based on, only the version update) [1]
Submitted by:	Pascal Christen <pascal.christen@hostpoint.ch>
2018-11-10 19:57:07 +00:00

52 lines
1.3 KiB
Makefile

# Created by: Andreas Klemm <andreas@FreeBSD.org>
# $FreeBSD$
PORTNAME= html2ps
DISTVERSION= 1.0b7
PORTREVISION= 5
PORTEPOCH= 1
CATEGORIES= print www perl5
MASTER_SITES= http://user.it.uu.se/~jan/ \
http://fossies.org/unix/www/
MAINTAINER= hrs@FreeBSD.org
COMMENT= HTML to PostScript converter
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= mogrify:graphics/ImageMagick6 \
p5-libwww>=0:www/p5-libwww \
weblint++:www/weblint++ \
paperconf:print/libpaper
NO_BUILD= yes
USES= ghostscript:run perl5
SUB_FILES= html2psrc
PLIST_FILES= bin/html2ps \
etc/html2psrc \
man/man1/html2ps.1.gz \
man/man5/html2psrc.5.gz \
%%DATADIR%%/html2ps.html \
%%DATADIR%%/hyphen.tex
post-patch:
@${REINPLACE_CMD} -e \
's|exec perl|exec ${PERL}| ; \
s|%%LOCALBASE%%|${LOCALBASE}| ; \
s|%%PREFIX%%|${PREFIX}| ; \
s|%%DATADIR%%|${DATADIR}|' \
${WRKSRC}/html2ps
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/html2ps ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKDIR}/html2psrc ${STAGEDIR}${PREFIX}/etc
${INSTALL_MAN} ${WRKSRC}/html2ps.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/html2psrc.5 ${STAGEDIR}${MAN5PREFIX}/man/man5
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/html2ps.html ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/hyphen.tex ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>