2000-07-04 15:33:07 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.23 2000/07/04 19:33:07 brad Exp $
|
1999-03-06 21:13:13 -05:00
|
|
|
# $FreeBSD: Makefile,v 1.3 1998/07/21 11:38:44 eivind Exp $
|
|
|
|
|
2000-01-30 01:00:54 -05:00
|
|
|
DISTNAME= BitchX-1.0c16
|
2000-02-17 02:24:24 -05:00
|
|
|
.if defined(USE_SOCKS5) && ${USE_SOCKS5:U} == YES
|
|
|
|
PKGNAME= bitchx-1.0c16-socks5
|
|
|
|
.else
|
2000-01-30 01:00:54 -05:00
|
|
|
PKGNAME= bitchx-1.0c16
|
2000-02-17 02:24:24 -05:00
|
|
|
.endif
|
1999-03-06 21:13:13 -05:00
|
|
|
CATEGORIES= net
|
2000-06-22 14:18:45 -04:00
|
|
|
NEED_VERSION= 1.302
|
2000-01-30 01:00:54 -05:00
|
|
|
MASTER_SITES= ftp://ftp.bitchx.com/pub/BitchX/source/ \
|
2000-07-03 22:23:35 -04:00
|
|
|
ftp://ftp.bitchx.org/pub/BitchX/source/ \
|
2000-01-30 01:00:54 -05:00
|
|
|
ftp://bitchx.dimension6.com/pub/BitchX/source/
|
2000-07-03 22:23:35 -04:00
|
|
|
MASTER_SITES0= ftp://ftp.bitchx.org/pub/BitchX/source/
|
|
|
|
|
|
|
|
PATCHFILES= 1.0c16-format.patch
|
|
|
|
.if defined(PATCH_DEBUG)
|
|
|
|
PATCH_DIST_ARGS=-d ${WRKSRC}/source -E ${PATCH_DIST_STRIP}
|
|
|
|
.else
|
|
|
|
PATCH_DIST_ARGS=-d ${WRKSRC}/source --forward --quiet -E ${PATCH_DIST_STRIP}
|
|
|
|
.endif
|
2000-02-17 02:24:24 -05:00
|
|
|
|
|
|
|
.if defined(USE_SOCKS5) && ${USE_SOCKS5:U} == YES
|
2000-03-24 18:28:01 -05:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libsocks5.a::security/socks5
|
2000-02-17 02:24:24 -05:00
|
|
|
.endif
|
|
|
|
|
1999-03-06 21:13:13 -05:00
|
|
|
MAINTAINER= brad@openbsd.org
|
|
|
|
|
2000-03-22 17:39:39 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= "no obvious license"
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= "no obvious license"
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2000-01-30 01:49:58 -05:00
|
|
|
SEPARATE_BUILD= concurrent
|
2000-02-17 02:25:19 -05:00
|
|
|
USE_GMAKE= Yes
|
2000-06-22 14:18:45 -04:00
|
|
|
CONFIGURE_STYLE= gnu dest
|
1999-03-06 21:13:13 -05:00
|
|
|
|
2000-02-17 02:24:24 -05:00
|
|
|
.if defined(USE_SOCKS5) && ${USE_SOCKS5:U} == YES
|
2000-03-25 03:34:48 -05:00
|
|
|
CONFIGURE_ARGS+= --with-socks5="${LOCALBASE}"
|
2000-02-17 02:24:24 -05:00
|
|
|
.endif
|
|
|
|
|
2000-03-25 03:34:48 -05:00
|
|
|
FAKE_FLAGS= INSTALL="${INSTALL_PROGRAM}" INSTALL_DATA="${INSTALL_DATA}"
|
2000-02-17 02:24:24 -05:00
|
|
|
|
2000-02-10 19:37:15 -05:00
|
|
|
WRKDIST= ${WRKDIR}/BitchX
|
1999-03-06 21:13:13 -05:00
|
|
|
|
1999-12-06 12:24:18 -05:00
|
|
|
post-install:
|
2000-07-04 15:33:07 -04:00
|
|
|
@cd ${PREFIX}/bin && ln -sf BitchX-1.0c16 BitchX
|
1999-12-06 12:24:18 -05:00
|
|
|
@find ${PREFIX}/share/bitchx/help -name 'CVS' -print | xargs rm -rf
|
|
|
|
@chown -R root.wheel ${PREFIX}/share/bitchx
|
1999-03-06 21:13:13 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|