Lines 6-19
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= kye-data |
8 |
PORTNAME= kye-data |
9 |
PORTVERSION= 20120725 |
9 |
PORTVERSION= 20120818 |
10 |
CATEGORIES= games |
10 |
CATEGORIES= games |
11 |
MASTER_SITES= http://games.moria.org.uk/kye/ \ |
11 |
MASTER_SITES= http://games.moria.org.uk/kye/ \ |
12 |
http://www.nuke.demon.co.uk/kye/levels/ |
12 |
http://www.nuke.demon.co.uk/kye/levels/ \ |
|
|
13 |
SF/nemysisfreebsdp/:levels |
13 |
# Selection of production-ready/well-known Kye Levels |
14 |
# Selection of production-ready/well-known Kye Levels |
14 |
# (ziped Levels already included from games.moria.org.uk are excluded) |
15 |
# (ziped Levels already included from games.moria.org.uk are excluded) |
15 |
# Please contact the MAINTAINER if a Level is missing |
16 |
# Please contact the MAINTAINER if a Level is missing |
16 |
DISTFILES= ${LEVELS} ${LEVELS_KYE:S/$/.zip/} |
17 |
DISTFILES= ${LEVELS} ${LEVELS_KYE:S/$/.zip/} kye-data_extra_levels.${DISTVERSION}.tar.gz:levels |
17 |
DIST_SUBDIR= kye |
18 |
DIST_SUBDIR= kye |
18 |
EXTRACT_ONLY= #empty |
19 |
EXTRACT_ONLY= #empty |
19 |
|
20 |
|
Lines 21-31
Link Here
|
21 |
COMMENT= Original extra Levels for Python Kye |
22 |
COMMENT= Original extra Levels for Python Kye |
22 |
|
23 |
|
23 |
RUN_DEPENDS= Kye:${PORTSDIR}/games/kye |
24 |
RUN_DEPENDS= Kye:${PORTSDIR}/games/kye |
24 |
EXTRACT_DEPENDS= unzip:${PORTSDIR}/archivers/unzip |
25 |
EXTRACT_DEPENDS=unzip:${PORTSDIR}/archivers/unzip |
25 |
|
26 |
|
26 |
NO_BUILD= yes |
27 |
NO_BUILD= yes |
27 |
NO_WRKSUBDIR= yes |
28 |
NO_WRKSUBDIR= yes |
28 |
SHAREMODE= 0644 |
|
|
29 |
|
29 |
|
30 |
DATADIR= ${PREFIX}/share/kye |
30 |
DATADIR= ${PREFIX}/share/kye |
31 |
LEVELS= jungle.kye maze.kye problem.kye system.kye mystical.kye \ |
31 |
LEVELS= jungle.kye maze.kye problem.kye system.kye mystical.kye \ |
Lines 37-52
Link Here
|
37 |
Ricardo TPsKye sampler |
37 |
Ricardo TPsKye sampler |
38 |
|
38 |
|
39 |
post-extract-script: |
39 |
post-extract-script: |
40 |
. for f in ${LEVELS_KYE:S/$/.zip/} |
40 |
.for f in ${LEVELS_KYE:S/$/.zip/} |
41 |
@${UNZIP_CMD} -qo -d ${WRKDIR} ${DISTDIR}/${DIST_SUBDIR}/${f} |
41 |
@${UNZIP_CMD} -qo -d ${WRKDIR} ${DISTDIR}/${DIST_SUBDIR}/${f} |
42 |
. endfor |
42 |
.endfor |
|
|
43 |
${TAR} xfjp ${DISTDIR}/${DIST_SUBDIR}/kye-data_extra_levels.tar.gz -C ${WRKDIR} |
43 |
@for i in `${FIND} ${WRKDIR} -name \*.KYE`; do \ |
44 |
@for i in `${FIND} ${WRKDIR} -name \*.KYE`; do \ |
44 |
${MV} $$i `echo $$i | ${SED} -e 's/KYE/kye/'`; done |
45 |
${MV} $$i `echo $$i | ${SED} -e 's/KYE/kye/'`; done |
45 |
|
46 |
|
46 |
do-install: |
47 |
do-install: |
47 |
. for f in ${LEVELS} |
48 |
.for f in ${LEVELS} |
48 |
@cd ${DISTDIR}/${DIST_SUBDIR} && ${COPYTREE_SHARE} ${f} ${DATADIR} |
49 |
@cd ${DISTDIR}/${DIST_SUBDIR} && ${COPYTREE_SHARE} ${f} ${DATADIR} |
49 |
. endfor |
50 |
.endfor |
50 |
@cd ${WRKDIR} && ${COPYTREE_SHARE} \*.kye ${DATADIR} |
51 |
@cd ${WRKDIR} && ${COPYTREE_SHARE} \*.kye ${DATADIR} |
51 |
|
52 |
|
52 |
post-install: |
53 |
post-install: |