aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2013-12-26 19:16:33 +0000
committerPawel Pekala <pawel@FreeBSD.org>2013-12-26 19:16:33 +0000
commit4cd08a2a23b020379c345194a70bac8b084a8cc9 (patch)
tree9dd4815b30272e13255b3348b41faef44b8d0080
parentedc847ae45375ae25da84c3af7fcfb2df240faf6 (diff)
downloadports-4cd08a2a23b020379c345194a70bac8b084a8cc9.tar.gz
ports-4cd08a2a23b020379c345194a70bac8b084a8cc9.zip
Notes
-rw-r--r--net/yaz/Makefile17
-rw-r--r--net/yaz/distinfo4
2 files changed, 16 insertions, 5 deletions
diff --git a/net/yaz/Makefile b/net/yaz/Makefile
index c9e816504101..3353aa1ebaeb 100644
--- a/net/yaz/Makefile
+++ b/net/yaz/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= yaz
-PORTVERSION= 5.0.5
+PORTVERSION= 5.0.9
CATEGORIES= net
MASTER_SITES= http://ftp.indexdata.dk/pub/yaz/
@@ -11,9 +11,14 @@ COMMENT= Z39.50/SR client and API library
LIB_DEPENDS= libicuuc.so:${PORTSDIR}/devel/icu
-USE_OPENSSL= yes
+USES= iconv pathfix pkgconfig shebangfix tcl
+SHEBANG_FILES= util/yaz-asncomp
+SHEBANG_LANG= tcl
+tcl_OLD_CMD= /usr/bin/tclsh
+tcl_CMD= ${TCLSH}
+
GNU_CONFIGURE= yes
-USES= pathfix pkgconfig iconv
+USE_OPENSSL= yes
USE_GNOME= libxml2 libxslt
USE_LDCONFIG= yes
@@ -24,8 +29,14 @@ CONFIGURE_ARGS+=--enable-shared --with-openssl=${OPENSSLBASE} \
OPTIONS_DEFINE= DOCS
+post-patch:
+ @${REINPLACE_CMD} 's|tclsh |tclsh8.6 |' ${WRKSRC}/configure
+
post-configure:
@${REINPLACE_CMD} -e 's,[$$]{datarootdir}/man,${PREFIX}/man,' \
${WRKSRC}/doc/Makefile
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.5
+
.include <bsd.port.mk>
diff --git a/net/yaz/distinfo b/net/yaz/distinfo
index 2ec7a412db65..16251f26e30f 100644
--- a/net/yaz/distinfo
+++ b/net/yaz/distinfo
@@ -1,2 +1,2 @@
-SHA256 (yaz-5.0.5.tar.gz) = c29bba7dc2f3cc8a0b2bdb6b704026e66c42da5b567c4b90aa965a2ce020628a
-SIZE (yaz-5.0.5.tar.gz) = 2441278
+SHA256 (yaz-5.0.9.tar.gz) = bf84f42cd442564bb911e869033c876c7ff561e203ae35504b8ca64f8575a8eb
+SIZE (yaz-5.0.9.tar.gz) = 2495037