1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/korean/bitchx/Makefile
James E. Housley 0450f399b9 We don't want to use gtk-bitchx and esounds at the default installation.
It provides a new two variables RANDOM_LOCAL_PORT_LOW and RANDOM_LOCAL_PORT_HIGH

PR:		22272
Submitted by:	JunSeon Oh <hollywar@holywar.net> MAINTAINER
2000-10-25 11:51:00 +00:00

60 lines
1.4 KiB
Makefile

# New ports collection makefile for: BitchX ircII client patched for korean
# Date created: 3 Jun 1999
# Whom: JunSeon Oh <hollywar@mail.holywar.net>
#
# $FreeBSD$
#
PORTNAME= BitchX
PORTVERSION= 1.0c16
PORTREVISION= 2
CATEGORIES= korean irc gnome
MASTER_SITES= ftp://ftp.bitchx.com/pub/BitchX/source/ \
ftp://ukug.uk.freebsd.org/pub/lord_cj/
PATCH_SITES= ftp://ftp.holywar.net/pub/FreeBSD/
PATCHFILES= bx-korean-aa.patch\
bx-korean-ab.patch\
bx-korean-ac.patch
PATCH_DIST_STRIP= -p1
MAINTAINER= hollywar@mail.holywar.net
WRKSRC= ${WRKDIR}/BitchX
USE_AUTOCONF= yes
USE_GMAKE= yes
CONFIGURE_ARGS= --with-plugins \
--exec-prefix="${PREFIX}/share" \
--bindir="${PREFIX}/bin" \
--datadir="${PREFIX}/share" \
--libdir="${PREFIX}/share"
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L{LOCALBASE}/lib"
.include <bsd.port.pre.mk>
.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
.endif
post-install:
@(${LN} -sf ${PREFIX}/bin/BitchX ${PREFIX}/bin/bx)
.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
.include <bsd.port.post.mk>