aboutsummaryrefslogtreecommitdiffstats
path: root/irc/bitchx/Makefile
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2002-10-25 17:52:44 +0800
committerarved <arved@FreeBSD.org>2002-10-25 17:52:44 +0800
commitef18c3ea2fddd39d0e696523c8d67f000aa6edf6 (patch)
treeeda6f212ae787f5fe5be321c5c0fc17bf18e4750 /irc/bitchx/Makefile
parentddb2a78b871e0a3f9f5c883df44b9b515e5f8a3c (diff)
downloadfreebsd-ports-gnome-ef18c3ea2fddd39d0e696523c8d67f000aa6edf6.tar.gz
freebsd-ports-gnome-ef18c3ea2fddd39d0e696523c8d67f000aa6edf6.tar.zst
freebsd-ports-gnome-ef18c3ea2fddd39d0e696523c8d67f000aa6edf6.zip
* Change Emailaddress
* Use bsd.port.(pre|post).mk[1] * Add a knob WITH_SSL [2] * Fix passing of CONFIGURE_ENV in the case WITH_GNOME=yes WITH_TCL=yes [3] * Word the Warning about the bug in WITH_IPv6 more clear. [1]Pointed out by: KAWATA masahiko <kawata@mta.biglobe.ne.jp> [2]Submitted by: Bob Fleck <bob@securesoftware.com> PR: 42972 (with some modifications) [3]Reported by: Kevin <kdulzo@sockpuppet.org>
Diffstat (limited to 'irc/bitchx/Makefile')
-rw-r--r--irc/bitchx/Makefile24
1 files changed, 17 insertions, 7 deletions
diff --git a/irc/bitchx/Makefile b/irc/bitchx/Makefile
index afbf2dfb50d6..9206efbae6e7 100644
--- a/irc/bitchx/Makefile
+++ b/irc/bitchx/Makefile
@@ -21,7 +21,7 @@ DISTFILES= ircii-pana-${PORTVERSION}${EXTRACT_SUFX} \
EXTRACT_ONLY= ircii-pana-${PORTVERSION}${EXTRACT_SUFX}
.endif
-MAINTAINER?= freebsdports@arved.de
+MAINTAINER?= arved@FreeBSD.org
BUILD_DEPENDS= autoconf:${PORTSDIR}/devel/autoconf
.if defined(WITH_XMMS)
@@ -49,7 +49,7 @@ USE_X_PREFIX= yes
USE_GNOMENG= yes
USE_GNOME= gnomelibs
CONFIGURE_ARGS+=--with-gtk
-CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${X11BASE}/include/gnome-1.0/"
+CFLAGS+= -I${X11BASE}/include/gnome-1.0/
PLIST_SUB+= NOGNOME:="@comment " GNOME:=""
.else
CONFIGURE_ARGS+=--without-gtk
@@ -60,6 +60,7 @@ USE_GNOMENG= yes
USE_GNOME+= esound
CONFIGURE_ARGS+=--enable-sound
.endif
+.include <bsd.port.pre.mk>
.if defined(WITH_IPV6)
USE_IPV6= yes
CONFIGURE_ARGS+=--enable-ipv6
@@ -68,14 +69,18 @@ CONFIGURE_ARGS+=--enable-ipv6
BUILD_DEPENDS+= ${LOCALBASE}/include/tcl8.3/tcl.h:${PORTSDIR}/lang/tcl83
CONFIGURE_ARGS+=--with-tcl \
--with-tcl-libs=${LOCALBASE}/lib
-CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/tcl8.3" \
- CFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/tcl8.3"
+CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/tcl8.3"
+CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/tcl8.3
.endif
.if defined(WITH_SOCKS5)
BUILD_DEPENDS+= ${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5
CONFIGURE_ARGS+= --with-socks5=${LOCALBASE}
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include"
.endif
+.if defined(WITH_SSL)
+USE_OPENSSL= yes
+CONFIGURE_ARGS+= --with-ssl
+.endif
.if defined(WITH_PLUGINS)
PLUGINS= abot,acro,aim,arcfour,autocycle,blowfish,cavlink,encrypt,fserv,hint,identd,nap,pkga,possum,qbx,qmail,scan,wavplay
PLIST_SUB+= PLUGINS:=""
@@ -93,8 +98,10 @@ PLIST_SUB+= XMMS:="@comment "
PLUGINS= abot,acro,aim,arcfour,autocycle,blowfish,cavlink,encrypt,fserv,hint,identd,nap,pkga,possum,qbx,qmail,scan,wavplay,xmms
.endif
.if (defined(WITH_PLUGINS) || defined(WITH_XMMS))
-CONFIGURE_ARGS+=--with-plugins=${PLUGINS}
+INSTALLS_SHLIB= yes
+CONFIGURE_ARGS+= --with-plugins=${PLUGINS}
.endif
+CONFIGURE_ENV+= CFLAGS="${CFLAGS}"
pre-patch:
.if defined(WITH_LATIN)
@@ -120,9 +127,12 @@ pre-extract:
.if !defined(WITH_SOCKS5)
@${ECHO_CMD} "WITH_SOCKS5 - Build BitchX with SOCKS5 support"
.endif
+.if !defined(WITH_SSL)
+ @${ECHO_CMD} "WITH_SSL - Build BitchX with SSL support"
+.endif
.if !defined(WITH_IPV6)
@${ECHO_CMD} "WITH_IPV6 - Build BitchX with IPV6 support"
- @${ECHO_CMD} " (Please Note: /detach is not working with IPv6)"
+ @${ECHO_CMD} " (Please Note: /detach crashes BitchX with IPv6)"
.endif
.if !defined(WITH_GNOME)
@${ECHO_CMD} "WITH_GNOME - Build BitchX with Gtk-Frontend"
@@ -148,4 +158,4 @@ post-install:
${RMDIR} ${PREFIX}/share/bx/help
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>