mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
a3b395aa5d
- Cleanup USE_RC_SUBR-handling
39 lines
852 B
Makefile
39 lines
852 B
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: nylon
|
|
# Date created: Jun 11, 2001
|
|
# Whom: William Ward <William.Ward@ericsson.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= nylon
|
|
PORTVERSION= 1.2
|
|
PORTREVISION= 2
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://monkey.org/~marius/nylon/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A Unix SOCKS 4 and 5 proxy server
|
|
|
|
LIB_DEPENDS= event-1.1a.1:${PORTSDIR}/devel/libevent
|
|
|
|
USE_RC_SUBR= nylon.sh
|
|
|
|
USE_REINPLACE= yes
|
|
GNU_CONFIGURE= yes
|
|
# Necessary for $PREFIX to work:
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
CONFIGURE_ARGS= --with-libevent=${LOCALBASE}
|
|
|
|
MAN1= nylon.1
|
|
|
|
PLIST_FILES= bin/nylon etc/nylon.conf.sample
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's/-levent/-levent-1.1a/' ${WRKSRC}/configure
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${FILESDIR}/nylon.conf ${PREFIX}/etc/nylon.conf.sample
|
|
|
|
.include <bsd.port.mk>
|