mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
99990b94b5
Bump PORTREVISION PR: 27083 Submitted by: Dimitry Andric <dim@xs4all.nl>
54 lines
1.5 KiB
Makefile
54 lines
1.5 KiB
Makefile
# New ports collection makefile for: socks5
|
|
# Date created: 24 Apr 1996
|
|
# Whom: pst
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= socks5
|
|
PORTVERSION= 1.0.11
|
|
PORTREVISION= 2
|
|
CATEGORIES= net security
|
|
DISTNAME= socks5-v1.0r11
|
|
|
|
MAINTAINER= ports@freebsd.org
|
|
|
|
NO_CDROM= "NEC has a funky license for this software"
|
|
RESTRICTED= "no commercial use"
|
|
|
|
# here are some extra configure args you may wish to use
|
|
# see the readme file before screwing with them
|
|
#
|
|
#EXTRA_CONFIGURE_ARGS= \
|
|
# --with-default-server=socks.mydomain.com \
|
|
# --with-syslog-facility=LOG_AUTH \
|
|
# --with-passwd
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
INSTALLS_SHLIB= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-libconffile=${PREFIX}/etc/libsocks5.conf \
|
|
--with-srvconffile=${PREFIX}/etc/socks5.conf \
|
|
--with-srvpidfile=/var/run/socks5.pid \
|
|
--with-srvidtfile=/var/run/socks5.ident \
|
|
${EXTRA_CONFIGURE_ARGS}
|
|
MAN1= runsocks.1 socks5.1 stopsocks.1 socks5_clients.1
|
|
MAN5= libsocks5.conf.5 socks5.conf.5 socks5.passwd.5
|
|
CONFIGURE_ENV= LIBS=-lcrypt
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
post-install:
|
|
@${MKDIR} ${PREFIX}/share/examples/socks5
|
|
${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/share/examples/socks5
|
|
@${MKDIR} ${PREFIX}/share/doc/socks5
|
|
${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/socks5
|
|
.endif
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
|
|
IGNORE="NEC requires that you grab the dist files from their web site at http://www.socks.nec.com/cgi-bin/download.pl . Please make sure you have ${DISTNAME}${EXTRACT_SUFX} in ${DISTDIR} and run make again"
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|