pkgsrc/net/tsocks/Makefile
drochner 98adfca88b -update to 1.8beta5 (the last release existing, from 2002)
this is a major rewrite
 changes:
 -much more flexible debug logging
 -support for non blocking sockets
 -addition of the tsocks shell script
 -TSOCKS_CONF_FILE environment variable
-pkg changes:
 -libtoolized
 -changed redefinition of the crt0 _init into a __constructor__ attribute,
  to avoid link errors

with jmmv's blessing
2005-08-04 10:22:21 +00:00

41 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.6 2005/08/04 10:22:21 drochner Exp $
#
DISTNAME= tsocks-1.8beta5
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tsocks/}
MAINTAINER= jmmv@NetBSD.org
HOMEPAGE= http://tsocks.sourceforge.net/
COMMENT= Transparent SOCKS proxying library
WRKSRC= ${WRKDIR}/tsocks-1.8
GNU_CONFIGURE= YES
USE_TOOLS+= gmake
USE_LIBTOOL= yes
CONFIGURE_ARGS+= --with-conf=${PKG_SYSCONFDIR}/tsocks.conf
EGDIR= ${PREFIX}/share/examples/tsocks
SUBST_CLASSES+= tsocks
SUBST_STAGE.tsocks= post-configure
SUBST_MESSAGE.tsocks= "Generating tsocks wrapper script."
SUBST_FILES.tsocks= tsocks
SUBST_SED.tsocks= -e "s|@SH@|${SH}|g" -e "s|@PREFIX@|${PREFIX}|g"
post-extract:
${RM} -f ${WRKSRC}/config.cache
${CP} ${FILESDIR}/tsocks.sh ${WRKSRC}/tsocks
post-configure: subst-tsocks
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/tsocks ${PREFIX}/bin
${INSTALL_DATA_DIR} ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/tsocks.conf.complex.example \
${EGDIR}/tsocks.conf.complex
${INSTALL_DATA} ${WRKSRC}/tsocks.conf.simple.example \
${EGDIR}/tsocks.conf.simple
.include "../../mk/bsd.pkg.mk"