summaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-04-11 05:51:49 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-04-11 05:51:49 +0800
commitac9ba927b16cd32f435a952123589e81ca40cc3c (patch)
treee632af07373f60c87d3076fcfea41ee4a6d1dfa0 /Mk
parent0017dcd11d20a97ae8ca6404ad714da1d16092e6 (diff)
downloadmarcuscom-ports-ac9ba927b16cd32f435a952123589e81ca40cc3c.tar.gz
marcuscom-ports-ac9ba927b16cd32f435a952123589e81ca40cc3c.tar.zst
marcuscom-ports-ac9ba927b16cd32f435a952123589e81ca40cc3c.zip
-Document the INSTALLS_ICONS.
-Make a few of .if/.else/.endif more readable. Ie: .if . if . else . endif .endif git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6039 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.gnome.mk27
1 files changed, 16 insertions, 11 deletions
diff --git a/Mk/bsd.gnome.mk b/Mk/bsd.gnome.mk
index b5e29a02e..1189fc91d 100644
--- a/Mk/bsd.gnome.mk
+++ b/Mk/bsd.gnome.mk
@@ -3,7 +3,7 @@
#
# $FreeBSD$
# $NetBSD: $
-# $MCom: ports/Mk/bsd.gnome.mk,v 1.366 2006/03/28 01:32:48 marcus Exp $
+# $MCom: ports/Mk/bsd.gnome.mk,v 1.367 2006/04/10 21:40:04 mezz Exp $
#
# Please view me with 4 column tabs!
@@ -39,6 +39,11 @@ Gnome_Pre_Include= bsd.gnome.mk
# file and add apropriate @exec/@unexec directives for
# each .omf file found to track OMF registration database.
#
+# INSTALLS_ICONS - If your port installs Freedesktop-style icons to
+# ${LOCALBASE}/share/icons or ${X11BASE}/share/icons, then
+# you should use this macro. If the icons are not cached,
+# they will not be displayed.
+#
# non-version specific components
_USE_GNOME_ALL= esound intlhack intltool lthack ltverhack gnomehack \
@@ -640,9 +645,9 @@ ltverhack_PRE_PATCH= ${CP} -pf ${LTMAIN} ${WRKDIR}/gnome-ltmain.sh && \
${PATCH_WRKSRC}/$$file; \
done;
.else
-.if ${USE_GNOME:Mltverhack}!=""
+. if ${USE_GNOME:Mltverhack}!=""
BROKEN= ${PORTNAME} uses the ltverhack GNOME component but does not use libtool
-.endif
+. endif
.endif
ltverhack_PATCH_DEPENDS=${LIBTOOL_DEPENDS}
@@ -699,18 +704,18 @@ gnome-pre-patch:
.if defined(WANT_GNOME)
USE_GNOME?=
-.if ${_USE_GNOME_SAVED}==${USE_GNOME}
+. if ${_USE_GNOME_SAVED}==${USE_GNOME}
PLIST_SUB+= GNOME:="@comment " NOGNOME:=""
-.else
+. else
PLIST_SUB+= GNOME:="" NOGNOME:="@comment "
-.if defined(GNOME_DESKTOP_VERSION)
-.if ${_USE_GNOME_DESKTOP}=="yes"
+. if defined(GNOME_DESKTOP_VERSION)
+. if ${_USE_GNOME_DESKTOP}=="yes"
PLIST_SUB+= GNOMEDESKTOP:="" NOGNOMEDESKTOP:="@comment "
-.else
+. else
PLIST_SUB+= GNOMEDESKTOP:="@comment " NOGNOMEDESKTOP:=""
-.endif
-.endif
-.endif
+. endif
+. endif
+. endif
.endif
.if ${MAINTAINER}=="gnome@FreeBSD.org"