1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/net/avahi-gtk/Makefile
Alexey Dokuchaev 936a36e30d Update `databases/gdbm' to version 1.18.1, an important bugfix release
which restores compatibility with old databases (version 1.8) and some
later versions which were built without mmap(2) support.  Due to shlib
version change, bump port revisions of the consumer ports.

PR:		233059
Exp-run by:	antoine
Approved by:	maintainer (johans, numerous timeouts)
2018-11-11 15:38:50 +00:00

48 lines
1.3 KiB
Makefile

# Created by: Michael Johnson <ahze@FreeBSD.org>
# $FreeBSD$
PORTREVISION= 1
CATEGORIES= net
PKGNAMESUFFIX= -gtk
MAINTAINER= gnome@FreeBSD.org
COMMENT= Gtk+ tools and bindings to the Avahi mDNS system
LIB_DEPENDS= libavahi-common.so:net/avahi-app \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libgdbm.so:databases/gdbm
RUN_DEPENDS= avahi-header>=0.6:net/avahi-header
MASTERDIR= ${.CURDIR}/../avahi-app
BUILD_WRKSRC= ${WRKSRC}/avahi-ui
INSTALL_WRKSRC= ${BUILD_WRKSRC}
DESCR= ${.CURDIR}/pkg-descr
PLIST= ${.CURDIR}/pkg-plist
AVAHI_SLAVE= gtk
AVAHI_PKGCONFIG=avahi-ui.pc
MANPAGES= bssh.1
USE_GNOME+= cairo gdkpixbuf2 libglade2
do-build:
@${DO_MAKE_BUILD} -C ${WRKSRC}/avahi-common
@${DO_MAKE_BUILD} -C ${WRKSRC}/avahi-client
@${DO_MAKE_BUILD} -C ${WRKSRC}/avahi-glib
@${DO_MAKE_BUILD} -C ${WRKSRC}/avahi-ui
post-build:
@(cd ${WRKSRC}/avahi-discover-standalone && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
post-install:
@(cd ${WRKSRC}/avahi-discover-standalone && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
${LN} -sf bssh.1 ${STAGEDIR}${MANPREFIX}/man/man1/bvnc.1
${LN} -sf bssh.1 ${STAGEDIR}${MANPREFIX}/man/man1/bshell.1
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libavahi-ui.so.0
.include "${MASTERDIR}/Makefile"