summaryrefslogtreecommitdiffstats
path: root/www/gnome-user-share/Makefile
blob: bbf4efbdc1bf5b22562cf3ecae842383baddb2db (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
# New ports collection makefile for:    gnome-user-share
# Date created:             26 November 2004
# Whom:                 Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD: ports/www/gnome-user-share/Makefile,v 1.14 2006/04/20 02:27:30 marcus Exp $
#

PORTNAME=   gnome-user-share
PORTVERSION=    0.10
PORTREVISION=   1
CATEGORIES= www deskutils gnome
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.10
DIST_SUBDIR=    gnome2

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Personal file-sharing service for the GNOME Desktop

LIB_DEPENDS=    avahi-client:${PORTSDIR}/net/avahi

USE_BZIP2=  yes
USE_GMAKE=  yes
USE_GETTEXT=    yes
USE_X_PREFIX=   yes
USE_APACHE= 2.0+
USE_GNOME=  gnomeprefix gnomehack intlhack libglade2 gconf2
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --disable-howl
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}/dav_user_${APACHE_VERSION:C/([0-9])$/.\1/}.conf

.include <bsd.port.mk>