diff options
author | bapt <bapt@FreeBSD.org> | 2012-06-12 18:34:46 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-06-12 18:34:46 +0800 |
commit | c9a16767f1848302b7ee4bb49ddcbac52d489ad5 (patch) | |
tree | 1aae4ab22bf7a2dda9a06a005fdcfb73e66b5ce5 /editors/kile | |
parent | a5c02e972e35e059aa5e9dc0b268ff605f241fbf (diff) | |
download | freebsd-ports-gnome-c9a16767f1848302b7ee4bb49ddcbac52d489ad5.tar.gz freebsd-ports-gnome-c9a16767f1848302b7ee4bb49ddcbac52d489ad5.tar.zst freebsd-ports-gnome-c9a16767f1848302b7ee4bb49ddcbac52d489ad5.zip |
Convert to new options framework
Diffstat (limited to 'editors/kile')
-rw-r--r-- | editors/kile/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/editors/kile/Makefile b/editors/kile/Makefile index 5c4368a76f75..c0f61dc01380 100644 --- a/editors/kile/Makefile +++ b/editors/kile/Makefile @@ -25,16 +25,18 @@ USE_BZIP2= yes USE_AUTOTOOLS= libtool USE_GMAKE= yes -OPTIONS= KPDF "Use KPDF and KDVI for viewing" on +OPTIONS_DEFINE= KPDF +OPTIONS_DEFAULT= KPDF +KPDF_DESC= Use KPDF and KDVI for viewing post-patch: @${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's| syntax||g' ${WRKSRC}/src/kile/Makefile.in -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if !defined(WITHOUT_KPDF) +.if ${PORT_OPTIONS:MKPDF} RUN_DEPENDS+= kpdf:${PORTSDIR}/graphics/kdegraphics3 .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |