freebsd-ports/irc/xchat1/Makefile
Joe Marcus Clarke 4acc6fb2a4 Presenting GNOME 2.20.1 and all related works for FreeBSD. The official
GNOME 2.20 release notes can be found at
http://www.gnome.org/start/2.20/notes/en/ .  Beyond that, this update
includes the new GIMP 2.4 (courtesy of ahze).

The GNOME 2.20 update also includes a huge change in the FreeBSD GNOME
hierarchy.  We are now using the more standard DATADIR of ${PREFIX}/share
rather than ${PREFIX}/share/gnome. The result is that fewer patches and
hacks are needed to port GNOME components to FreeBSD.  This will mean some
user changes may be required, so be sure to read /usr/ports/UPDATING for
more details.

This release and the things we accomplished in it would not have been
possible without mezz's crazy idea to collapse DATADIR, and his persistence
to make it happen successfully.  Ahze and pav also deserve thanks for
their work on porting modules and testing the whole ball of wax on
pointyhat (respectively).

The FreeBSD GNOME team would also like to thank our various testers and
contributors:

Yasuda Keisuke
Frank Jahnke
Pawel Worach
Brian Gruber
Franz Klammer
Yuri Pankov
Nick Barkas
Cristian KLEIN
Tony Maher
Scot Hetzel
Martin Matuska (mm)
Benoit Dejean
Martin Wilke (miwi)
(And anyone else I may have missed)

PRs fixed in this release:

111272, 113470, 115995, 116338
2007-10-24 23:37:25 +00:00

89 lines
2.3 KiB
Makefile

# New ports collection makefile for: xchat
# Date created: 17 Nov 1998
# Whom: Jim Mock <jim@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= xchat
PORTVERSION= 1.8.11
PORTREVISION= 9
CATEGORIES+= irc gnome ipv6
MASTER_SITES= http://xchat.org/files/source/1.8/ \
http://xchat.linuxpower.org/files/source/1.8/
MAINTAINER?= ports@FreeBSD.org
COMMENT= An X11 IRC client using the GTK+ toolkit, and optionally, GNOME
# This port has a slave port japanese/xchat. Do not carelessly overwrite
# the variables or the targets defined in it. When you need to, please
# contact its maintainer.
USE_X_PREFIX= yes
USE_BZIP2= yes
USE_GMAKE= yes
USE_ICONV= yes
USE_PERL5= yes
USE_GNOME= gtk12
WANT_GNOME= yes
GNU_CONFIGURE= yes
# Assign with `+=' for slave ports
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -lintl -liconv"
CONFIGURE_ARGS+= --without-included-gettext \
--enable-nls \
--enable-ipv6 \
--datadir="${PREFIX}/share" \
--enable-perl
LATEST_LINK?= xchat1
.if defined(WITH_SSL)
USE_OPENSSL= YES
CONFIGURE_ARGS+= --enable-openssl
.endif
.if defined(WITH_PYTHON)
USE_PYTHON= yes
CONFIGURE_ARGS+= --enable-python
.else
CONFIGURE_ARGS+= --disable-python
.endif
.include <bsd.port.pre.mk>
.if defined(WITH_SOCKS)
# Assign with `+=' for slave ports
BUILD_DEPENDS+= ${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5
CONFIGURE_ARGS+= --enable-socks
.endif
.if defined(WITH_TRANSPARENCY)
BUILD_DEPENDS+= ${LOCALBASE}/bin/gdk-pixbuf-config:${PORTSDIR}/graphics/gdk-pixbuf
CONFIGURE_ARGS+= --enable-gdk-pixbuf
.endif
.if ${HAVE_GNOME:Mimlib}!=""
USE_GNOME= imlib
CONFIGURE_ARGS+= --enable-gnome --enable-panel --enable-gdk-pixbuf \
--enable-zvt
MAKE_ARGS= icondir="${PREFIX}/share/pixmaps" \
utildir="${PREFIX}/share/gnome/apps/Internet"
.else
CONFIGURE_ARGS+= --disable-gnome --disable-zvt
.endif
post-patch:
@${PERL} -pi \
-e 's|-lpthread|${PTHREAD_LIBS}|g;' \
${WRKSRC}/configure
post-install:
.if !defined(NOPORTDOCS)
@${ECHO_MSG} "===> Installing xchat docs in ${PREFIX}/share/doc/xchat"
@${MKDIR} ${PREFIX}/share/doc/xchat && ${CHMOD} a+rx ${PREFIX}/share/doc/xchat
${INSTALL_DATA} ${WRKSRC}/doc/*.* ${PREFIX}/share/doc/xchat
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xchat
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${PREFIX}/share/doc/xchat
.endif
.include <bsd.port.post.mk>