diff options
author | Steve Price <steve@FreeBSD.org> | 2001-12-02 18:40:48 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 2001-12-02 18:40:48 +0000 |
commit | ab7bcfbb04b0e7a3dd9d07cf5aa98628948b2480 (patch) | |
tree | a6045239d006cd30204335df2b7cc34cdef2ba32 /textproc/sablotron/Makefile | |
parent | b1f3b37ba74112e6fe943c92ebba35ab06187d0c (diff) | |
download | ports-ab7bcfbb04b0e7a3dd9d07cf5aa98628948b2480.tar.gz ports-ab7bcfbb04b0e7a3dd9d07cf5aa98628948b2480.zip |
Notes
Diffstat (limited to 'textproc/sablotron/Makefile')
-rw-r--r-- | textproc/sablotron/Makefile | 17 |
1 files changed, 13 insertions, 4 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> |