1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/x11-wm/e17-modules/Makefile
Baptiste Daroussin 4a4ec28d37 Convert all :U to :tu and :L to :tl
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a
replacement for :U and :L (which has been marked as deprecated)

bmake which is the default on FreeBSD 10+ only support by default
:tu/:tl a hack has been added at the time to support :U and :L to ease
migration. This hack is now not necessary anymore

Note that this makes the ports tree incompatible with make(1) from
FreeBSD 8.3 or earlier

With hat:	portmgr
2014-05-05 09:45:36 +00:00

50 lines
1.4 KiB
Makefile

# Created by: Grzegorz Blach <gblach@FreeBSD.org>
# $FreeBSD$
PORTNAME= e17-modules
PORTVERSION= 20130510
CATEGORIES= x11-wm enlightenment
MASTER_SITES= # Empty
DISTFILES= # Empty
MAINTAINER= gblach@FreeBSD.org
COMMENT= Meta-port for e17 modules
NO_BUILD= yes
WANT_EFL= yes
E17_ARCH= ${OPSYS:tl}${OSREL}-${ARCH}
MODULES= alarm comp-scale cpu deskshow diskio eektool elfe empris engage eooorg \
everything-aspell everything-mpris everything-pidgin everything-places \
everything-shotgun everything-wallpaper everything-websearch exebuf execwatch \
flame forecasts iiirk itask mail mem moon mpdule net news \
penguins photo places rain rmb screenshot slideshow snow \
taskbar tclock uptime weather winlist-ng winselector wlan
COMP_SCALE_PATH= scale
EVERYTHING_MPRIS_PATH= evry-mpris
EVERYTHING_PIDGIN_PATH= evry-pidgin
EVERYTHING_SHOTGUN_PATH= evry-shotgun
EVERYTHING_WEBSEARCH_PATH= evry-websearch
.for M in ${MODULES}
OPTIONS_DEFINE+= ${M:tu:S,-,_,g}
OPTIONS_DEFAULT+= ${M:tu:S,-,_,g}
${M:tu:S,-,_,g}_DESC= Install ${M} module
.endfor
.include <bsd.port.options.mk>
.for M in ${MODULES}
. if !defined(${M:tu:S,-,_,g}_PATH)
${M:tu:S,-,_,g}_PATH= ${M}
. endif
. if ${PORT_OPTIONS:M${M:tu:S,-,_,g}}
RUN_DEPENDS+= ${LOCALBASE}/lib/enlightenment/modules/${${M:tu:S,-,_,g}_PATH}/${E17_ARCH}/module.so:${PORTSDIR}/x11-wm/e17-module-${M}
. endif
.endfor
do-install: # empty
.include <bsd.port.mk>