1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/net/avahi-gtk3/Makefile
2021-04-06 16:31:07 +02:00

42 lines
1.2 KiB
Makefile

# Created by: Michael Johnson <ahze@FreeBSD.org>
PORTREVISION= 0
CATEGORIES= net
PKGNAMESUFFIX= -gtk3
MAINTAINER= gnome@FreeBSD.org
COMMENT= Gtk+ 3 library to the Avahi mDNS system
LIB_DEPENDS= libavahi-common.so:net/avahi-app \
libgdbm.so:databases/gdbm \
libharfbuzz.so:print/harfbuzz
RUN_DEPENDS= avahi-header>=0.8: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= gtk3
AVAHI_PKGCONFIG=avahi-ui-gtk3.pc
USE_GNOME+= cairo gdkpixbuf2 gtk30
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 libavahi-ui-gtk3.la
${DO_MAKE_BUILD} -C ${WRKSRC}/avahi-discover-standalone
do-install:
@(cd ${WRKSRC}/avahi-discover-standalone; ${MAKE_CMD} ${MAKE_ARGS} install-binPROGRAMS install-interfacesDATA)
# @(cd ${WRKSRC}/avahi-ui; ${MAKE_CMD} ${MAKE_ARGS} install-libLTLIBRARIES)
@(cd ${WRKSRC}/avahi-ui; ${MAKE_CMD} ${MAKE_ARGS} install-binPROGRAMS install-desktopDATA install-exec-local)
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libavahi-ui-gtk3.so
.include "${MASTERDIR}/Makefile"