Lines 9-17
Link Here
|
9 |
MASTER_SITES= http://www.imitationpickles.org/barbie/files/ \ |
9 |
MASTER_SITES= http://www.imitationpickles.org/barbie/files/ \ |
10 |
SF/nemysisfreebsdp/:icons |
10 |
SF/nemysisfreebsdp/:icons |
11 |
DISTFILES= barbie-${DISTVERSION}${EXTRACT_SUFX} \ |
11 |
DISTFILES= barbie-${DISTVERSION}${EXTRACT_SUFX} \ |
12 |
${PORTNAME}.png:icons |
12 |
${PORTNAME}_icons.tar.gz:icons |
13 |
DIST_SUBDIR= python |
13 |
DIST_SUBDIR= python |
14 |
EXTRACT_ONLY= barbie-${DISTVERSION}${EXTRACT_SUFX} |
|
|
15 |
|
14 |
|
16 |
MAINTAINER= nemysis@gmx.ch |
15 |
MAINTAINER= nemysis@gmx.ch |
17 |
COMMENT= You are a seahorse and you want to go to the moon! |
16 |
COMMENT= You are a seahorse and you want to go to the moon! |
Lines 26-36
Link Here
|
26 |
NO_BUILD= yes |
25 |
NO_BUILD= yes |
27 |
|
26 |
|
28 |
PLIST_FILES= bin/${PORTNAME} \ |
27 |
PLIST_FILES= bin/${PORTNAME} \ |
29 |
share/pixmaps/${PORTNAME}.png |
28 |
share/pixmaps/${PORTNAME}.png \ |
|
|
29 |
share/icons/hicolor/32x32/apps/${PORTNAME}.png \ |
30 |
share/icons/hicolor/48x48/apps/${PORTNAME}.png \ |
31 |
share/icons/hicolor/64x64/apps/${PORTNAME}.png \ |
32 |
share/icons/hicolor/72x72/apps/${PORTNAME}.png \ |
33 |
share/icons/hicolor/96x96/apps/${PORTNAME}.png |
30 |
|
34 |
|
31 |
PORTDATA= * |
35 |
PORTDATA= * |
32 |
PORTDOCS= CHANGES.txt LEVELS.txt NOTES.txt README.txt TODO.txt |
36 |
PORTDOCS= CHANGES.txt LEVELS.txt NOTES.txt README.txt TODO.txt |
33 |
|
37 |
|
|
|
38 |
INSTALLS_ICONS= yes |
39 |
ICON_SIZES= 32x32 48x48 64x64 72x72 96x96 |
40 |
|
34 |
SUB_FILES= ${PORTNAME} |
41 |
SUB_FILES= ${PORTNAME} |
35 |
|
42 |
|
36 |
DESKTOP_ENTRIES="Barbie Seahorse Adventures" "${COMMENT}" "${PORTNAME}" \ |
43 |
DESKTOP_ENTRIES="Barbie Seahorse Adventures" "${COMMENT}" "${PORTNAME}" \ |
Lines 41-54
Link Here
|
41 |
post-patch: |
48 |
post-patch: |
42 |
@${REINPLACE_CMD} -e 's,/usr/bin/python,${PYTHON_CMD},' \ |
49 |
@${REINPLACE_CMD} -e 's,/usr/bin/python,${PYTHON_CMD},' \ |
43 |
${WRKSRC}/leveledit.py ${WRKSRC}/tileedit.py |
50 |
${WRKSRC}/leveledit.py ${WRKSRC}/tileedit.py |
44 |
@(cd ${WRKSRC} && ${RM} *.py.bak) |
51 |
@${FIND} ${WRKSRC} -name "*.bak" -delete |
45 |
|
52 |
|
46 |
do-install: |
53 |
do-install: |
47 |
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin |
54 |
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin |
48 |
${MKDIR} ${DATADIR} |
55 |
${MKDIR} ${DATADIR} |
49 |
${INSTALL_SCRIPT} ${WRKSRC}/*.py ${DATADIR} |
56 |
${INSTALL_SCRIPT} ${WRKSRC}/*.py ${DATADIR} |
50 |
@(cd ${WRKSRC} && ${COPYTREE_SHARE} "data lib" ${DATADIR}) |
57 |
@(cd ${WRKSRC} && ${COPYTREE_SHARE} "data lib" ${DATADIR}) |
51 |
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps |
58 |
|
|
|
59 |
post-install: |
60 |
.for s in ${ICON_SIZES} |
61 |
${MKDIR} ${PREFIX}/share/icons/hicolor/${s}/apps |
62 |
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}_${s}.png \ |
63 |
${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png |
64 |
.endfor |
65 |
${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps |
52 |
|
66 |
|
53 |
.if ${PORT_OPTIONS:MDOCS} |
67 |
.if ${PORT_OPTIONS:MDOCS} |
54 |
${MKDIR} ${DOCSDIR} |
68 |
${MKDIR} ${DOCSDIR} |