Lines 6-15
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= slim-themes |
8 |
PORTNAME= slim-themes |
9 |
PORTVERSION= 1.0.0 |
9 |
PORTVERSION= 1.0.1 |
10 |
PORTREVISION= 1 |
|
|
11 |
CATEGORIES= x11-themes |
10 |
CATEGORIES= x11-themes |
12 |
MASTER_SITES= ${MASTER_SITE_BERLIOS} |
11 |
MASTER_SITES= ${MASTER_SITE_BERLIOS:S/$/:old_themes/g} \ |
|
|
12 |
http://slim.berlios.de/themes/:new_themes |
13 |
MASTER_SITE_SUBDIR= slim |
13 |
MASTER_SITE_SUBDIR= slim |
14 |
DISTFILES= |
14 |
DISTFILES= |
15 |
|
15 |
|
Lines 26-52
THEMEDIR_REL= share/slim/themes
Link Here
|
26 |
THEMEDIR= ${PREFIX}/${THEMEDIR_REL} |
26 |
THEMEDIR= ${PREFIX}/${THEMEDIR_REL} |
27 |
PLIST_SUB+= THEMEDIR=${THEMEDIR_REL} |
27 |
PLIST_SUB+= THEMEDIR=${THEMEDIR_REL} |
28 |
|
28 |
|
29 |
# Format is 'variable name%description%archive name%unpacked dir%dest dir' |
29 |
# Format is 'variable name%description%archive name%unpacked dir%dest |
|
|
30 |
# dir%master site tag' |
30 |
# I am substituting ' ' -> '+' because make in 6.x isn't able to properly |
31 |
# I am substituting ' ' -> '+' because make in 6.x isn't able to properly |
31 |
# catch quoted strings with spaces. 7.x and 8.x are fine with this, so |
32 |
# catch quoted strings with spaces. 7.x and 8.x are fine with this, so |
32 |
# once 6.x will be deorbited, we could switch just to spaces. |
33 |
# once 6.x will be deorbited, we could switch just to spaces. |
33 |
THEMELIST= GENTOO_SIMPLE%"Gentoo+simple+theme"%slim-gentoo-simple.tar.bz2%slim-gentoo-simple%gentoo-simple \ |
34 |
THEMELIST= GENTOO_SIMPLE%"Gentoo+simple+theme"%slim-gentoo-simple.tar.bz2%slim-gentoo-simple%gentoo-simple%old_themes \ |
34 |
ARCHLINUX_SIMPLE%"ArchLinux+simple+theme"%slim-archlinux-simple.tar.gz%slim-archlinux-simple%archlinux-simple \ |
35 |
ARCHLINUX_SIMPLE%"ArchLinux+simple+theme"%slim-archlinux-simple.tar.gz%slim-archlinux-simple%archlinux-simple%old_themes \ |
35 |
DEBIAN_MOREBLUE%"Debian+moreblue+theme"%slim-debian-moreblue.tar.bz2%debian-moreblue%debian-moreblue \ |
36 |
DEBIAN_MOREBLUE%"Debian+moreblue+theme"%slim-debian-moreblue.tar.bz2%debian-moreblue%debian-moreblue%old_themes \ |
36 |
FINGERPRINT%"Fingerprint+theme"%slim-fingerprint.tar.gz%fingerprint%fingerprint \ |
37 |
FINGERPRINT%"Fingerprint+theme"%slim-fingerprint.tar.gz%fingerprint%fingerprint%old_themes \ |
37 |
FLAT%"Flat+theme"%slim-flat.tar.gz%flat%flat \ |
38 |
FLAT%"Flat+theme"%slim-flat.tar.gz%flat%flat%old_themes \ |
38 |
LAKE%"Lake+theme"%slim-lake.tar.gz%lake%lake \ |
39 |
LAKE%"Lake+theme"%slim-lake.tar.gz%lake%lake%old_themes \ |
39 |
RAINBOW%"Rainbow+theme"%slim-rainbow.tar.gz%rainbow%rainbow \ |
40 |
RAINBOW%"Rainbow+theme"%slim-rainbow.tar.gz%rainbow%rainbow%old_themes \ |
40 |
REAR_WINDOW%"Rear+Window+theme"%slim-rear-window.tar.gz%rear-window%rear-window \ |
41 |
REAR_WINDOW%"Rear+Window+theme"%slim-rear-window.tar.gz%rear-window%rear-window%old_themes \ |
41 |
SCOTLAND_ROAD%"Scotland+Road+theme"%slim-scotland-road.tar.gz%scotland-road%scotland-road \ |
42 |
SCOTLAND_ROAD%"Scotland+Road+theme"%slim-scotland-road.tar.gz%scotland-road%scotland-road%old_themes \ |
42 |
SUBWAY%"Subway+theme"%slim-subway.tar.gz%subway%subway \ |
43 |
SUBWAY%"Subway+theme"%slim-subway.tar.gz%subway%subway%old_themes \ |
43 |
WAVE%"Wave+theme"%slim-wave.tar.gz%wave%wave \ |
44 |
WAVE%"Wave+theme"%slim-wave.tar.gz%wave%wave%old_themes \ |
44 |
LUNAR_LINUX%"Lunar+Linux+theme"%slim-lunar-0.4.tar.bz2%slim-lunar-0.4%lunar \ |
45 |
LUNAR_LINUX%"Lunar+Linux+theme"%slim-lunar-0.4.tar.bz2%slim-lunar-0.4%lunar%old_themes \ |
45 |
ZENWALK%"Zenwalk+theme"%slim-zenwalk.tar.gz%Zenwalk%zenwalk \ |
46 |
ZENWALK%"Zenwalk+theme"%slim-zenwalk.tar.gz%Zenwalk%zenwalk%old_themes \ |
46 |
PARALLEL_DIMS%"Parallel+Dimensions+theme"%slim-parallel-dimensions.tar.gz%parallel-dimensions%parallel-dimensions \ |
47 |
PARALLEL_DIMS%"Parallel+Dimensions+theme"%slim-parallel-dimensions.tar.gz%parallel-dimensions%parallel-dimensions%old_themes \ |
47 |
CAPERNOITED%"Capernoited+theme"%slim-capernoited.tar.gz%capernoited%capernoited \ |
48 |
CAPERNOITED%"Capernoited+theme"%slim-capernoited.tar.gz%capernoited%capernoited%old_themes \ |
48 |
MINDLOCK%"Mindlock+theme"%slim-mindlock.tar.gz%mindlock%mindlock \ |
49 |
MINDLOCK%"Mindlock+theme"%slim-mindlock.tar.gz%mindlock%mindlock%old_themes \ |
49 |
FLOWER2%"Flower2+theme"%slim-flower2.tar.gz%flower2%flower2 |
50 |
FLOWER2%"Flower2+theme"%slim-flower2.tar.gz%flower2%flower2%old_themes \ |
|
|
51 |
FREEBSD%"FreeBSD+theme"%fbsd-slim-theme.tar.bz2%fbsd%fbsd%new_themes \ |
52 |
GNEWSENSE%"gNewSense+theme"%slim-gnewsense-1.1.tar.bz2%slim-gnewsense-1.1%gnewsense%new_themes |
50 |
|
53 |
|
51 |
# Pollute OPTIONS and DISTFILES. Cool magic ;)) |
54 |
# Pollute OPTIONS and DISTFILES. Cool magic ;)) |
52 |
# We're using immediate assignment and two variables, because there is |
55 |
# We're using immediate assignment and two variables, because there is |
Lines 57-65
n= ${t:C/^([^%]*)%.*$/\\1/1}
Link Here
|
57 |
d= ${t:C/^[^%]*%[^%]*%([^%]*)%.*$/\\1/1} |
60 |
d= ${t:C/^[^%]*%[^%]*%([^%]*)%.*$/\\1/1} |
58 |
desc= ${t:C/^[^%]*%([^%]*)%.*$/\\1/1:C/\+/ /g} |
61 |
desc= ${t:C/^[^%]*%([^%]*)%.*$/\\1/1:C/\+/ /g} |
59 |
sdir= ${t:C/^[^%]*%[^%]*%[^%]*%([^%]*)%.*$/\\1/1} |
62 |
sdir= ${t:C/^[^%]*%[^%]*%[^%]*%([^%]*)%.*$/\\1/1} |
60 |
ddir= ${t:C/^[^%]*%[^%]*%[^%]*%[^%]*%([^%]*)$/\\1/1} |
63 |
ddir= ${t:C/^[^%]*%[^%]*%[^%]*%[^%]*%([^%]*)%.*$/\\1/1} |
|
|
64 |
mtag= ${t:C/^[^%]*%[^%]*%[^%]*%[^%]*%[^%]*%([^%]*)$/\\1/1} |
61 |
${n}_NAME:= ${n} |
65 |
${n}_NAME:= ${n} |
|
|
66 |
.if ${mtag} == "" |
62 |
${n}_DIST:= ${d} |
67 |
${n}_DIST:= ${d} |
|
|
68 |
.else |
69 |
${n}_DIST:= ${d}:${mtag} |
70 |
.endif |
63 |
${n}_SDIR:= ${sdir} |
71 |
${n}_SDIR:= ${sdir} |
64 |
${n}_DDIR:= ${ddir} |
72 |
${n}_DDIR:= ${ddir} |
65 |
NEWOPTS:= ${OPTIONS} ${n} ${desc} off |
73 |
NEWOPTS:= ${OPTIONS} ${n} ${desc} off |