aboutsummaryrefslogtreecommitdiffstats
path: root/print/html2ps
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2015-07-17 04:53:28 +0800
committerkwm <kwm@FreeBSD.org>2015-07-17 04:53:28 +0800
commit4490d4bc75707dbdea79b297aac91b4ce174c25f (patch)
tree3fa9947d2b38c86d548ab0b4face968420a2825b /print/html2ps
parent929b8a6a2120516c63b8fecd8eba713ab5aafae2 (diff)
downloadfreebsd-ports-gnome-4490d4bc75707dbdea79b297aac91b4ce174c25f.tar.gz
freebsd-ports-gnome-4490d4bc75707dbdea79b297aac91b4ce174c25f.tar.zst
freebsd-ports-gnome-4490d4bc75707dbdea79b297aac91b4ce174c25f.zip
Convert code in bsd.port.mk for USE_GHOSTSCRIPT* to USES=ghostscript.
Add GHOSTSCRIPT_DEFAULT to bsd.default-versions.mk for easy version selection. Arguments supported: <empty>, build, run, nox11 and agpl PR: 201201 (exp-run) Approved by: portmgr (mat@) Exp run by: antione@ (previous patch) Differential Revision: https://reviews.freebsd.org/D2938
Diffstat (limited to 'print/html2ps')
-rw-r--r--print/html2ps/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/print/html2ps/Makefile b/print/html2ps/Makefile
index 0b915172a311..b602bd562344 100644
--- a/print/html2ps/Makefile
+++ b/print/html2ps/Makefile
@@ -21,8 +21,7 @@ RUN_DEPENDS= mogrify:${PORTSDIR}/graphics/ImageMagick \
paperconf:${PORTSDIR}/print/libpaper
NO_BUILD= yes
-USES= perl5
-USE_GHOSTSCRIPT_RUN= yes
+USES= ghostscript:run perl5
SUB_FILES= html2psrc