summaryrefslogtreecommitdiff
path: root/textproc/sablotron
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2001-12-02 18:40:48 +0000
committerSteve Price <steve@FreeBSD.org>2001-12-02 18:40:48 +0000
commitab7bcfbb04b0e7a3dd9d07cf5aa98628948b2480 (patch)
treea6045239d006cd30204335df2b7cc34cdef2ba32 /textproc/sablotron
parentUpdate to version 2.4.18. (diff)
Update to version 0.71.
PR: 32334 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=50886
Diffstat (limited to 'textproc/sablotron')
-rw-r--r--textproc/sablotron/Makefile17
-rw-r--r--textproc/sablotron/distinfo2
-rw-r--r--textproc/sablotron/pkg-plist2
3 files changed, 15 insertions, 6 deletions
diff --git a/textproc/sablotron/Makefile b/textproc/sablotron/Makefile
index 2050078dbf33..909bb6edf0de 100644
--- a/textproc/sablotron/Makefile
+++ b/textproc/sablotron/Makefile
@@ -6,9 +6,9 @@
#
PORTNAME= Sablot
-PORTVERSION= 0.70
+PORTVERSION= 0.71
CATEGORIES= textproc
-MASTER_SITES= http://download.gingerall.cz/sablot/
+MASTER_SITES= http://download-2.gingerall.cz/download/sablot/
MAINTAINER= skv@protey.ru
@@ -16,11 +16,20 @@ LIB_DEPENDS= iconv.2:${PORTSDIR}/converters/iconv \
expat.2:${PORTSDIR}/textproc/expat2
INSTALLS_SHLIB= yes
+
+SHLIB_MAJOR= 66
+PLIST_SUB+= SHLIB_MAJOR="${SHLIB_MAJOR}"
+
CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include LDFLAGS=-L${LOCALBASE}/lib
+
USE_GMAKE= yes
-USE_AUTOCONF= yes
+USE_AUTOMAKE= yes
+AUTOMAKE_ARGS= -a
USE_LIBTOOL= yes
-PLIST_SUB= SHLIB_VER=${PORTVERSION:E}
+pre-patch:
+ @${PERL} -pi -e \
+ 's!(?<=libsablot_la_LDFLAGS = -version-info )(\d+):(\d+):\1!${SHLIB_MAJOR}:$$1:${SHLIB_MAJOR}!;' \
+ ${WRKSRC}/src/engine/Makefile.am
.include <bsd.port.mk>
diff --git a/textproc/sablotron/distinfo b/textproc/sablotron/distinfo
index 6e0e4f75a771..87e7d282a74f 100644
--- a/textproc/sablotron/distinfo
+++ b/textproc/sablotron/distinfo
@@ -1 +1 @@
-MD5 (Sablot-0.70.tar.gz) = c7e68658c10ca6f92dbf27c18270dc31
+MD5 (Sablot-0.71.tar.gz) = 5c5436b5b3c28f79e9d7f3bfddff5948
diff --git a/textproc/sablotron/pkg-plist b/textproc/sablotron/pkg-plist
index b6a6ddf82537..483011b77cc5 100644
--- a/textproc/sablotron/pkg-plist
+++ b/textproc/sablotron/pkg-plist
@@ -5,4 +5,4 @@ include/shandler.h
include/sxpath.h
lib/libsablot.a
lib/libsablot.so
-lib/libsablot.so.%%SHLIB_VER%%
+lib/libsablot.so.%%SHLIB_MAJOR%%