2000-08-15 18:48:19 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.26 2000/08/15 22:48:19 brad Exp $
|
1999-03-06 21:13:13 -05:00
|
|
|
# $FreeBSD: Makefile,v 1.3 1998/07/21 11:38:44 eivind Exp $
|
|
|
|
|
2000-08-15 18:48:19 -04:00
|
|
|
VERSION= 1.0c16
|
|
|
|
DISTNAME= BitchX-${VERSION}
|
|
|
|
PKGNAME= bitchx-${VERSION}
|
1999-03-06 21:13:13 -05:00
|
|
|
CATEGORIES= net
|
2000-07-20 06:34:52 -04:00
|
|
|
NEED_VERSION= 1.310
|
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
|
|
|
|
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-08-15 18:48:19 -04:00
|
|
|
SUBST_VARS= VERSION
|
|
|
|
|
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-07-20 06:34:52 -04:00
|
|
|
FLAVORS= socks5
|
|
|
|
FLAVOR?=
|
|
|
|
|
2000-02-17 02:24:24 -05:00
|
|
|
.if defined(USE_SOCKS5) && ${USE_SOCKS5:U} == YES
|
2000-07-20 06:34:52 -04:00
|
|
|
FLAVOR= socks5
|
|
|
|
.endif
|
|
|
|
.if ${FLAVOR:L} == "socks5"
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libsocks5.a::security/socks5
|
|
|
|
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-08-15 18:48:19 -04:00
|
|
|
@cd ${PREFIX}/bin && ln -sf BitchX-${VERSION} BitchX
|
1999-12-06 12:24:18 -05:00
|
|
|
@chown -R root.wheel ${PREFIX}/share/bitchx
|
1999-03-06 21:13:13 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|