aboutsummaryrefslogtreecommitdiff
path: root/net/avahi-sharp/Makefile
diff options
context:
space:
mode:
authorTom McLaughlin <tmclaugh@FreeBSD.org>2006-02-19 07:20:26 +0000
committerTom McLaughlin <tmclaugh@FreeBSD.org>2006-02-19 07:20:26 +0000
commit2bf52d522f6c9388af152255f0abe2897c94181d (patch)
tree73b578f3d650af69c826376a61c6b7cda12d66a7 /net/avahi-sharp/Makefile
parent3f88c858b13f4267f690c2a20415ea6c479909b9 (diff)
downloadports-2bf52d522f6c9388af152255f0abe2897c94181d.tar.gz
ports-2bf52d522f6c9388af152255f0abe2897c94181d.zip
Notes
Diffstat (limited to 'net/avahi-sharp/Makefile')
-rw-r--r--net/avahi-sharp/Makefile55
1 files changed, 55 insertions, 0 deletions
diff --git a/net/avahi-sharp/Makefile b/net/avahi-sharp/Makefile
new file mode 100644
index 000000000000..d74cd57e14e1
--- /dev/null
+++ b/net/avahi-sharp/Makefile
@@ -0,0 +1,55 @@
+# New ports collection makefile for: avahi-sharp
+# Date Created: 20041011
+# Whom: Tom McLaughlin <tmclaugh@FreeBSD.org>
+#
+# $FreeBSD$
+# $Id: Makefile,v 1.2 2006/02/15 19:15:40 tmclau02 Exp $
+#
+
+PORTREVISION= 0
+CATEGORIES= net dns
+PKGNAMESUFFIX= -sharp
+
+MAINTAINER= bsd-sharp-list@forge.novell.com
+COMMENT= Mono bindings for Avahi service discovery
+
+LIB_DEPENDS= avahi-core:${PORTSDIR}/net/avahi
+BUILD_DEPENDS= mono:${PORTSDIR}/lang/mono
+RUN_DEPENDS= mono:${PORTSDIR}/lang/mono
+
+MASTERDIR= ${.CURDIR}/../avahi
+BUILD_WRKSRC= ${WRKSRC}/avahi-sharp
+INSTALL_WRKSRC= ${BUILD_WRKSRC}
+DESCR= ${.CURDIR}/pkg-descr
+PLIST= ${.CURDIR}/pkg-plist
+
+AVAHI_SLAVE= yes
+
+USE_GNOME= gnomehack gnometarget
+CONFIGURE_ARGS= --with-distro=freebsd \
+ --with-dbus-system-address=unix:path=/var/run/dbus \
+ --disable-qt3 \
+ --disable-qt4 \
+ --disable-python \
+ --enable-mono \
+ --disable-monodoc \
+ --disable-doxygen-doc \
+ --disable-doxygen-dot \
+ --localstatedir=/var
+
+post-patch:
+ @${REINPLACE_CMD} 's|@CLIENT_DLNAME@|libavahi-client.so|g; \
+ s|@COMMON_DLNAME@|libavahi-common.so|g; \
+ s|@GLIB_DLNAME@|libavahi-glib.so|g' \
+ ${BUILD_WRKSRC}/avahi-sharp.dll.config.in
+ @${REINPLACE_CMD} 's|@prefix@|${PREFIX}|g; \
+ s|@libdir@|$${prefix}/lib|g; \
+ s|@PACKAGE_VERSION@|${PORTVERSION}|g' \
+ ${WRKSRC}/avahi-sharp.pc.in
+ @${CP} ${WRKSRC}/avahi-sharp.pc.in ${WRKSRC}/avahi-sharp.pc
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/avahi-sharp.pc ${PREFIX}/libdata/pkgconfig/
+
+.include "${.CURDIR}/../../lang/mono/bsd.mono.mk"
+.include "${MASTERDIR}/Makefile"