diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-05-18 21:19:27 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-05-18 21:19:27 +0800 |
commit | 4d9cfe988320c7b31b5ecf25e57a2bd2287380a6 (patch) | |
tree | b28d921e6fd61c78d3662d1ca06372b72d1ccbac /games | |
parent | f94f3bc12a2a434a351c6338068234c9e2cdf354 (diff) | |
download | freebsd-ports-gnome-4d9cfe988320c7b31b5ecf25e57a2bd2287380a6.tar.gz freebsd-ports-gnome-4d9cfe988320c7b31b5ecf25e57a2bd2287380a6.tar.zst freebsd-ports-gnome-4d9cfe988320c7b31b5ecf25e57a2bd2287380a6.zip |
- Simplify MASTER_SITES
- Add NO_ARCH
- Switch to options helpers
- Silince post-patch
Diffstat (limited to 'games')
-rw-r--r-- | games/krank/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/games/krank/Makefile b/games/krank/Makefile index 2fb3a3af500b..0c3db28d77cc 100644 --- a/games/krank/Makefile +++ b/games/krank/Makefile @@ -5,7 +5,7 @@ PORTNAME= krank PORTVERSION= 07 PORTREVISION= 6 CATEGORIES= games -MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} +MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Little casual game @@ -15,18 +15,20 @@ RUN_DEPENDS= ${PYGAME} \ USES= python:run tar:bzip2 NO_BUILD= yes +NO_ARCH= yes PORTDOCS= CHANGELOG.txt README -OPTIONS_DEFINE= DOCS DESKTOP_ENTRIES="Krank" "" "${PORTNAME}" \ "${PORTNAME}" "Game;ArcadeGame;" "" +OPTIONS_DEFINE= DOCS + post-extract: @${FIND} ${WRKSRC} -name .cvsignore -delete -or -name .DS_Store -delete post-patch: - ${REINPLACE_CMD} -e 's|`dirname.*|${DATADIR}|' ${WRKSRC}/${PORTNAME} + @${REINPLACE_CMD} -e 's|`dirname.*|${DATADIR}|' ${WRKSRC}/${PORTNAME} do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ @@ -39,6 +41,7 @@ do-install: ${LN} -sf ${DATADIR}/html/gfx/logo.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} |