blob: f180f56a3fe9c89eec00f147bd850678aa819390 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $NetBSD: Makefile,v 1.8 2000/08/18 22:46:45 hubertf Exp $
#
DISTNAME= export.socks.cstc.4.2.2
PKGNAME= socks4-2.2
CATEGORIES= net security
MASTER_SITES= ftp://ftp.nec.com/pub/socks/socks4/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.socks.nec.com/socksv4.html
CONFLICTS= socks5-*
RESTRICTED= "no commercial use"
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
WRKSRC= ${WRKDIR}/socks.cstc.4.2
NO_CONFIGURE= yes
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
MAKE_ENV+= CC=gcc CPPFLAGS=
.endif
post-patch:
@${SED} -e 's|@PREFIX@|${PREFIX}|g' ${WRKSRC}/include/socks.h \
> ${WRKSRC}/include/socks.h.new && \
${MV} ${WRKSRC}/include/socks.h.new ${WRKSRC}/include/socks.h
@${ECHO} "sockd 0.0.0.0 0.0.0.0" >> ${WRKSRC}/socks.conf
.include "../../mk/bsd.pkg.mk"
|