aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authornobutaka <nobutaka@FreeBSD.org>2006-02-05 02:27:21 +0800
committernobutaka <nobutaka@FreeBSD.org>2006-02-05 02:27:21 +0800
commitdb3fc48bd6a6f19cd63809d1f0e4f4e095674d8f (patch)
tree84b75151aacab11f04948b05fd036a2ec5ab7b05 /textproc
parentb75e298597d104d60e3879a7199b22c0b2c25ef7 (diff)
downloadfreebsd-ports-gnome-db3fc48bd6a6f19cd63809d1f0e4f4e095674d8f.tar.gz
freebsd-ports-gnome-db3fc48bd6a6f19cd63809d1f0e4f4e095674d8f.tar.zst
freebsd-ports-gnome-db3fc48bd6a6f19cd63809d1f0e4f4e095674d8f.zip
Make OPTIONS setting overridable from make arguments.
Reported by: Chie & Kevin Reinholz <reinholz@alumni.sandiego.edu>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/uim/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/textproc/uim/Makefile b/textproc/uim/Makefile
index 0e670e171951..788e2c4967bc 100644
--- a/textproc/uim/Makefile
+++ b/textproc/uim/Makefile
@@ -55,7 +55,7 @@ BUILD_DEPENDS+= ${LOCALBASE}/bin/perl:${PORTSDIR}/lang/perl5
CONFIGURE_ENV+= INTLTOOL_PERL="${LOCALBASE}/bin/perl"
.endif
-.if defined(WITH_GTK) && !defined(WITHOUT_GTK)
+.if defined(WITH_GTK)
USE_GNOME+= gtk20
CONFIGURE_ARGS+=--with-gtk2
PLIST_SUB+= GTK=""
@@ -64,7 +64,7 @@ CONFIGURE_ARGS+=--without-gtk2
PLIST_SUB+= GTK="@comment "
.endif
-.if defined(WITH_QT) && !defined(WITHOUT_QT)
+.if defined(WITH_QT)
LIB_DEPENDS+= qt-mt.3:${PORTSDIR}/x11-toolkits/qt33
CONFIGURE_ARGS+=--with-qt
CONFIGURE_ENV+= QTDIR=${X11BASE}/lib QTINCDIR=${X11BASE}/include \
@@ -75,7 +75,7 @@ CONFIGURE_ARGS+=--without-qt
PLIST_SUB+= QT="@comment "
.endif
-.if defined(WITH_GNOME) && !defined(WITHOUT_GNOME)
+.if defined(WITH_GNOME)
USE_GNOME+= gnomepanel
CONFIGURE_ARGS+=--with-gnome2 --enable-applet
PLIST_SUB+= GNOME=""
@@ -84,7 +84,7 @@ CONFIGURE_ARGS+=--without-gnome2 --disable-applet
PLIST_SUB+= GNOME="@comment "
.endif
-.if defined(WITH_ANTHY) && !defined(WITHOUT_ANTHY)
+.if defined(WITH_ANTHY)
LIB_DEPENDS+= anthy.1:${PORTSDIR}/japanese/anthy
CONFIGURE_ARGS+=--with-anthy
PLIST_SUB+= ANTHY=""
@@ -93,7 +93,7 @@ CONFIGURE_ARGS+=--without-anthy
PLIST_SUB+= ANTHY="@comment "
.endif
-.if defined(WITH_CANNA) && !defined(WITHOUT_CANNA)
+.if defined(WITH_CANNA)
LIB_DEPENDS+= canna.1:${PORTSDIR}/japanese/Canna
CONFIGURE_ARGS+=--with-canna
PLIST_SUB+= CANNA=""
@@ -102,7 +102,7 @@ CONFIGURE_ARGS+=--without-canna
PLIST_SUB+= CANNA="@comment "
.endif
-.if defined(WITH_M17NLIB) && !defined(WITHOUT_M17NLIB)
+.if defined(WITH_M17NLIB)
LIB_DEPENDS+= m17n.1:${PORTSDIR}/devel/m17n-lib
CONFIGURE_ARGS+=--with-m17nlib
PLIST_SUB+= M17NLIB=""
@@ -111,7 +111,7 @@ CONFIGURE_ARGS+=--without-m17nlib
PLIST_SUB+= M17NLIB="@comment "
.endif
-.if defined(WITH_PRIME) && !defined(WITHOUT_PRIME)
+.if defined(WITH_PRIME)
BUILD_DEPENDS+= prime:${PORTSDIR}/japanese/prime
RUN_DEPENDS+= ${BUILD_DEPENDS}
CONFIGURE_ARGS+=--with-prime
@@ -121,7 +121,7 @@ CONFIGURE_ARGS+=--without-prime
PLIST_SUB+= PRIME="@comment "
.endif
-.if defined(WITH_SCIM) && !defined(WITHOUT_SCIM)
+.if defined(WITH_SCIM)
USE_GCC= 3.4
LIB_DEPENDS+= scim-1.0.9:${PORTSDIR}/textproc/scim
CONFIGURE_ARGS+=--with-scim
@@ -131,7 +131,7 @@ CONFIGURE_ARGS+=--without-scim
PLIST_SUB+= SCIM="@comment "
.endif
-.if defined(WITH_SKK) && !defined(WITHOUT_SKK)
+.if defined(WITH_SKK)
RUN_DEPENDS+= ${LOCALBASE}/share/skk/SKK-JISYO.L:${PORTSDIR}/japanese/skk-jisyo
.endif