aboutsummaryrefslogtreecommitdiff
path: root/textproc/ots
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-07-02 20:58:04 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-07-02 20:58:04 +0000
commit2fd54788f81d194061077753e0d61aa098301025 (patch)
treed54fd985b095d5691ee64b25731528c7e902d0df /textproc/ots
parentd8c4aa957855008ec151ebed8ee626280bffdf4a (diff)
downloadports-2fd54788f81d194061077753e0d61aa098301025.tar.gz
ports-2fd54788f81d194061077753e0d61aa098301025.zip
- Add USES=libtool to textproc/ots and bump dependent ports
- Run libtoolize and other autotools because configure and ltmain.sh are out of sync
Notes
Notes: svn path=/head/; revision=360263
Diffstat (limited to 'textproc/ots')
-rw-r--r--textproc/ots/Makefile18
-rw-r--r--textproc/ots/pkg-plist5
2 files changed, 11 insertions, 12 deletions
diff --git a/textproc/ots/Makefile b/textproc/ots/Makefile
index 0cf961bf6f9e..fc79f44a10d1 100644
--- a/textproc/ots/Makefile
+++ b/textproc/ots/Makefile
@@ -3,30 +3,28 @@
PORTNAME= ots
PORTVERSION= 0.5.0
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= textproc
MASTER_SITES= SF/lib${PORTNAME}/lib${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Open Text Summarizer
-LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
+LIB_DEPENDS= libpopt.so:${PORTSDIR}/devel/popt
+USES= gettext libtool pathfix pkgconfig
+PATHFIX_MAKEFILEIN= Makefile.am
+USE_AUTOTOOLS= libtoolize aclocal autoconf autoheader automake
+AUTOMAKE_ARGS= -a -c -f
USE_GNOME= glib20 libxml2
USE_LDCONFIG= yes
-USES= gettext pkgconfig
-USE_AUTOTOOLS= libtool
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-CONFIGURE_ARGS= --disable-shared
-MAKE_ARGS= pkgconfigdir="${PREFIX}/libdata/pkgconfig"
MAKE_JOBS_UNSAFE=yes
post-patch:
- @${REINPLACE_CMD} -e '/^SUBDIRS/s|doc||' ${WRKSRC}/Makefile.in
-
-post-build:
- @${REINPLACE_CMD} -e '/old_library/d' ${WRKSRC}/src/libots-1.la
+ @${REINPLACE_CMD} -e '/^SUBDIRS/s|doc||' ${WRKSRC}/Makefile.am
+ @${REINPLACE_CMD} -e '\|doc/Makefile|d' ${WRKSRC}/configure.in
.include <bsd.port.mk>
diff --git a/textproc/ots/pkg-plist b/textproc/ots/pkg-plist
index 54117cc4e2b3..c2549c9dee32 100644
--- a/textproc/ots/pkg-plist
+++ b/textproc/ots/pkg-plist
@@ -1,8 +1,9 @@
bin/ots
include/libots-1/ots/libots.h
-lib/libots-1.la
+lib/libots-1.a
lib/libots-1.so
-lib/libots-1.so.5
+lib/libots-1.so.0
+lib/libots-1.so.0.5.0
libdata/pkgconfig/libots-1.pc
%%DATADIR%%/bg.xml
%%DATADIR%%/ca.xml