diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-02-07 12:54:02 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-02-07 12:54:02 +0800 |
commit | 85f882a768a468f3abf0f8c7df3446aa1dd56e89 (patch) | |
tree | 6d261b04152679ae98a0b86100d536bd4101d727 /devel/gnomevfs2/Makefile | |
parent | 4a604888e145dfe25aeeb9ccf162584a4ee1d1dc (diff) | |
download | marcuscom-ports-85f882a768a468f3abf0f8c7df3446aa1dd56e89.tar marcuscom-ports-85f882a768a468f3abf0f8c7df3446aa1dd56e89.tar.gz marcuscom-ports-85f882a768a468f3abf0f8c7df3446aa1dd56e89.tar.bz2 marcuscom-ports-85f882a768a468f3abf0f8c7df3446aa1dd56e89.tar.lz marcuscom-ports-85f882a768a468f3abf0f8c7df3446aa1dd56e89.tar.xz marcuscom-ports-85f882a768a468f3abf0f8c7df3446aa1dd56e89.tar.zst marcuscom-ports-85f882a768a468f3abf0f8c7df3446aa1dd56e89.zip |
* Roll in the gnomevfs-extras Samba support (auto-detected or enabled via
WITH_SAMBA)
* Add OPTIONS support for non-auto-detected options
* Correct a problem with the KDE menus patch
* [Re-]Add [controversial] SSL support. This may cause apps such as Galeon,
Epiphany, and Evolution to lock-up when doing SSL opterations. Feedback is
greatly appreciated
* Enable Samba and CDParanoia support when package building
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1786 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/gnomevfs2/Makefile')
-rw-r--r-- | devel/gnomevfs2/Makefile | 30 |
1 files changed, 26 insertions, 4 deletions
diff --git a/devel/gnomevfs2/Makefile b/devel/gnomevfs2/Makefile index 5280ca7b3..4af5ab77f 100644 --- a/devel/gnomevfs2/Makefile +++ b/devel/gnomevfs2/Makefile @@ -7,7 +7,7 @@ PORTNAME= gnomevfs2 PORTVERSION= 2.5.6 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/gnome-vfs/2.5 @@ -25,32 +25,54 @@ USE_X_PREFIX= yes USE_GNOME= gnomeprefix gnomehack gnomehier intlhack gnomemimedata gconf2 \ libbonobo USE_REINPLACE= yes -USE_LIBTOOL= yes +GNU_CONFIGURE= yes INSTALLS_SHLIB= yes CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \ BSD_PTHREAD_LIBS=${PTHREAD_LIBS} +OPTIONS= KDE_MENUS "Integrated KDE menu picks" on \ + FAM "Dynamic file system updates" on + +.include <bsd.port.pre.mk> + +.if defined(PACKAGE_BUILDING) || defined(PARALLEL_PACKAGE_BUILD) +.undef WITHOUT_CDPARANOIA +.undef WITHOUT_SAMBA +WITH_CDPARANOIA= yes +WITH_SAMBA= yes +.endif + .if !defined(WITHOUT_KDE_MENUS) EXTRA_PATCHES= ${FILESDIR}/modules_vfolder_applications-all-users.vfolder-info.in .endif -.include <bsd.port.pre.mk> - .if exists(${LOCALBASE}/lib/libcdda_paranoia.a) WITH_CDPARANOIA= yes .endif +.if exists(${LOCALBASE}/lib/libsmbclient.so) +WITH_SAMBA= yes +.endif + .if defined(WITH_CDPARANOIA) LIB_DEPENDS+= cdda_paranoia.0:${PORTSDIR}/audio/cdparanoia PLIST_SUB+= CDPARANOIA="" .else PLIST_SUB+= CDPARANOIA="@comment " .endif + .if !defined(WITHOUT_FAM) LIB_DEPENDS+= fam.0:${PORTSDIR}/devel/fam .endif +.if defined(WITH_SAMBA) +LIB_DEPENDS+= smbclient.0:${PORTSDIR}/net/samba-libsmbclient +PLIST_SUB+= SAMBA="" +.else +PLIST_SUB+= SAMBA="@comment " +.endif + post-patch: @${FIND} ${WRKSRC} -name "*info.in" | ${XARGS} ${REINPLACE_CMD} -e \ 's|\@datadir\@/gnome|\@datadir\@|g' |