aboutsummaryrefslogtreecommitdiff
path: root/net/tsocks
diff options
context:
space:
mode:
authorOliver Eikemeier <eik@FreeBSD.org>2004-09-06 10:37:04 +0000
committerOliver Eikemeier <eik@FreeBSD.org>2004-09-06 10:37:04 +0000
commit245e4bd4a93649b257eba656a3ba370d6bfe9274 (patch)
tree478969353481a75ccf41daaa23240feb98be68c3 /net/tsocks
parent11e45374a1b169b727959a5b1b2f3521766bdac2 (diff)
downloadports-245e4bd4a93649b257eba656a3ba370d6bfe9274.tar.gz
ports-245e4bd4a93649b257eba656a3ba370d6bfe9274.zip
Notes
Diffstat (limited to 'net/tsocks')
-rw-r--r--net/tsocks/Makefile6
-rw-r--r--net/tsocks/pkg-plist5
2 files changed, 5 insertions, 6 deletions
diff --git a/net/tsocks/Makefile b/net/tsocks/Makefile
index 09633b76c1fa..06bb8a43fbeb 100644
--- a/net/tsocks/Makefile
+++ b/net/tsocks/Makefile
@@ -6,7 +6,7 @@
PORTNAME= tsocks
PORTVERSION= 1.8.b5
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://ftp1.sourceforge.net/tsocks/ \
@@ -20,13 +20,12 @@ COMMENT= Allow non SOCKS aware applications to use SOCKS without modification
GNU_CONFIGURE= yes
USE_GMAKE= yes
INSTALLS_SHLIB= yes
-LDCONFIG_DIRS= ${PREFIX}/lib/tsocks
USE_REINPLACE= yes
WRKSRC=${WRKDIR}/${PORTNAME}-${PORTVERSION:C/.b.*//}
CONFIGURE_ARGS= --with-conf=${PREFIX}/etc/tsocks.conf \
- --libdir=${LOCALBASE}/lib/tsocks
+ --libdir=${PREFIX}/lib
MAN1= tsocks.1
MAN5= tsocks.conf.5
@@ -94,6 +93,7 @@ pre-everything::
post-patch:
@${REINPLACE_CMD} -e 's|ufds|fds|g' ${WRKSRC}/tsocks.c
+ @${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' ${WRKSRC}/tsocks
.if !defined(NOPORTDOCS)
post-install:
diff --git a/net/tsocks/pkg-plist b/net/tsocks/pkg-plist
index 493dcaa7d033..4afcdab84fae 100644
--- a/net/tsocks/pkg-plist
+++ b/net/tsocks/pkg-plist
@@ -1,8 +1,7 @@
bin/tsocks
etc/tsocks.conf.sample
-lib/tsocks/libtsocks.so.1
-lib/tsocks/libtsocks.so
-@dirrm lib/tsocks/
+lib/libtsocks.so.1
+lib/libtsocks.so
%%EXAMPLESDIR%%/tsocks.conf.complex.example
%%EXAMPLESDIR%%/tsocks.conf.simple.example
%%EXAMPLESDIR%%/README