openbsd-ports/net/bitchx/Makefile
2000-03-05 18:30:21 +00:00

38 lines
968 B
Makefile

# $OpenBSD: Makefile,v 1.16 2000/03/05 18:30:37 espie 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.223
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
SEPARATE_BUILD= concurrent
USE_GMAKE= Yes
GNU_CONFIGURE= Yes
.if defined(USE_SOCKS5) && ${USE_SOCKS5:U} == YES
CONFIGURE_ARGS= --with-socks5="${LOCALBASE}"
.endif
MAKE_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>