ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/devel/gnome-vfs/Makefile
Revision: 23524
Committed: Sat May 12 15:02:12 2018 UTC (5 years, 11 months ago) by laffer1
File size: 3018 byte(s)
Log Message:
update ssl for devel ports

File Contents

# Content
1 # $MidnightBSD$
2 # $FreeBSD: ports/devel/gnome-vfs/Makefile,v 1.123 2007/04/11 14:52:49 marcus Exp $
3
4 PORTNAME= gnome-vfs
5 PORTVERSION= 2.24.4
6 PORTREVISION?= 1
7 CATEGORIES= devel gnome
8 MASTER_SITES= GNOME
9 DIST_SUBDIR= gnome2
10
11 MAINTAINER= ports@MidnightBSD.org
12 COMMENT= GNOME Virtual File System
13
14 LICENSE= lgpl
15 LICENSE_FILE= ${WRKSRC}/COPYING.LIB
16
17 BROKEN_SSL= openssl-devel
18 BROKEN_SSL_REASON_openssl-devel= incomplete definition of type 'struct ssl_st'
19
20 USES= tar:bzip2
21
22 .if !defined(REFERENCE_PORT)
23
24 RUN_DEPENDS= update-mime-database:misc/shared-mime-info
25 LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib \
26 libdbus-1.so:devel/dbus
27
28 USES+= gettext gmake libtool:keepla pathfix pkgconfig ssl
29 USE_GNOME= gconf2 gnomemimedata intlhack referencehack
30 INSTALL_TARGET= install-strip
31 USE_LDCONFIG= yes
32 GNU_CONFIGURE= yes
33 CONFIGURE_ARGS= --enable-openssl \
34 --disable-gnutls \
35 --disable-howl \
36 --with-hal-mount=/sbin/mount \
37 --with-hal-umount=/sbin/umount \
38 ac_cv_header_sys_inotify_h=no
39 CPPFLAGS+= -I${LOCALBASE}/include
40 LDFLAGS+= -L${LOCALBASE}/lib
41
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 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
54 .include <bsd.mport.options.mk>
55
56 .if exists(${LOCALBASE}/lib/libfam.so) || !defined(WITHOUT_FAM)
57 USES+= fam
58 .endif
59
60 .if exists(${LOCALBASE}/lib/libkrb5.so)
61 LIB_DEPENDS+= libkrb5.so:security/heimdal
62 .endif
63
64 .if ${PORT_OPTIONS:MHAL}
65 CONFIGURE_ARGS+=--enable-hal
66 LIB_DEPENDS+= libhal.so:sysutils/hal
67 .else
68 CONFIGURE_ARGS+=--disable-hal
69 .endif
70
71 .if ${PORT_OPTIONS:MSAMBA}
72 CONFIGURE_ARGS+=--with-samba-includes=${SAMBAINCLUDES} --with-samba-libs=${SAMBALIBS}
73 USES+= samba:lib
74 PLIST_SUB+= SAMBA=""
75 .else
76 PLIST_SUB+= SAMBA="@comment "
77 CONFIGURE_ARGS+=--disable-samba
78 .endif
79
80 .if ${PORT_OPTIONS:MMDNS}
81 LIB_DEPENDS+= libavahi-client.so:net/avahi-app
82 .else
83 CONFIGURE_ARGS+=--disable-avahi
84 .endif
85
86 post-patch:
87 @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
88 ${WRKSRC}/libgnomevfs/Makefile.in
89 @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g ; \
90 s|%%LOCALBASE%%|${LOCALBASE}|g' \
91 ${WRKSRC}/libgnomevfs/xdgmime.c \
92 ${WRKSRC}/libgnomevfs/gnome-vfs-hal-mounts.c
93 @${REINPLACE_CMD} -e 's|-lacl||g ; \
94 s|inotify_support=yes|inotify_support=no|g' \
95 ${WRKSRC}/configure
96 @${REINPLACE_CMD} -e 's|-DG_DISABLE_DEPRECATED||g' \
97 ${WRKSRC}/*/Makefile.in
98 @${SED} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
99 < ${MASTERDIR}/pkg-install.in > ${PKGINSTALL}
100 @${SED} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
101 < ${MASTERDIR}/pkg-deinstall.in > ${PKGDEINSTALL}
102
103 pre-configure:
104 .if defined(WITHOUT_KERBEROS)
105 @${ECHO_CMD} "${PKGNAME}: KERBEROS is required."
106 @${FALSE}
107 .endif
108
109 post-install:
110 @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
111
112 .include <bsd.port.mk>
113
114 .endif

Properties

Name Value
svn:keywords MidnightBSD=%H