summaryrefslogtreecommitdiffstats
path: root/devel
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
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')
-rw-r--r--devel/gnome-vfs/Makefile14
-rw-r--r--devel/gnome-vfs/files/modules_vfolder_applications-all-users.vfolder-info.in (renamed from devel/gnome-vfs/files/patch-modules_vfolder_applications-all-users.vfolder-info.in)0
-rw-r--r--devel/gnomevfs2/Makefile14
-rw-r--r--devel/gnomevfs2/files/modules_vfolder_applications-all-users.vfolder-info.in (renamed from devel/gnomevfs2/files/patch-modules_vfolder_applications-all-users.vfolder-info.in)0
4 files changed, 18 insertions, 10 deletions
diff --git a/devel/gnome-vfs/Makefile b/devel/gnome-vfs/Makefile
index be0366346..3a9c7e4f0 100644
--- a/devel/gnome-vfs/Makefile
+++ b/devel/gnome-vfs/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 \
diff --git a/devel/gnome-vfs/files/patch-modules_vfolder_applications-all-users.vfolder-info.in b/devel/gnome-vfs/files/modules_vfolder_applications-all-users.vfolder-info.in
index 13ce78387..13ce78387 100644
--- a/devel/gnome-vfs/files/patch-modules_vfolder_applications-all-users.vfolder-info.in
+++ b/devel/gnome-vfs/files/modules_vfolder_applications-all-users.vfolder-info.in
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 \
diff --git a/devel/gnomevfs2/files/patch-modules_vfolder_applications-all-users.vfolder-info.in b/devel/gnomevfs2/files/modules_vfolder_applications-all-users.vfolder-info.in
index 13ce78387..13ce78387 100644
--- a/devel/gnomevfs2/files/patch-modules_vfolder_applications-all-users.vfolder-info.in
+++ b/devel/gnomevfs2/files/modules_vfolder_applications-all-users.vfolder-info.in