aboutsummaryrefslogtreecommitdiffstats
path: root/print/texvc
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2012-07-27 19:03:38 +0800
committermakc <makc@FreeBSD.org>2012-07-27 19:03:38 +0800
commit7e9888a561c1f2a53cfeca5bf54f5278294df386 (patch)
tree167ee4bd8c4cd737246cf4e2c40f36e42042084e /print/texvc
parent7c887ca2a204b4cd88ce46806edb8ea718e69d9e (diff)
downloadfreebsd-ports-gnome-7e9888a561c1f2a53cfeca5bf54f5278294df386.tar.gz
freebsd-ports-gnome-7e9888a561c1f2a53cfeca5bf54f5278294df386.tar.zst
freebsd-ports-gnome-7e9888a561c1f2a53cfeca5bf54f5278294df386.zip
- Convert my ports to new options framework
- use CONFLICTS_INSTALL - other minor changes
Diffstat (limited to 'print/texvc')
-rw-r--r--print/texvc/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/print/texvc/Makefile b/print/texvc/Makefile
index 5208d91177b7..b42599d107e0 100644
--- a/print/texvc/Makefile
+++ b/print/texvc/Makefile
@@ -22,11 +22,13 @@ BUILD_WRKSRC= ${WRKSRC}/src
PLIST_FILES= bin/texvc
-OPTIONS= RASTER "rasterization support" on
+OPTIONS_DEFINE= RASTER
+OPTIONS_DEFAULT= ${OPTIONS_DEFINE}
+RASTER_DESC= rasterization support
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if !defined(WITHOUT_RASTER)
+.if ${PORT_OPTIONS:MRASTER}
USE_GHOSTSCRIPT_RUN= yes
RUN_DEPENDS+= latex:${PORTSDIR}/print/teTeX-base \
dvips:${PORTSDIR}/print/dvipsk-tetex \
@@ -36,4 +38,4 @@ RUN_DEPENDS+= latex:${PORTSDIR}/print/teTeX-base \
do-install:
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/texvc ${PREFIX}/bin
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>