1998-04-18 02:04:44 +00:00
|
|
|
# New ports collection makefile for: BitchX ircII client
|
2000-01-29 21:54:28 +00:00
|
|
|
# Version required: 1.0c16
|
1998-04-18 02:04:44 +00:00
|
|
|
# Date created: 26 Jan 1998
|
|
|
|
# Whom: griffin
|
|
|
|
#
|
1999-08-25 06:16:32 +00:00
|
|
|
# $FreeBSD$
|
1998-04-18 02:04:44 +00:00
|
|
|
#
|
|
|
|
|
2000-01-29 21:54:28 +00:00
|
|
|
DISTNAME= BitchX-1.0c16
|
1999-06-28 02:24:57 +00:00
|
|
|
CATEGORIES= irc
|
2000-01-22 14:12:17 +00:00
|
|
|
MASTER_SITES= ftp://ftp.bitchx.com/pub/BitchX/source/ \
|
|
|
|
ftp://bitchx.dimension6.com/pub/BitchX/source/
|
1998-04-18 02:04:44 +00:00
|
|
|
|
2000-01-22 04:56:41 +00:00
|
|
|
MAINTAINER= calle.madestrand@norrgarden.se
|
1998-04-18 02:04:44 +00:00
|
|
|
|
2000-01-22 04:56:41 +00:00
|
|
|
.if defined(USE_GNOME)
|
|
|
|
LIB_DEPENDS= gnome.3:${PORTSDIR}/x11/gnomelibs
|
|
|
|
.endif
|
1998-04-18 02:04:44 +00:00
|
|
|
|
2000-01-22 04:56:41 +00:00
|
|
|
GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
|
|
|
|
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
|
1998-04-18 02:04:44 +00:00
|
|
|
WRKSRC= ${WRKDIR}/BitchX
|
2000-01-29 21:54:28 +00:00
|
|
|
USE_AUTOCONF= yes
|
2000-01-22 04:56:41 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
.if defined(USE_GNOME)
|
|
|
|
CONFIGURE_ARGS+= --with-plugins --with-gtk --enable-sound
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --with-plugins --without-gtk
|
|
|
|
.endif
|
|
|
|
CONFIGURE_ARGS+= --exec-prefix="${PREFIX}/share" \
|
|
|
|
--bindir="${PREFIX}/bin" \
|
|
|
|
--datadir="${PREFIX}/share" \
|
|
|
|
--libdir="${PREFIX}/share"
|
|
|
|
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
GLIB_CONFIG="${GLIB_CONFIG}" \
|
|
|
|
GTK_CONFIG="${GTK_CONFIG}"
|
1998-04-18 02:04:44 +00:00
|
|
|
|
2000-01-22 04:56:41 +00:00
|
|
|
MAKE_ENV+= INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
|
|
|
|
INSTALL_DATA="${INSTALL_DATA}"
|
1999-06-27 16:16:16 +00:00
|
|
|
|
2000-01-22 04:56:41 +00:00
|
|
|
.if !defined(USE_GNOME)
|
|
|
|
pre-extract:
|
|
|
|
@${ECHO} "You can add hooks for GNOME by defining USE_GNOME"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/bx/help
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/bitchx
|
2000-01-29 21:54:28 +00:00
|
|
|
${CP} -r ${WRKSRC}/bitchx-docs/* ${PREFIX}/share/bx/help
|
2000-01-22 04:56:41 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/bxfaq.html ${PREFIX}/share/doc/bitchx
|
|
|
|
.endif
|
|
|
|
.if defined(USE_GNOME)
|
|
|
|
@${ECHO} bin/gtkBitchX >> ${TMPPLIST}
|
2000-01-29 21:54:28 +00:00
|
|
|
@${ECHO} bin/gtkBitchX-1.0c16 >> ${TMPPLIST}
|
2000-01-22 04:56:41 +00:00
|
|
|
@${ECHO} share/bx/plugins/nicklist.so >> ${TMPPLIST}
|
|
|
|
.else
|
|
|
|
@${ECHO} bin/BitchX >> ${TMPPLIST}
|
2000-01-29 21:54:28 +00:00
|
|
|
@${ECHO} bin/BitchX-1.0c16 >> ${TMPPLIST}
|
2000-01-22 04:56:41 +00:00
|
|
|
@${ECHO} bin/scr-bx >> ${TMPPLIST}
|
|
|
|
@${ECHO} share/bx/wserv >> ${TMPPLIST}
|
|
|
|
.endif
|
|
|
|
@${ECHO} @dirrm share/bx/help >> ${TMPPLIST}
|
|
|
|
@${ECHO} @dirrm share/bx/plugins >> ${TMPPLIST}
|
|
|
|
@${ECHO} @dirrm share/bx/script >> ${TMPPLIST}
|
|
|
|
@${ECHO} @dirrm share/bx/translation >> ${TMPPLIST}
|
|
|
|
@${ECHO} @dirrm share/bx >> ${TMPPLIST}
|
1998-04-18 02:04:44 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|