From 4e155a0f30437d485a2382eb4ff3bca618c8570d Mon Sep 17 00:00:00 2001 From: dinoex Date: Sat, 29 Nov 2008 20:32:02 +0000 Subject: - new option USE_GNUSTEP_LOCAL_MENULETS - option USE_GNUSTEP_LOCAL_BUDLES supports subdirs --- Mk/bsd.gnustep.mk | 17 +++++++++++++++-- 1 file 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 @@ -384,6 +387,16 @@ RUN_DEPENDS+= ${GNUSTEP_LOCAL_BUNDLES}/${_GNUSTEP_DEP:C/:.*//}.themeEngine/${_GN .endfor .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 # -- cgit