openbsd-ports/security/socks5/Makefile
brad edfc222a46 - change email addresses, form@ to ports@
- remove unnecessary comments
1999-04-09 04:11:45 +00:00

53 lines
1.5 KiB
Makefile

# $OpenBSD: Makefile,v 1.11 1999/04/09 04:11:56 brad Exp $
DISTNAME= socks5-v1.0r9
PKGNAME= socks5-1.0.9
CATEGORIES= security
MAINTAINER= ports@openbsd.org
NO_CDROM= "NEC has a funky license for this software"
RESTRICTED= "no commercial use"
MIRROR_DISTFILE=no
IS_INTERACTIVE= yes
# 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
ETCDIR?= /etc
WRKSRC= ${WRKDIR}/${DISTNAME}
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-libconffile=${ETCDIR}/libsocks5.conf \
--with-srvconffile=${ETCDIR}/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
do-fetch:
@if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \
${ECHO} ""; \
${ECHO} "NEC requires that you grab the dist files from their"; \
${ECHO} "web site at http://www.socks.nec.com. Please make sure"; \
${ECHO} "you have ${DISTNAME}${EXTRACT_SUFX} in ${DISTDIR}"; \
${ECHO} "and run make again."; \
${ECHO} ""; \
exit 1;\
fi
post-install:
${MKDIR} ${PREFIX}/lib/socks
${MKDIR} ${PREFIX}/share/doc/socks
${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/lib/socks
${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/socks
${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk>