1999-08-25 06:07:43 +00:00
|
|
|
# New ports collection makefile for: BitchX ircII client patched for korean
|
|
|
|
# Date created: 3 Jun 1999
|
2000-07-07 12:17:19 +00:00
|
|
|
# Whom: JunSeon Oh <hollywar@mail.holywar.net>
|
1999-08-25 06:07:43 +00:00
|
|
|
#
|
1999-08-30 12:09:14 +00:00
|
|
|
# $FreeBSD$
|
1999-08-25 06:07:43 +00:00
|
|
|
#
|
|
|
|
|
2000-07-07 12:17:19 +00:00
|
|
|
PORTNAME= BitchX
|
|
|
|
PORTVERSION= 1.0c16
|
2000-12-24 14:29:41 +00:00
|
|
|
PORTREVISION= 3
|
2000-07-07 12:17:19 +00:00
|
|
|
CATEGORIES= korean irc gnome
|
2001-03-12 14:17:58 +00:00
|
|
|
MASTER_SITES= ftp://ftp.holywar.net/pub/FreeBSD/
|
2000-07-07 12:17:19 +00:00
|
|
|
|
2000-10-25 11:51:00 +00:00
|
|
|
PATCH_SITES= ftp://ftp.holywar.net/pub/FreeBSD/
|
|
|
|
PATCHFILES= bx-korean-aa.patch\
|
|
|
|
bx-korean-ab.patch\
|
|
|
|
bx-korean-ac.patch
|
2000-07-07 12:17:19 +00:00
|
|
|
PATCH_DIST_STRIP= -p1
|
1999-08-25 06:07:43 +00:00
|
|
|
|
|
|
|
MAINTAINER= hollywar@mail.holywar.net
|
|
|
|
|
2000-10-25 11:51:00 +00:00
|
|
|
WRKSRC= ${WRKDIR}/BitchX
|
2000-10-05 07:22:56 +00:00
|
|
|
|
2000-07-07 12:17:19 +00:00
|
|
|
USE_AUTOCONF= yes
|
|
|
|
USE_GMAKE= yes
|
2000-10-05 07:22:56 +00:00
|
|
|
CONFIGURE_ARGS= --with-plugins \
|
|
|
|
--exec-prefix="${PREFIX}/share" \
|
|
|
|
--bindir="${PREFIX}/bin" \
|
|
|
|
--datadir="${PREFIX}/share" \
|
|
|
|
--libdir="${PREFIX}/share"
|
2000-07-07 12:17:19 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2000-10-05 07:22:56 +00:00
|
|
|
LIBS="-L{LOCALBASE}/lib"
|
2000-07-07 12:17:19 +00:00
|
|
|
|
2000-10-05 07:22:56 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
1999-08-25 06:07:43 +00:00
|
|
|
|
2000-10-05 07:22:56 +00:00
|
|
|
.if defined(HAVE_GNOME)
|
|
|
|
USE_GNOME= yes
|
|
|
|
CONFIGURE_ARGS+=--with-gtk
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--without-gtk
|
|
|
|
.endif
|
|
|
|
.if defined(HAVE_ESOUND)
|
|
|
|
USE_ESOUND= yes
|
|
|
|
CONFIGURE_ARGS+=--enable-sound
|
2000-07-07 12:17:19 +00:00
|
|
|
.endif
|
1999-08-25 06:07:43 +00:00
|
|
|
|
2000-07-07 12:17:19 +00:00
|
|
|
post-install:
|
1999-08-28 01:58:05 +00:00
|
|
|
@(${LN} -sf ${PREFIX}/bin/BitchX ${PREFIX}/bin/bx)
|
2000-07-07 12:17:19 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/bx/help
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/bitchx
|
|
|
|
${CP} -r ${WRKSRC}/bitchx-docs/* ${PREFIX}/share/bx/help
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/bxfaq.html ${PREFIX}/share/doc/bitchx
|
|
|
|
${RMDIR} ${PREFIX}/share/bx/help/4_Misc/fset
|
|
|
|
${RMDIR} ${PREFIX}/share/bx/help/4_Misc/wset
|
|
|
|
.endif
|
1999-08-25 06:07:43 +00:00
|
|
|
|
2000-10-05 07:22:56 +00:00
|
|
|
.include <bsd.port.post.mk>
|