aboutsummaryrefslogtreecommitdiffstats
path: root/www/libepc
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-07-03 01:04:55 +0800
committertijl <tijl@FreeBSD.org>2014-07-03 01:04:55 +0800
commit92eda1fe7ce9390ddd85aa834d361f154eda2bb5 (patch)
tree0316b4b03903c27332db54cd45ced13403f6ee57 /www/libepc
parent50c1a89583277f505bb6f3ddcc2dc5ea799a7f67 (diff)
downloadfreebsd-ports-gnome-92eda1fe7ce9390ddd85aa834d361f154eda2bb5.tar.gz
freebsd-ports-gnome-92eda1fe7ce9390ddd85aa834d361f154eda2bb5.tar.zst
freebsd-ports-gnome-92eda1fe7ce9390ddd85aa834d361f154eda2bb5.zip
- New LIB_DEPENDS syntax
- USES=libtool pathfix tar:bzip2
Diffstat (limited to 'www/libepc')
-rw-r--r--www/libepc/Makefile20
-rw-r--r--www/libepc/pkg-plist4
2 files changed, 15 insertions, 9 deletions
diff --git a/www/libepc/Makefile b/www/libepc/Makefile
index 7152628e2cb6..2b872d90d459 100644
--- a/www/libepc/Makefile
+++ b/www/libepc/Makefile
@@ -3,24 +3,30 @@
PORTNAME= libepc
PORTVERSION= 0.3.11
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= www
MASTER_SITES= GNOME
MAINTAINER= kwm@FreeBSD.org
COMMENT= The Easy Publish and Consume library
-LIB_DEPENDS= uuid.1:${PORTSDIR}/misc/e2fsprogs-libuuid \
- soup-2.4.1:${PORTSDIR}/devel/libsoup \
- avahi-ui.0:${PORTSDIR}/net/avahi-gtk
+LIB_DEPENDS= libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid \
+ libsoup-2.4.so:${PORTSDIR}/devel/libsoup \
+ libavahi-ui.so:${PORTSDIR}/net/avahi-gtk
-USE_BZIP2= yes
-USES= gettext gmake pkgconfig
-USE_GNOME= gnomeprefix gnomehack gtk20
+USES= gettext gmake libtool pathfix pkgconfig tar:bzip2
+USE_GNOME= gnomeprefix gtk20
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --enable-static
+post-patch:
+ @${REINPLACE_CMD} \
+ -e '/^examples_server_credentials_LDADD =/s/$$/ $$(LIBEPC_UI_LIBS)/' \
+ -e '/^examples_service_browser_LDADD =/s/$$/ $$(LIBEPC_LIBS)/' \
+ -e '/^tests_test_progress_hooks_LDADD =/s/$$/ $$(LIBEPC_UI_LIBS)/' \
+ ${WRKSRC}/Makefile.in
+
.include <bsd.port.mk>
diff --git a/www/libepc/pkg-plist b/www/libepc/pkg-plist
index be26a9d7a3ad..384f1427ed9b 100644
--- a/www/libepc/pkg-plist
+++ b/www/libepc/pkg-plist
@@ -13,13 +13,13 @@ include/libepc-1.0/libepc/tls.h
include/libepc-ui-1.0/libepc-ui/password-dialog.h
include/libepc-ui-1.0/libepc-ui/progress-window.h
lib/libepc-1.0.a
-lib/libepc-1.0.la
lib/libepc-1.0.so
lib/libepc-1.0.so.2
+lib/libepc-1.0.so.2.0.0
lib/libepc-ui-1.0.a
-lib/libepc-ui-1.0.la
lib/libepc-ui-1.0.so
lib/libepc-ui-1.0.so.2
+lib/libepc-ui-1.0.so.2.0.0
libdata/pkgconfig/libepc-1.0.pc
libdata/pkgconfig/libepc-ui-1.0.pc
%%DOCSDIR%%/EpcConsumer.html