aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/e-modules/Makefile
blob: 77a60d84edc0390b0419861860837b7387eaea64 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Created by: Grzegorz Blach <gblach@FreeBSD.org>
# $FreeBSD$

PORTNAME=   e17-modules
PORTVERSION=    20130510
PORTREVISION=   1
CATEGORIES= x11-wm enlightenment
MASTER_SITES=   # Empty
DISTFILES=  # Empty

MAINTAINER= gblach@FreeBSD.org
COMMENT=    Meta-port for Enlightenment modules

NO_BUILD=   yes

MODULES=    alarm cpu deskshow diskio everything-places \
        everything-websearch forecasts mem mpdule net penguins \
        places rmb tclock wlan

.include "../enlightenment/Makefile.plist"

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}/${ENLIGHTENMENT_ARCH}/module.so:${PORTSDIR}/x11-wm/e-module-${M}
. endif
.endfor

do-install: # empty

.include <bsd.port.mk>