freebsd-ports/x11-wm/e-modules/Makefile
2020-07-01 08:53:36 +00:00

40 lines
897 B
Makefile

# Created by: Grzegorz Blach <gblach@FreeBSD.org>
# $FreeBSD$
PORTNAME= e17-modules
PORTVERSION= 20130510
PORTREVISION= 6
CATEGORIES= x11-wm enlightenment
MASTER_SITES= # Empty
DISTFILES= # Empty
MAINTAINER= enlightenment@FreeBSD.org
COMMENT= Meta-port for Enlightenment modules
NO_BUILD= yes
MODULES= alarm cpu deskshow everything-places \
mem rmb wlan
.include "../enlightenment/Makefile.plist"
.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}/${ENLIGHTENMENT_ARCH}/module.so:x11-wm/e-module-${M}
. endif
.endfor
do-install: # empty
.include <bsd.port.mk>