openbsd-ports/net/bitchx/Makefile

53 lines
1.4 KiB
Makefile
Raw Normal View History

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
.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
.endif
1999-03-06 21:13:13 -05:00
CATEGORIES= net
NEED_VERSION= 1.302
2000-01-30 01:00:54 -05:00
MASTER_SITES= ftp://ftp.bitchx.com/pub/BitchX/source/ \
ftp://ftp.bitchx.org/pub/BitchX/source/ \
2000-01-30 01:00:54 -05:00
ftp://bitchx.dimension6.com/pub/BitchX/source/
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
.if defined(USE_SOCKS5) && ${USE_SOCKS5:U} == YES
BUILD_DEPENDS= ${LOCALBASE}/lib/libsocks5.a::security/socks5
.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
SEPARATE_BUILD= concurrent
2000-02-17 02:25:19 -05:00
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu dest
1999-03-06 21:13:13 -05:00
.if defined(USE_SOCKS5) && ${USE_SOCKS5:U} == YES
2000-03-25 03:34:48 -05:00
CONFIGURE_ARGS+= --with-socks5="${LOCALBASE}"
.endif
2000-03-25 03:34:48 -05:00
FAKE_FLAGS= INSTALL="${INSTALL_PROGRAM}" INSTALL_DATA="${INSTALL_DATA}"
2000-02-10 19:37:15 -05:00
WRKDIST= ${WRKDIR}/BitchX
1999-03-06 21:13:13 -05:00
post-install:
2000-07-04 15:33:07 -04:00
@cd ${PREFIX}/bin && ln -sf BitchX-1.0c16 BitchX
@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>