diff options
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' |