1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

- Change master sites

- Change maintainer email to @FreeBSD.org
- Support STAGEDIR

Approved by:	pawel / wg (mentors, implicit)
This commit is contained in:
Rusmir Dusko 2013-11-26 12:22:43 +00:00
parent 80b2de7aa8
commit 934d2a8b6f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334925

View File

@ -6,12 +6,12 @@ PORTVERSION= 1.5.1
PORTREVISION= 3
CATEGORIES= games python
MASTER_SITES= SF/${PORTNAME}/Default/Ice%20Ice%20Penguin/ \
SF/nemysisfreebsdp/:icons
SF/nemysisfreebsdp/games/:icons
DISTFILES= iip.${DISTVERSION}-final${EXTRACT_SUFX} \
${PORTNAME}_icons_1${EXTRACT_SUFX}:icons
DIST_SUBDIR= python
MAINTAINER= nemysis@gmx.ch
MAINTAINER= nemysis@FreeBSD.org
COMMENT= Remake of an old SEGA Dreamcast game called Chu Chu Rocket
LICENSE= GPLv3
@ -34,28 +34,23 @@ SUB_FILES= ${PORTNAME}
DESKTOP_ENTRIES="Ice Ice Penguin" "${COMMENT}" "${PORTNAME}" \
"${PORTNAME}" "Game;ArcadeGame;" false
NO_STAGE= yes
.include <bsd.port.options.mk>
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
.for d in fonts gfx lvls menu sfx
@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${DATADIR})
@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR})
.endfor
${INSTALL_SCRIPT} ${WRKSRC}/*.py ${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/*.py ${STAGEDIR}${DATADIR}
post-install:
.for s in ${ICON_SIZES}
${MKDIR} ${PREFIX}/share/icons/hicolor/${s}/apps
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}_${s}.png \
${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png
${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png
.endfor
${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps
${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>