aboutsummaryrefslogtreecommitdiffstats
path: root/net/avahi-gtk/Makefile
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2013-12-15 00:25:21 +0800
committerkwm <kwm@FreeBSD.org>2013-12-15 00:25:21 +0800
commit2088a24d68151e9b6b442c8d77b67c3f1d26ce47 (patch)
tree07bb0ff9643ebd3d1234686814d66bf988752901 /net/avahi-gtk/Makefile
parent6dcac13948cbb3c8617ff72e5debee4e18f9ddd6 (diff)
downloadfreebsd-ports-gnome-2088a24d68151e9b6b442c8d77b67c3f1d26ce47.tar.gz
freebsd-ports-gnome-2088a24d68151e9b6b442c8d77b67c3f1d26ce47.tar.zst
freebsd-ports-gnome-2088a24d68151e9b6b442c8d77b67c3f1d26ce47.zip
Update to new lib_depends syntax, stageify,
Unbreak py-avahi and allow avahi-gtk3 to build with gtk+ 3.10.
Diffstat (limited to 'net/avahi-gtk/Makefile')
-rw-r--r--net/avahi-gtk/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/net/avahi-gtk/Makefile b/net/avahi-gtk/Makefile
index 349d34997b04..c56a136c8030 100644
--- a/net/avahi-gtk/Makefile
+++ b/net/avahi-gtk/Makefile
@@ -9,7 +9,7 @@ PKGNAMESUFFIX= -gtk
MAINTAINER= gnome@FreeBSD.org
COMMENT= Gtk+ tools and bindings to the Avahi mDNS system
-LIB_DEPENDS= avahi-common:${PORTSDIR}/net/avahi-app
+LIB_DEPENDS= libavahi-common.so:${PORTSDIR}/net/avahi-app
RUN_DEPENDS= avahi-header>=0.6:${PORTSDIR}/net/avahi-header
MASTERDIR= ${.CURDIR}/../avahi-app
@@ -21,12 +21,10 @@ PLIST= ${.CURDIR}/pkg-plist
AVAHI_SLAVE= gtk
AVAHI_PKGCONFIG=avahi-ui.pc
-MAN1+= bssh.1
-MLINKS+= bssh.1 bvnc.1 \
- bssh.1 bshell.1
+MANPAGES= bssh.1
+
USE_GNOME+= libglade2
-NO_STAGE= yes
post-build:
@(cd ${WRKSRC}/avahi-discover-standalone; \
${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
@@ -34,5 +32,8 @@ post-build:
post-install:
@(cd ${WRKSRC}/avahi-discover-standalone; \
${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
+ ${LN} -sf man/man1/bssh.1 ${STAGEDIR}${PREFIX}/man/man1/bvnc.1
+ ${LN} -sf man/man1/bssh.1 ${STAGEDIR}${PREFIX}/man/man1/bshell.1
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libavahi-ui.so.0
.include "${MASTERDIR}/Makefile"