blob: 7f1f9dc23cb9ec12f4dd78f35a79dff05bd0ad6a (
plain) (
blame)
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
  | 
# New ports collection makefile for:    gnome-user-share
# Date created:             26 November 2004
# Whom:                 Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/www/gnome-user-share/Makefile,v 1.19 2010/02/24 15:26:37 avl Exp $
#
PORTNAME=   gnome-user-share
PORTVERSION=    2.29.92
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.1:${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
USE_GMAKE=  yes
USE_GETTEXT=    yes
USE_APACHE= 2.2+
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}
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"
GCONF_SCHEMAS=  desktop_gnome_file_sharing.schemas
post-patch:
    @${REINPLACE_CMD} -e 's|/etc/httpd/modules|${LOCALBASE}/${APACHEMODDIR}|g' \
        ${WRKSRC}/data/dav_user_*.conf
.include <bsd.port.mk>
  |