summaryrefslogtreecommitdiffstats
path: root/devel/gnomevfs2/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-12-30 04:00:38 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-12-30 04:00:38 +0800
commit707cfb8178c014c4d79edd83e6c5afcc8898b503 (patch)
tree1ba48bb4dd817263b2c5bf203b6e1858e1288dfe /devel/gnomevfs2/Makefile
parenta8e886e0b5242afee68c7179ff555b9225d954b8 (diff)
downloadmarcuscom-ports-707cfb8178c014c4d79edd83e6c5afcc8898b503.tar
marcuscom-ports-707cfb8178c014c4d79edd83e6c5afcc8898b503.tar.gz
marcuscom-ports-707cfb8178c014c4d79edd83e6c5afcc8898b503.tar.bz2
marcuscom-ports-707cfb8178c014c4d79edd83e6c5afcc8898b503.tar.lz
marcuscom-ports-707cfb8178c014c4d79edd83e6c5afcc8898b503.tar.xz
marcuscom-ports-707cfb8178c014c4d79edd83e6c5afcc8898b503.tar.zst
marcuscom-ports-707cfb8178c014c4d79edd83e6c5afcc8898b503.zip
* Fix some whitespace nits
* Add the WITHOUT_KDE_MENUS knob to prevent the merging of KDE menus Obtained from: FreeBSD ports tree git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1543 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/gnomevfs2/Makefile')
-rw-r--r--devel/gnomevfs2/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/devel/gnomevfs2/Makefile b/devel/gnomevfs2/Makefile
index be0366346..3a9c7e4f0 100644
--- a/devel/gnomevfs2/Makefile
+++ b/devel/gnomevfs2/Makefile
@@ -28,27 +28,31 @@ CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
BSD_PTHREAD_LIBS=${PTHREAD_LIBS}
+.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
+WITH_CDPARANOIA= yes
.endif
.if exists(${LOCALBASE}/lib/libfam.a)
WITH_FAM= yes
.endif
.if defined(WITH_CDPARANOIA)
-LIB_DEPENDS+= cdda_paranoia.0:${PORTSDIR}/audio/cdparanoia
-PLIST_SUB+= CDPARANOIA=""
+LIB_DEPENDS+= cdda_paranoia.0:${PORTSDIR}/audio/cdparanoia
+PLIST_SUB+= CDPARANOIA=""
.else
-PLIST_SUB+= CDPARANOIA="@comment "
+PLIST_SUB+= CDPARANOIA="@comment "
.endif
.if defined(WITH_FAM)
LIB_DEPENDS+= fam.0:${PORTSDIR}/devel/fam
.endif
post-patch:
- @${FIND} ${WRKSRC} -name "*info.in" | xargs ${REINPLACE_CMD} -e \
+ @${FIND} ${WRKSRC} -name "*info.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|\@datadir\@/gnome|\@datadir\@|g'
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
${WRKSRC}/libgnomevfs/Makefile.in \