aboutsummaryrefslogtreecommitdiff
path: root/print/texvc
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2015-08-25 10:03:08 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2015-08-25 10:03:08 +0000
commitc7c32639cce504dbfefa9d1a09034d60600acaca (patch)
tree542278ecb4449b3df78960fd5f6cf7d8be50914f /print/texvc
parent42aab3eb75f5152697ee03e5e8457ce58906e2c1 (diff)
downloadports-c7c32639cce504dbfefa9d1a09034d60600acaca.tar.gz
ports-c7c32639cce504dbfefa9d1a09034d60600acaca.zip
Convert my ports to new options helpers
Notes
Notes: svn path=/head/; revision=395231
Diffstat (limited to 'print/texvc')
-rw-r--r--print/texvc/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/print/texvc/Makefile b/print/texvc/Makefile
index d205282aad47..73c1b7bf29b9 100644
--- a/print/texvc/Makefile
+++ b/print/texvc/Makefile
@@ -18,16 +18,12 @@ BUILD_WRKSRC= ${WRKSRC}/src
PLIST_FILES= bin/texvc
OPTIONS_DEFINE= RASTER
-OPTIONS_DEFAULT= ${OPTIONS_DEFINE}
-RASTER_DESC= rasterization support
-
-.include <bsd.port.options.mk>
+OPTIONS_DEFAULT:= ${OPTIONS_DEFINE}
-.if ${PORT_OPTIONS:MRASTER}
-USES+= ghostscript:run
-USE_TEX= latex dvipsk
-RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick
-.endif
+RASTER_DESC= rasterization support
+RASTER_USES= ghostscript:run
+RASTER_USE= TEX=latex,dvipsk
+RASTER_RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick
do-install:
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/texvc ${STAGEDIR}${PREFIX}/bin