summaryrefslogtreecommitdiffstats
path: root/devel/gnome-vfs
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-10-31 08:12:01 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-10-31 08:12:01 +0800
commit9d720cfe4230f5aad8bc07bb6eac07a1ff9d17b9 (patch)
treea6178c44eea6b590b7fc977fd2aedf8ecd81498f /devel/gnome-vfs
parentf7a2172bab888379d4628396a44ae5aa41d47cfd (diff)
downloadmarcuscom-ports-9d720cfe4230f5aad8bc07bb6eac07a1ff9d17b9.tar
marcuscom-ports-9d720cfe4230f5aad8bc07bb6eac07a1ff9d17b9.tar.gz
marcuscom-ports-9d720cfe4230f5aad8bc07bb6eac07a1ff9d17b9.tar.bz2
marcuscom-ports-9d720cfe4230f5aad8bc07bb6eac07a1ff9d17b9.tar.lz
marcuscom-ports-9d720cfe4230f5aad8bc07bb6eac07a1ff9d17b9.tar.xz
marcuscom-ports-9d720cfe4230f5aad8bc07bb6eac07a1ff9d17b9.tar.zst
marcuscom-ports-9d720cfe4230f5aad8bc07bb6eac07a1ff9d17b9.zip
Convert to use OPTIONS for SAMBA and MDNS support (both default to enabled).
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@5001 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/gnome-vfs')
-rw-r--r--devel/gnome-vfs/Makefile29
1 files changed, 10 insertions, 19 deletions
diff --git a/devel/gnome-vfs/Makefile b/devel/gnome-vfs/Makefile
index f6c843f8d..6cc75ea24 100644
--- a/devel/gnome-vfs/Makefile
+++ b/devel/gnome-vfs/Makefile
@@ -3,12 +3,12 @@
# Whom: Ade Lovett <ade@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/devel/gnomevfs2/Makefile,v 1.113 2005/10/05 13:56:16 marcus Exp $
+# $MCom: ports/devel/gnomevfs2/Makefile,v 1.114 2005/10/22 06:16:43 marcus Exp $
#
PORTNAME= gnomevfs2
PORTVERSION= 2.12.1.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gnome-vfs/2.12
@@ -42,22 +42,10 @@ GCONF_SCHEMAS= desktop_default_applications.schemas \
system_http_proxy.schemas system_smb.schemas \
system_storage.schemas
-.include <bsd.port.pre.mk>
-
-.if defined(PACKAGE_BUILDING) || defined(PARALLEL_PACKAGE_BUILD)
-.undef WITHOUT_SAMBA
-.undef WITHOUT_MDNS
-WITH_MDNS= yes
-WITH_SAMBA= yes
-.endif
-
-.if exists(${LOCALBASE}/lib/libsmbclient.so)
-WITH_SAMBA= yes
-.endif
+OPTIONS= SAMBA "Enable SMB volume support" on \
+ MDNS "Enable Bonjour/Rendezvous support" on
-.if exists(${LOCALBASE}/lib/libhowl.so)
-WITH_MDNS= yes
-.endif
+.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/lib/libfam.so) || !defined(WITHOUT_FAM)
USE_FAM= yes
@@ -67,15 +55,18 @@ USE_FAM= yes
LIB_DEPENDS+= krb5:${PORTSDIR}/security/heimdal
.endif
-.if defined(WITH_SAMBA)
+.if !defined(WITHOUT_SAMBA)
LIB_DEPENDS+= smbclient.0:${PORTSDIR}/net/samba-libsmbclient
PLIST_SUB+= SAMBA=""
.else
PLIST_SUB+= SAMBA="@comment "
+CONFIGURE_ARGS+=--disable-samba
.endif
-.if defined(WITH_MDNS)
+.if !defined(WITHOUT_MDNS)
LIB_DEPENDS+= howl:${PORTSDIR}/net/howl
+.else
+CONFIGURE_ARGS+=--disable-howl
.endif
post-patch: