diff options
-rw-r--r-- | games/krank/Makefile | 29 |
1 files changed, 12 insertions, 17 deletions
diff --git a/games/krank/Makefile b/games/krank/Makefile index 7122f988e52e..02a56b750c43 100644 --- a/games/krank/Makefile +++ b/games/krank/Makefile @@ -1,3 +1,4 @@ +# Created by: Rusmir Dusko <nemysis@FreeBSD.org> # $FreeBSD$ PORTNAME= krank @@ -6,7 +7,7 @@ PORTREVISION= 4 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} -MAINTAINER= nemysis@gmx.ch +MAINTAINER= nemysis@FreeBSD.org COMMENT= Little casual game LICENSE= GPLv2 @@ -23,30 +24,24 @@ PORTDOCS= CHANGELOG.txt README DESKTOP_ENTRIES="Krank" "${COMMENT}" "${PORTNAME}" \ "${PORTNAME}" "Game;ArcadeGame;" false -NO_STAGE= yes -.include <bsd.port.options.mk> - post-extract: - @${FIND} ${WRKSRC} -name .cvsignore -type f -print0 -or -name .DS_Store -type f -print0 | \ - ${XARGS} -0 ${RM} -rf + @${FIND} ${WRKSRC} -name .cvsignore -delete -or -name .DS_Store -delete post-patch: ${REINPLACE_CMD} -e 's|`dirname.*|${DATADIR}|' ${WRKSRC}/${PORTNAME} do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/krank ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/krank ${STAGEDIR}${PREFIX}/bin/ - ${MKDIR} ${DATADIR} .for d in art fonts html levels sounds src - @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${DATADIR}) + @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR}) .endfor - ${INSTALL_DATA} ${WRKSRC}/krank.iss ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/logo.xcf ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/html/gfx/logo.png ${PREFIX}/share/pixmaps/${PORTNAME}.png - -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} -.endif + ${INSTALL_DATA} ${WRKSRC}/krank.iss ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/logo.xcf ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/html/gfx/logo.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png + + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |