openbsd-ports/net/bitchx/Makefile
2000-03-25 08:34:48 +00:00

46 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.19 2000/03/25 08:34:48 brad Exp $
# $FreeBSD: Makefile,v 1.3 1998/07/21 11:38:44 eivind Exp $
DISTNAME= BitchX-1.0c16
.if defined(USE_SOCKS5) && ${USE_SOCKS5:U} == YES
PKGNAME= bitchx-1.0c16-socks5
.else
PKGNAME= bitchx-1.0c16
.endif
CATEGORIES= net
NEED_VERSION= 1.230
MASTER_SITES= ftp://ftp.bitchx.com/pub/BitchX/source/ \
ftp://bitchx.dimension6.com/pub/BitchX/source/
.if defined(USE_SOCKS5) && ${USE_SOCKS5:U} == YES
BUILD_DEPENDS= ${LOCALBASE}/lib/libsocks5.a::security/socks5
.endif
MAINTAINER= brad@openbsd.org
PERMIT_PACKAGE_CDROM= "no obvious license"
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= "no obvious license"
PERMIT_DISTFILES_FTP= Yes
FAKE= Yes
SEPARATE_BUILD= concurrent
USE_GMAKE= Yes
HAS_CONFIGURE= Yes
CONFIGURE_ARGS+= --prefix='$${DESTDIR}${PREFIX}'
.if defined(USE_SOCKS5) && ${USE_SOCKS5:U} == YES
CONFIGURE_ARGS+= --with-socks5="${LOCALBASE}"
.endif
FAKE_FLAGS= INSTALL="${INSTALL_PROGRAM}" INSTALL_DATA="${INSTALL_DATA}"
WRKDIST= ${WRKDIR}/BitchX
post-install:
@find ${PREFIX}/share/bitchx/help -name 'CVS' -print | xargs rm -rf
@chown -R root.wheel ${PREFIX}/share/bitchx
.include <bsd.port.mk>