freebsd-ports/www/gnome-user-share/Makefile

39 lines
1.1 KiB
Makefile

# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
PORTNAME= gnome-user-share
PORTVERSION= 2.30.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
LIB_DEPENDS= avahi-client:${PORTSDIR}/net/avahi-app \
canberra.0:${PORTSDIR}/audio/libcanberra \
notify.4:${PORTSDIR}/devel/libnotify \
unique-1.0.2:${PORTSDIR}/x11-toolkits/unique
RUN_DEPENDS= ${LOCALBASE}/${APACHEMODDIR}/mod_dnssd.so:${PORTSDIR}/www/mod_dnssd \
console-kit-daemon:${PORTSDIR}/sysutils/consolekit
USE_BZIP2= yes
USES= gettext gmake pkgconfig
USE_APACHE= 22
USE_XORG= sm
USE_GNOME= gnomeprefix gnomehack intlhack gtk20 gconf2 gnomedocutils nautilus2
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
CONFIGURE_ARGS= --with-modules-path=${LOCALBASE}/${APACHEMODDIR}
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GCONF_SCHEMAS= desktop_gnome_file_sharing.schemas
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|/etc/httpd/modules|${LOCALBASE}/${APACHEMODDIR}|g' \
${WRKSRC}/data/dav_user_*.conf
.include <bsd.port.mk>