Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= rocksndiamonds |
8 |
PORTNAME= rocksndiamonds |
9 |
PORTVERSION= 3.2.6.0 |
9 |
PORTVERSION= 3.2.6.1 |
10 |
CATEGORIES= games |
10 |
CATEGORIES= games |
11 |
MASTER_SITES= http://www.artsoft.org/RELEASES/unix/rocksndiamonds/ \ |
11 |
MASTER_SITES= http://www.artsoft.org/RELEASES/unix/rocksndiamonds/ \ |
12 |
http://homepages.compuserve.de/rocksndiamonds/ |
12 |
http://homepages.compuserve.de/rocksndiamonds/ |
Lines 32-46
Link Here
|
32 |
|
32 |
|
33 |
post-patch: |
33 |
post-patch: |
34 |
@${REINPLACE_CMD} -e \ |
34 |
@${REINPLACE_CMD} -e \ |
35 |
's:sdl-config:$${SDL_CONFIG}:g' ${WRKSRC}/src/Makefile |
35 |
's|sdl-config|$${SDL_CONFIG}|g' ${WRKSRC}/src/Makefile |
36 |
|
36 |
|
37 |
do-install: |
37 |
do-install: |
38 |
${INSTALL_PROGRAM} ${WRKSRC}/rocksndiamonds ${PREFIX}/bin |
38 |
${INSTALL_PROGRAM} ${WRKSRC}/rocksndiamonds ${PREFIX}/bin |
39 |
${INSTALL_MAN} ${WRKSRC}/rocksndiamonds.1 ${MANPREFIX}/man/man1 |
39 |
${INSTALL_MAN} ${WRKSRC}/rocksndiamonds.1 ${MANPREFIX}/man/man1 |
40 |
@${MKDIR} ${DATADIR} |
40 |
@${MKDIR} ${DATADIR} |
41 |
${TAR} -C ${WRKSRC} -cf - graphics levels music scores sounds | \ |
41 |
.for dir in graphics levels music scores sounds |
42 |
${TAR} -C ${DATADIR} -xf - |
42 |
@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${dir} ${DATADIR}) |
43 |
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATADIR} |
43 |
.endfor |
44 |
@${CHMOD} 777 ${DATADIR}/scores |
44 |
@${CHMOD} 777 ${DATADIR}/scores |
45 |
.if !defined(NOPORTDOCS) |
45 |
.if !defined(NOPORTDOCS) |
46 |
@${MKDIR} ${DOCSDIR} |
46 |
@${MKDIR} ${DOCSDIR} |