ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/devel/gnome-vfs/Makefile
Revision: 18188
Committed: Wed Mar 18 00:27:04 2015 UTC (9 years, 1 month ago) by laffer1
File size: 3011 byte(s)
Log Message:
gnome-vfs 2.24.4

File Contents

# User Rev Content
1 laffer1 1754 # New ports collection makefile for: gnomevfs2
2     # Date created: 28th June 2000
3     # Whom: Ade Lovett <ade@FreeBSD.org>
4     #
5 laffer1 15462 # $MidnightBSD$
6 laffer1 1754 # $FreeBSD: ports/devel/gnome-vfs/Makefile,v 1.123 2007/04/11 14:52:49 marcus Exp $
7     # $MCom: ports/devel/gnome-vfs/Makefile,v 1.167 2007/03/13 13:02:20 ahze Exp $
8     #
9    
10     PORTNAME= gnome-vfs
11 laffer1 18188 PORTVERSION= 2.24.4
12     PORTREVISION?= 0
13 laffer1 1754 CATEGORIES= devel gnome
14 laffer1 9367 MASTER_SITES= GNOME
15 laffer1 1754 DIST_SUBDIR= gnome2
16    
17     MAINTAINER= ports@MidnightBSD.org
18     COMMENT= GNOME Virtual File System
19 laffer1 5304 LICENSE= gpl2
20 laffer1 1754
21 laffer1 18188 USES= tar:bzip2
22 laffer1 1754
23     .if !defined(REFERENCE_PORT)
24    
25 laffer1 18188 RUN_DEPENDS= update-mime-database:${PORTSDIR}/misc/shared-mime-info
26 crash 8651
27 laffer1 18188 USES+= gettext gmake libtool:keepla pathfix pkgconfig
28     USE_GNOME= gnomeprefix intlhack gnomemimedata gconf2 \
29     referencehack
30     INSTALL_TARGET= install-strip
31 laffer1 1754 USE_OPENSSL= yes
32     USE_LDCONFIG= yes
33 laffer1 18188 GNU_CONFIGURE= yes
34 laffer1 1754 CONFIGURE_ARGS= --enable-openssl \
35     --disable-gnutls \
36     --disable-howl \
37     --with-hal-mount=/sbin/mount \
38     --with-hal-umount=/sbin/umount
39 laffer1 18188 CPPFLAGS+= -I${LOCALBASE}/include
40     LDFLAGS+= -L${LOCALBASE}/lib
41 laffer1 1754
42     PKGINSTALL= ${WRKDIR}/pkg-install
43     PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
44    
45     GCONF_SCHEMAS= desktop_default_applications.schemas \
46     desktop_gnome_url_handlers.schemas system_dns_sd.schemas \
47     system_http_proxy.schemas system_smb.schemas
48    
49 laffer1 18188 OPTIONS_DEFINE= SAMBA MDNS HAL
50     OPTIONS_DEFAULT=SAMBA MDNS HAL
51     SAMBA_DESC= Enable SMB volume support
52     MDNS_DESC= Enable Bonjour/Rendezvous support
53 laffer1 1754
54 laffer1 18188 .include <bsd.mport.options.mk>
55 laffer1 1754
56     .if exists(${LOCALBASE}/lib/libfam.so) || !defined(WITHOUT_FAM)
57 laffer1 18188 USES+= fam
58 laffer1 1754 .endif
59    
60     .if exists(${LOCALBASE}/lib/libkrb5.so)
61 laffer1 18188 LIB_DEPENDS+= libkrb5.so:${PORTSDIR}/security/heimdal
62 laffer1 1754 .endif
63    
64 laffer1 18188 .if ${PORT_OPTIONS:MHAL}
65 crash 8651 CONFIGURE_ARGS+=--enable-hal
66 laffer1 18188 LIB_DEPENDS+= libhal.so:${PORTSDIR}/sysutils/hal
67 crash 8651 .else
68     CONFIGURE_ARGS+=--disable-hal
69     .endif
70    
71 laffer1 18188 .if ${PORT_OPTIONS:MSAMBA}
72     LIB_DEPENDS+= libsmbclient.so:${PORTSDIR}/net/samba-libsmbclient
73 laffer1 1754 PLIST_SUB+= SAMBA=""
74     .else
75     PLIST_SUB+= SAMBA="@comment "
76     CONFIGURE_ARGS+=--disable-samba
77     .endif
78    
79 laffer1 18188 .if ${PORT_OPTIONS:MMDNS}
80     LIB_DEPENDS+= libavahi-client.so:${PORTSDIR}/net/avahi-app
81 laffer1 1754 .else
82     CONFIGURE_ARGS+=--disable-avahi
83     .endif
84    
85     post-patch:
86     @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
87     ${WRKSRC}/libgnomevfs/Makefile.in
88     @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g ; \
89 laffer1 3981 s|%%LOCALBASE%%|${LOCALBASE}|g' \
90 laffer1 1754 ${WRKSRC}/libgnomevfs/xdgmime.c \
91     ${WRKSRC}/libgnomevfs/gnome-vfs-hal-mounts.c
92 laffer1 18188 @${REINPLACE_CMD} -e 's|-lacl||g ; \
93     s|inotify_support=yes|inotify_support=no|g' \
94     ${WRKSRC}/configure
95     @${REINPLACE_CMD} -e 's|-DG_DISABLE_DEPRECATED||g' \
96     ${WRKSRC}/*/Makefile.in
97 laffer1 1754 @${SED} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
98     < ${MASTERDIR}/pkg-install.in > ${PKGINSTALL}
99     @${SED} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
100     < ${MASTERDIR}/pkg-deinstall.in > ${PKGDEINSTALL}
101    
102     pre-configure:
103 laffer1 3981 .if defined(WITHOUT_KERBEROS)
104     @${ECHO_CMD} "${PKGNAME}: KERBEROS is required."
105     @${FALSE}
106     .endif
107    
108 laffer1 18188 post-install:
109     @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
110 laffer1 1754
111 laffer1 18188 .include <bsd.port.mk>
112    
113 laffer1 1754 .endif

Properties

Name Value
svn:keywords MidnightBSD=%H