aboutsummaryrefslogtreecommitdiffstats
path: root/irc/bitchx
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-01-20 22:37:19 +0800
committerarved <arved@FreeBSD.org>2004-01-20 22:37:19 +0800
commitf424b82cd35205650619f5dc8e9cbda57757cbba (patch)
tree5850c8df04386a4151ab6f04edda3f448856bc75 /irc/bitchx
parent92b95fbd1d3762911b02f1ec89eee0c1dae3b5cc (diff)
downloadfreebsd-ports-gnome-f424b82cd35205650619f5dc8e9cbda57757cbba.tar.gz
freebsd-ports-gnome-f424b82cd35205650619f5dc8e9cbda57757cbba.tar.zst
freebsd-ports-gnome-f424b82cd35205650619f5dc8e9cbda57757cbba.zip
Attempt to use the new OPTIONS feature
Diffstat (limited to 'irc/bitchx')
-rw-r--r--irc/bitchx/Makefile38
1 files changed, 25 insertions, 13 deletions
diff --git a/irc/bitchx/Makefile b/irc/bitchx/Makefile
index e30399e11823..8ad455412caa 100644
--- a/irc/bitchx/Makefile
+++ b/irc/bitchx/Makefile
@@ -15,25 +15,14 @@ MASTER_SITES= ftp://ftp.bitchx.com/pub/BitchX/source/ \
ftp://ftp.cyberpunkz.org/pub/BitchX/tcl-o/:tcl
DISTFILES= ircii-pana-${PORTVERSION}${EXTRACT_SUFX} \
ircii-pana-${PORTVERSION}${EXTRACT_SUFX}.sig
-.if defined(WITH_TCL)
-DISTFILES+= freebsd4-tcl83-bx1.0c19-tcl.o:tcl \
- freebsd4-tcl83-bx1.0c19-tcl.o.sig:tcl
-.endif
EXTRACT_ONLY= ircii-pana-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER?= arved@FreeBSD.org
COMMENT?= "An alternative ircII color client with optional GTK/GNOME support"
-.if defined(WITH_XMMS)
-LIB_DEPENDS+= xmms.4:${PORTSDIR}/multimedia/xmms
-.endif
-
WRKSRC= ${WRKDIR}/BitchX
USE_PERL5= yes
USE_REINPLACE= yes
-.if defined(WITH_IPV6)
-USE_AUTOCONF_VER=253
-.endif
GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_TARGET=
@@ -47,6 +36,31 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAN1= BitchX.1
+OPTIONS= ESOND "With ESOUND support" off \
+ GNOME "With GTK/GNOME1 Frontend" off \
+ IPV6 "With IPV6 support" off \
+ LATIN "Recommended if you are using an ISO-8859-1 display" off \
+ PLUGINS "With BitchX Plugins" off \
+ SOCKS5 "With SOCKS5 support" off \
+ SSL "With SSL" off \
+ TCL "With TCL support" off \
+ XMMS "With XMMS plugin" off
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_TCL)
+DISTFILES+= freebsd4-tcl83-bx1.0c19-tcl.o:tcl \
+ freebsd4-tcl83-bx1.0c19-tcl.o.sig:tcl
+.endif
+
+.if defined(WITH_XMMS)
+LIB_DEPENDS+= xmms.4:${PORTSDIR}/multimedia/xmms
+.endif
+
+.if defined(WITH_IPV6)
+USE_AUTOCONF_VER=253
+.endif
+
.if defined(WITH_GNOME)
USE_X_PREFIX= yes
USE_GNOME= gnomelibs
@@ -66,8 +80,6 @@ CONFIGURE_ARGS+=--enable-sound
USE_OPENSSL= yes
.endif
-.include <bsd.port.pre.mk>
-
.if ${ARCH} == "alpha" || ${ARCH} == "ia64"
BROKEN="Dumps core on startup"
.endif