aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2008-11-30 04:32:02 +0800
committerdinoex <dinoex@FreeBSD.org>2008-11-30 04:32:02 +0800
commit4e155a0f30437d485a2382eb4ff3bca618c8570d (patch)
tree3b0b288e7836279989fb146279b7537fdff54573
parent78177a64f1dddaf30c3c4092a1a3a78196fe5248 (diff)
downloadfreebsd-ports-gnome-4e155a0f30437d485a2382eb4ff3bca618c8570d.tar.gz
freebsd-ports-gnome-4e155a0f30437d485a2382eb4ff3bca618c8570d.tar.zst
freebsd-ports-gnome-4e155a0f30437d485a2382eb4ff3bca618c8570d.zip
- new option USE_GNUSTEP_LOCAL_MENULETS
- option USE_GNUSTEP_LOCAL_BUDLES supports subdirs
-rw-r--r--Mk/bsd.gnustep.mk17
1 files changed, 15 insertions, 2 deletions
diff --git a/Mk/bsd.gnustep.mk b/Mk/bsd.gnustep.mk
index 937e19b5f81d..96a6208d6220 100644
--- a/Mk/bsd.gnustep.mk
+++ b/Mk/bsd.gnustep.mk
@@ -87,6 +87,9 @@
# USE_GNUSTEP_LOCAL_THEMES+= WildMenus:x11-themes/etoile-wildmenus
# depends on Themes installed in Local directrory
#
+# USE_GNUSTEP_LOCAL_MENULETS+= PowerMenulet:sysutils/etoile-powermenulet
+# depends on Menulets installed in Local directrory
+#
# USE_GNUSTEP_SYSTEM_APPS+= ProjectCenter:devel/projectcenter.app
# depends on Application installed in System directrory
#
@@ -369,8 +372,8 @@ RUN_DEPENDS+= ${GNUSTEP_LOCAL_LIBRARIES}/lib${_GNUSTEP_DEP:C/:.*//}.so:${PORTSDI
#
.if defined(USE_GNUSTEP_LOCAL_BUNDLES)
.for _GNUSTEP_DEP in ${USE_GNUSTEP_LOCAL_BUNDLES}
-BUILD_DEPENDS+= ${GNUSTEP_LOCAL_BUNDLES}/${_GNUSTEP_DEP:C/:.*//}.bundle/${_GNUSTEP_DEP:C/:.*//}:${PORTSDIR}/${_GNUSTEP_DEP:C/.*://}
-RUN_DEPENDS+= ${GNUSTEP_LOCAL_BUNDLES}/${_GNUSTEP_DEP:C/:.*//}.bundle/${_GNUSTEP_DEP:C/:.*//}:${PORTSDIR}/${_GNUSTEP_DEP:C/.*://}
+BUILD_DEPENDS+= ${GNUSTEP_LOCAL_BUNDLES}/${_GNUSTEP_DEP:C/:.*//}.bundle/${_GNUSTEP_DEP:C/:.*//}:${PORTSDIR}/${_GNUSTEP_DEP:C/.*://:C;.*/;;}
+RUN_DEPENDS+= ${GNUSTEP_LOCAL_BUNDLES}/${_GNUSTEP_DEP:C/:.*//}.bundle/${_GNUSTEP_DEP:C/:.*//}:${PORTSDIR}/${_GNUSTEP_DEP:C/.*://:C;.*/;;}
.endfor
.endif
@@ -385,6 +388,16 @@ RUN_DEPENDS+= ${GNUSTEP_LOCAL_BUNDLES}/${_GNUSTEP_DEP:C/:.*//}.themeEngine/${_GN
.endif
# ---------------------------------------------------------------------------
+# source local menulets
+#
+.if defined(USE_GNUSTEP_LOCAL_MENULETS)
+.for _GNUSTEP_DEP in ${USE_GNUSTEP_LOCAL_MENULETS}
+BUILD_DEPENDS+= ${GNUSTEP_LOCAL_BUNDLES}/${_GNUSTEP_DEP:C/:.*//}.menulet/${_GNUSTEP_DEP:C/:.*//}:${PORTSDIR}/${_GNUSTEP_DEP:C/.*://}
+RUN_DEPENDS+= ${GNUSTEP_LOCAL_BUNDLES}/${_GNUSTEP_DEP:C/:.*//}.menulet/${_GNUSTEP_DEP:C/:.*//}:${PORTSDIR}/${_GNUSTEP_DEP:C/.*://}
+.endfor
+.endif
+
+# ---------------------------------------------------------------------------
# source system apps
#
.if defined(USE_GNUSTEP_SYSTEM_APPS)