aboutsummaryrefslogtreecommitdiff
path: root/textproc/libxml++26
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-09-01 17:53:22 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-09-01 17:53:22 +0000
commitf0f47eeb45832ba36f4505bebba546bca9e366b5 (patch)
tree8e230780c6253e43e52b25ca7afef46d6147f81a /textproc/libxml++26
parent26ecdf9dc3c0a8acf1b428fe0ea319c4c27debe2 (diff)
downloadports-f0f47eeb45832ba36f4505bebba546bca9e366b5.tar.gz
ports-f0f47eeb45832ba36f4505bebba546bca9e366b5.zip
- Replace LIB_DEPENDS=libglibmm-2.4.so with USE_GNOME=glibmm
- Add USES=libtool and INSTALL_TARGET=install-strip
Notes
Notes: svn path=/head/; revision=366913
Diffstat (limited to 'textproc/libxml++26')
-rw-r--r--textproc/libxml++26/Makefile14
-rw-r--r--textproc/libxml++26/pkg-plist2
2 files changed, 6 insertions, 10 deletions
diff --git a/textproc/libxml++26/Makefile b/textproc/libxml++26/Makefile
index 0974dfebfbec..0686e1267b67 100644
--- a/textproc/libxml++26/Makefile
+++ b/textproc/libxml++26/Makefile
@@ -4,7 +4,7 @@
PORTNAME= libxml++
PORTVERSION= 2.34.2
-PORTREVISION?= 1
+PORTREVISION?= 2
CATEGORIES= textproc
MASTER_SITES= GNOME
@@ -17,22 +17,18 @@ PLIST_SUB= VERSION="2.6" API_VERSION="2.6"
.if !defined(REFERENCE_PORT)
-LATEST_LINK= libxml++26
-
-LIB_DEPENDS= libglibmm-2.4.so:${PORTSDIR}/devel/glibmm
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
-USES+= gmake pathfix pkgconfig
-USE_GNOME= libxml2
-GNU_CONFIGURE= yes
+USES+= gmake libtool pathfix pkgconfig
+USE_GNOME= glibmm libxml2
USE_LDCONFIG= yes
+GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-static --disable-documentation
+INSTALL_TARGET= install-strip
post-patch:
@${REINPLACE_CMD} -e '/^SUBDIRS =/s/examples//' \
${WRKSRC}/Makefile.in
- @${REINPLACE_CMD} -e '/^gentoo_ltmain_version=/s/`.*`/$$gentoo_lt_version/' \
- ${WRKSRC}/configure
@${REINPLACE_CMD} -e '/^library_configdir =/s/libdir/includedir/' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e '/^Cflags:/s/libdir/includedir/' \
diff --git a/textproc/libxml++26/pkg-plist b/textproc/libxml++26/pkg-plist
index f9349c1b936b..5726a1f1531e 100644
--- a/textproc/libxml++26/pkg-plist
+++ b/textproc/libxml++26/pkg-plist
@@ -30,9 +30,9 @@ include/libxml++-%%API_VERSION%%/libxml++/validators/dtdvalidator.h
include/libxml++-%%API_VERSION%%/libxml++/validators/schemavalidator.h
include/libxml++-%%API_VERSION%%/libxml++/validators/validator.h
lib/libxml++-%%VERSION%%.a
-lib/libxml++-%%VERSION%%.la
lib/libxml++-%%VERSION%%.so
lib/libxml++-%%VERSION%%.so.2
+lib/libxml++-%%VERSION%%.so.2.0.7
libdata/pkgconfig/libxml++-%%API_VERSION%%.pc
@dirrm include/libxml++-%%API_VERSION%%/libxml++/validators
@dirrm include/libxml++-%%API_VERSION%%/libxml++/parsers