aboutsummaryrefslogtreecommitdiff
path: root/textproc/libextractor
diff options
context:
space:
mode:
authorVasil Dimov <vd@FreeBSD.org>2006-09-07 13:18:36 +0000
committerVasil Dimov <vd@FreeBSD.org>2006-09-07 13:18:36 +0000
commit422232891e40a4869d45d7a479696bb7c9e87e40 (patch)
treed5784304fc0f7bd1f36655ca0b710217e46c2132 /textproc/libextractor
parent0a4d0c6db90f3b7d70306d7d352b6a42866d944e (diff)
downloadports-422232891e40a4869d45d7a479696bb7c9e87e40.tar.gz
ports-422232891e40a4869d45d7a479696bb7c9e87e40.zip
Notes
Diffstat (limited to 'textproc/libextractor')
-rw-r--r--textproc/libextractor/Makefile22
-rw-r--r--textproc/libextractor/distinfo6
-rw-r--r--textproc/libextractor/pkg-plist5
3 files changed, 18 insertions, 15 deletions
diff --git a/textproc/libextractor/Makefile b/textproc/libextractor/Makefile
index d58e62b1de1f..1a2e70746ff1 100644
--- a/textproc/libextractor/Makefile
+++ b/textproc/libextractor/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= libextractor
-PORTVERSION= 0.5.14
-PORTREVISION= 1
+PORTVERSION= 0.5.15
CATEGORIES= textproc
MASTER_SITES= http://gnunet.org/libextractor/download/ \
${MASTER_SITE_GNU}
@@ -16,23 +15,23 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= vd@FreeBSD.org
COMMENT= Library for keyword extraction
+LIB_DEPENDS= mpeg2:${PORTSDIR}/multimedia/libmpeg2
+
USE_GCC= 3.4+
USE_GNOME= glib20
USE_PYTHON= yes
USE_AUTOTOOLS= libltdl:15
USE_DOS2UNIX= yes
GNU_CONFIGURE= yes
-INSTALLS_SHLIB= yes
-CONFIGURE_ARGS= --disable-ltdl-install
+USE_LDCONFIG= yes
+CONFIGURE_ARGS= --disable-ltdl-install --mandir=${PREFIX}/man
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-LIB_DEPENDS= mpeg2:${PORTSDIR}/multimedia/libmpeg2
-
EXTRACT_AFTER_ARGS= | ${TAR} -xf - --exclude libltdl
-MAN1= extract.1
-MAN3= libextractor.3
+MAN1= extract.1
+MAN3= libextractor.3
post-patch:
@${FIND} ${WRKSRC} -type f | ${XARGS} ${TOUCH} -f
@@ -45,6 +44,9 @@ post-patch:
@${REINPLACE_CMD} -e 's|^#ifdef EXV_HAVE_STDINT_H$$|#if EXV_HAVE_STDINT_H|' \
${WRKSRC}/src/plugins/exiv2/types.hpp
+pre-install:
+ ${MKDIR} ${PREFIX}/lib/libextractor
+
check: build
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
@@ -56,9 +58,9 @@ LIB_DEPENDS+= Magick.10:${PORTSDIR}/graphics/ImageMagick
.if exists(${LOCALBASE}/include/vorbis/vorbisfile.h)
LIB_DEPENDS+= vorbis.3:${PORTSDIR}/audio/libvorbis
-PLIST_SUB+= VORBIS:=""
+PLIST_SUB+= VORBIS=""
.else
-PLIST_SUB+= VORBIS:="@comment "
+PLIST_SUB+= VORBIS="@comment "
.endif
patch-autotools::
diff --git a/textproc/libextractor/distinfo b/textproc/libextractor/distinfo
index 754a4ca1c534..dd22ca92a70d 100644
--- a/textproc/libextractor/distinfo
+++ b/textproc/libextractor/distinfo
@@ -1,3 +1,3 @@
-MD5 (libextractor-0.5.14.tar.gz) = 7e1d281cde1b2d2a7509626e45872818
-SHA256 (libextractor-0.5.14.tar.gz) = eee89fcffd19de26a25d8445499784d0e6cd893f240e607a7eba6f2a3f08acc3
-SIZE (libextractor-0.5.14.tar.gz) = 7750318
+MD5 (libextractor-0.5.15.tar.gz) = 6a08e6489abe44b859bd7f0546ab4880
+SHA256 (libextractor-0.5.15.tar.gz) = 0c5e62d9779b030aab051800c8207659fddc57002145e325c3bd0b36c87fedc0
+SIZE (libextractor-0.5.15.tar.gz) = 7770118
diff --git a/textproc/libextractor/pkg-plist b/textproc/libextractor/pkg-plist
index b27818dc8570..9e8c1f445174 100644
--- a/textproc/libextractor/pkg-plist
+++ b/textproc/libextractor/pkg-plist
@@ -43,8 +43,8 @@ lib/libextractor/libextractor_mp3.la
lib/libextractor/libextractor_mp3.so
lib/libextractor/libextractor_mpeg.la
lib/libextractor/libextractor_mpeg.so
-%%VORBIS:%%lib/libextractor/libextractor_ogg.la
-%%VORBIS:%%lib/libextractor/libextractor_ogg.so
+%%VORBIS%%lib/libextractor/libextractor_ogg.la
+%%VORBIS%%lib/libextractor/libextractor_ogg.so
lib/libextractor/libextractor_oo.la
lib/libextractor/libextractor_oo.so
lib/libextractor/libextractor_pdf.la
@@ -87,6 +87,7 @@ lib/libextractor/libextractor_split.la
lib/libextractor/libextractor_split.so
lib/libextractor/libextractor_tar.la
lib/libextractor/libextractor_tar.so
+lib/libextractor/libextractor_thumbnail.so
lib/libextractor/libextractor_tiff.la
lib/libextractor/libextractor_tiff.so
lib/libextractor/libextractor_translit.la