- add knob USE_SOCKS5 to add proper dependency on SOCKS5 library and

compile in the SOCKS5 support for BitchX
- replace patch with the use of MAKE_FLAGS to override INSTALL and
INSTALL_DATA Makefile variables
This commit is contained in:
brad 2000-02-17 07:24:24 +00:00
parent d2db3d6d76
commit b1aa553b7e
2 changed files with 16 additions and 14 deletions

View File

@ -1,19 +1,34 @@
# $OpenBSD: Makefile,v 1.13 2000/02/11 00:37:32 espie Exp $
# $OpenBSD: Makefile,v 1.14 2000/02/17 07:24:24 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
MASTER_SITES= ftp://ftp.bitchx.com/pub/BitchX/source/ \
ftp://bitchx.dimension6.com/pub/BitchX/source/
NEED_VERSION= 1.191
.if defined(USE_SOCKS5) && ${USE_SOCKS5:U} == YES
BUILD_DEPENDS= ${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/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:

View File

@ -1,13 +0,0 @@
--- Makefile.in.orig Sun Jan 9 05:11:01 2000
+++ Makefile.in Sat Jan 29 23:58:32 2000
@@ -106,8 +106,8 @@
LN = @LN@
CP = @CP@
MV = @MV@
-INSTALL = $(topdir)/$(srcdir)/bsdinstall -c -s -m 755
-INSTALL_DATA = $(topdir)/$(srcdir)/bsdinstall -c -m 644
+INSTALL = $(BSD_INSTALL_PROGRAM)
+INSTALL_DATA = $(BSD_INSTALL_DATA)
VERSION = @VERSION@
_VERSION_ = @_VERSION_@