aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/fontmatrix
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 /x11-fonts/fontmatrix
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 'x11-fonts/fontmatrix')
-rw-r--r--x11-fonts/fontmatrix/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/x11-fonts/fontmatrix/Makefile b/x11-fonts/fontmatrix/Makefile
index 37e44e69580f..a553ce1122b1 100644
--- a/x11-fonts/fontmatrix/Makefile
+++ b/x11-fonts/fontmatrix/Makefile
@@ -22,11 +22,13 @@ INSTALLS_ICONS= yes
USE_CMAKE= yes
-OPTIONS= FONTFORGE "With FontForge editor" off
+OPTIONS_DEFINE= FONTFORGE
+OPTIONS_DEFAULT= ${OPTIONS_DEFINE}
+FONTFORGE_DESC= With FontForge editor
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_FONTFORGE)
+.if ${PORT_OPTIONS:MFONTFORGE}
RUN_DEPENDS+= ${LOCALBASE}/bin/fontforge:${PORTSDIR}/print/fontforge
.endif
@@ -41,4 +43,4 @@ pre-configure:
${LOCALBASE}/bin/lupdate-qt4 -noobsolete ../ -ts *.ts && \
${LOCALBASE}/bin/lrelease-qt4 *.ts
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>