blob: 01371de2532102351eb9d15c70800bb5fede4873 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# 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"
|