1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

* 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>
This commit is contained in:
Tilman Keskinoz 2002-10-25 09:52:44 +00:00
parent 1f51c83763
commit 418ccd4e14
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=68801

View File

@ -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>