mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
f42194f09f
Submitted by: adamw@
48 lines
1.3 KiB
Makefile
48 lines
1.3 KiB
Makefile
# Created by: Michael Johnson <ahze@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTREVISION= 0
|
|
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"
|