summaryrefslogtreecommitdiffstats
path: root/www/gnome-user-share/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/gnome-user-share/Makefile')
-rw-r--r--www/gnome-user-share/Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/www/gnome-user-share/Makefile b/www/gnome-user-share/Makefile
new file mode 100644
index 000000000..86b03aa67
--- /dev/null
+++ b/www/gnome-user-share/Makefile
@@ -0,0 +1,41 @@
+# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
+# $FreeBSD$
+# $MCom$
+
+PORTNAME= gnome-user-share
+PORTVERSION= 3.10.1
+PORTREVISION= 2
+CATEGORIES= www deskutils gnome
+MASTER_SITES= GNOME
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Personal file-sharing service for the GNOME Desktop
+
+BUILD_DEPENDS= itstool:${PORTSDIR}/textproc/itstool
+LIB_DEPENDS= libavahi-client.so:${PORTSDIR}/net/avahi-app \
+ libnotify.so:${PORTSDIR}/devel/libnotify \
+ libcanberra-gtk3.so:${PORTSDIR}/audio/libcanberra-gtk3 \
+ libunique-1.0.so:${PORTSDIR}/x11-toolkits/unique
+RUN_DEPENDS= ${LOCALBASE}/${APACHEMODDIR}/mod_dnssd.so:${PORTSDIR}/www/mod_dnssd \
+ console-kit-daemon:${PORTSDIR}/sysutils/consolekit
+
+USES= gettext gmake pkgconfig tar:xz
+USE_APACHE= 22
+USE_XORG= sm
+USE_GNOME= gnomeprefix gtk30 intlhack nautilus3
+GNU_CONFIGURE= yes
+INSTALLS_ICONS= yes
+CONFIGURE_ARGS= --with-modules-path=${LOCALBASE}/${APACHEMODDIR} \
+ --disable-bluetooth
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/etc/httpd/modules|${LOCALBASE}/${APACHEMODDIR}|g' \
+ ${WRKSRC}/data/dav_user_*.conf
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/nautilus/extensions-3.0/libnautilus-share-extension.so
+
+.include <bsd.port.mk>