aboutsummaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2004-08-13 14:57:46 +0800
committerijliao <ijliao@FreeBSD.org>2004-08-13 14:57:46 +0800
commitd1d85a9ac256c61850620e6354bbf0d5d407ac61 (patch)
treefb2aeeedf874d9ed8b8b71b565432d017e6af3f4 /net-im
parent97472f7c3e448435a7cc8808d91cad595a2955e3 (diff)
downloadfreebsd-ports-gnome-d1d85a9ac256c61850620e6354bbf0d5d407ac61.tar.gz
freebsd-ports-gnome-d1d85a9ac256c61850620e6354bbf0d5d407ac61.tar.zst
freebsd-ports-gnome-d1d85a9ac256c61850620e6354bbf0d5d407ac61.zip
utilize OPTIONS
Approved by: maintainer
Diffstat (limited to 'net-im')
-rw-r--r--net-im/centericq/Makefile30
1 files changed, 20 insertions, 10 deletions
diff --git a/net-im/centericq/Makefile b/net-im/centericq/Makefile
index b4de36af88ae..8818e95696ab 100644
--- a/net-im/centericq/Makefile
+++ b/net-im/centericq/Makefile
@@ -24,7 +24,19 @@ CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
LDFLAGS+= -L${LOCALBASE}/lib -lstdc++
CONFIGURE_ARGS= --with-openssl --disable-konst
-.if defined(WITHOUT_NLS)
+OPTIONS= NLS "Native Language Support" on \
+ MULTIBYTE "Multibyte Support" off \
+ FRIBIDI "Fribidi Support" off \
+ MSN "Support for MSN Protocol" off \
+ YAHOO "Support for Yahoo! Messenger Protocol" off \
+ AIM "Support for AOL's Instant Messenger Protocol" off \
+ IRC "Support for IRC Protocol" off \
+ JABBER "Support for Jabber Protocol" off \
+ RSS "Support for RSS" off \
+ LJ "Support for LiveJournal" off \
+ GG "Support for Gadu-Gadu Protocol" off
+
+.if !defined(WITH_NLS)
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.else
@@ -32,17 +44,8 @@ USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.endif
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 502124
-BROKEN= "Does not build with gcc-3.4.2"
-.endif
-
.if defined(WITH_MULTIBYTE)
CONFIGURE_ARGS+= --enable-locales-fix
-.else
-pre-fetch:
- @${ECHO_CMD} "Type \"make WITH_MULTIBYTE=yes\" if you want multibyte support."
.endif
.if defined(WITH_FRIBIDI)
@@ -87,6 +90,13 @@ CONFIGURE_ARGS+= --disable-gg
MAN1= cicqconv.1 cicqsync.1
PORTDOCS= FAQ README
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502124
+BROKEN= "Does not build with gcc-3.4.2"
+.endif
+
post-patch:
.for file in kkconsui-0.1/include/conf.h kkstrtext-0.1/conf.h kksystr-0.1/include/conf.h
@(cd ${WRKSRC} ; \