summaryrefslogtreecommitdiff
path: root/editors/ted
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-06-12 10:34:46 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-06-12 10:34:46 +0000
commitf3381fa548d3edd4687bf4cf975577eeb10d68b7 (patch)
treea607b9b0948608d5c47edc8a47b7a82c47b30717 /editors/ted
parentDon't override QMAKESPEC, bsd.qt.mk knows it better. (diff)
Convert to new options framework
Notes
Notes: svn path=/head/; revision=299103
Diffstat (limited to 'editors/ted')
-rw-r--r--editors/ted/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/ted/Makefile b/editors/ted/Makefile
index 2b98000d60cf..e18d16f441e2 100644
--- a/editors/ted/Makefile
+++ b/editors/ted/Makefile
@@ -23,7 +23,7 @@ LIB_DEPENDS= pcre.1:${PORTSDIR}/devel/pcre \
paper.2:${PORTSDIR}/print/libpaper
RUN_DEPENDS= ${LOCALBASE}/share/ghostscript/fonts/a010013l.pfb:${PORTSDIR}/print/gsfonts
-OPTIONS= GTK "Use Gtk+ user intarface" off
+OPTIONS_DEFINE= GTK2 DOCS
WRKSRC= ${WRKDIR}/Ted-${PORTVERSION}
@@ -49,7 +49,7 @@ INDDIR= ${DATADIR}/dfa
.include <bsd.port.options.mk>
-.if defined(WITH_GTK)
+.if ${PORT_OPTIONS:MGTK2}
USE_GNOME= gtk20
CONFIGURE_ARGS+=--with-GTK
.else
@@ -81,7 +81,7 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/tedPackage/Ted/afm/*.afm ${AFMDIR}
@${MKDIR} ${INDDIR}
${INSTALL_DATA} ${WRKSRC}/tedPackage/Ted/dfa/*.dfa ${INDDIR}
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/tedPackage/Ted/TedDocument-en_US.rtf ${DOCSDIR}
.endif