aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libwmf
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-08-25 05:30:44 +0800
committertijl <tijl@FreeBSD.org>2014-08-25 05:30:44 +0800
commitfafbf8a0095fd73a5c1d7a2d841a7abc3b991719 (patch)
tree4d4450508ae2434c0347311945a32e17a6f1c4cf /graphics/libwmf
parenta897c7ba70b27801127cb5ac384a93ec60270af8 (diff)
downloadfreebsd-ports-gnome-fafbf8a0095fd73a5c1d7a2d841a7abc3b991719.tar.gz
freebsd-ports-gnome-fafbf8a0095fd73a5c1d7a2d841a7abc3b991719.tar.zst
freebsd-ports-gnome-fafbf8a0095fd73a5c1d7a2d841a7abc3b991719.zip
- Convert graphics/libwmf to USES=libtool and bump dependent ports
- Add INSTALL_TARGET=install-strip
Diffstat (limited to 'graphics/libwmf')
-rw-r--r--graphics/libwmf/Makefile13
-rw-r--r--graphics/libwmf/files/patch-ltmain.sh15
-rw-r--r--graphics/libwmf/pkg-plist8
3 files changed, 10 insertions, 26 deletions
diff --git a/graphics/libwmf/Makefile b/graphics/libwmf/Makefile
index 1677eb521496..4f661c056cab 100644
--- a/graphics/libwmf/Makefile
+++ b/graphics/libwmf/Makefile
@@ -3,7 +3,7 @@
PORTNAME= libwmf
PORTVERSION= 0.2.8.4
-PORTREVISION= 11
+PORTREVISION= 12
CATEGORIES= graphics
MASTER_SITES= SF/wvware/${PORTNAME}/${PORTVERSION}
@@ -12,19 +12,19 @@ COMMENT= Tools and library for converting Microsoft WMF (windows metafile)
LICENSE= GPLv2
-BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2
LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \
libpng.so:${PORTSDIR}/graphics/png \
libfreetype.so:${PORTSDIR}/print/freetype2
CONFLICTS?= libwmf-nox11-[0-9]*
-USE_AUTOTOOLS= libtool
-USE_GNOME= libxml2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-sys-gd=no \
--with-png=${LOCALBASE} --with-jpeg=${LOCALBASE} \
--with-gsfontdir=${LOCALBASE}/share/ghostscript/fonts
+INSTALL_TARGET= install-strip
+USES= libtool
+USE_GNOME= libxml2
USE_LDCONFIG= yes
PORTDOCS= *
@@ -41,10 +41,9 @@ X11_CONFIGURE_OFF=--with-x=no
post-patch:
@${REINPLACE_CMD} -e 's|src include fonts doc|src include fonts|g' \
${WRKSRC}/Makefile.in
- @${REINPLACE_CMD} -e 's|@LT_CURRENT@|2|g ; \
- s|@LIBWMF_GDK_PIXBUF_TRUE@|#|g ; \
+ @${REINPLACE_CMD} -e \
+ 's|@LIBWMF_GDK_PIXBUF_TRUE@|#|g ; \
s|@LIBWMF_GDK_PIXBUF_FALSE@||g ; \
- s|-release $$(LT_RELEASE)||g ; \
s|: install-loaderLTLIBRARIES|:|g' ${WRKSRC}/src/Makefile.in
post-install:
diff --git a/graphics/libwmf/files/patch-ltmain.sh b/graphics/libwmf/files/patch-ltmain.sh
deleted file mode 100644
index f83fdb86dd19..000000000000
--- a/graphics/libwmf/files/patch-ltmain.sh
+++ /dev/null
@@ -1,15 +0,0 @@
---- ltmain.sh.orig Wed May 15 18:57:35 2002
-+++ ltmain.sh Fri May 17 21:18:44 2002
-@@ -4731,10 +4731,12 @@
- fi
-
- # Install the pseudo-library for information purposes.
-+ if /usr/bin/false; then
- name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
- instname="$dir/$name"i
- $show "$install_prog $instname $destdir/$name"
- $run eval "$install_prog $instname $destdir/$name" || exit $?
-+ fi
-
- # Maybe install the static library, too.
- test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff --git a/graphics/libwmf/pkg-plist b/graphics/libwmf/pkg-plist
index d03cfba1f490..9ccfee8a5d2f 100644
--- a/graphics/libwmf/pkg-plist
+++ b/graphics/libwmf/pkg-plist
@@ -29,14 +29,14 @@ include/libwmf/macro.h
include/libwmf/svg.h
include/libwmf/types.h
include/libwmf/x.h
+lib/libwmf-0.2.so.7
+lib/libwmf-0.2.so.7.1.0
lib/libwmf.a
-lib/libwmf.la
lib/libwmf.so
-lib/libwmf.so.2
+lib/libwmflite-0.2.so.7
+lib/libwmflite-0.2.so.7.0.1
lib/libwmflite.a
-lib/libwmflite.la
lib/libwmflite.so
-lib/libwmflite.so.7
%%DATADIR%%/fonts/fontmap
%%DATADIR%%/fonts/n019003l.afm
%%DATADIR%%/fonts/n019003l.pfb