diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2013-06-18 11:46:51 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2013-06-18 11:46:51 +0000 |
commit | 3037cb61c7f1ac5ae9a15cee2365daa2d4036028 (patch) | |
tree | e391a5b5894d27043bb95bd6680b03174979f810 /games/dangen | |
parent | 28eb882aa04c420b3fe972dd8748b80c90c5cd82 (diff) |
Notes
Diffstat (limited to 'games/dangen')
-rw-r--r-- | games/dangen/Makefile | 19 | ||||
-rw-r--r-- | games/dangen/pkg-plist | 4 |
2 files changed, 9 insertions, 14 deletions
diff --git a/games/dangen/Makefile b/games/dangen/Makefile index b4a42e0cff4f..27cdf06b1755 100644 --- a/games/dangen/Makefile +++ b/games/dangen/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: dangen -# Date created: 25 Aug 2006 -# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru> -# +# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru> # $FreeBSD$ -# PORTNAME= dangen PORTVERSION= 0.5 @@ -26,22 +22,25 @@ DESKTOP_ENTRIES="dangen" \ "Game;ArcadeGame;" \ false -PORTDOCS= README +PORTDOCS= * + +PLIST_FILES= bin/${PORTNAME} %%DATADIR%%/image/font.png +PLIST_DIRS= %%DATADIR%%/image %%DATADIR%% MAN6= dangen.6 +.include <bsd.port.options.mk> + post-patch: @${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|' ${WRKSRC}/Makefile.in \ ${WRKSRC}/libtenm/Makefile.in ${WRKSRC}/spqr/Makefile.in @${REINPLACE_CMD} -e 's|$$(datadir)/games/|$$(datadir)/|' ${WRKSRC}/spqr/image/Makefile.in @${REINPLACE_CMD} -e 's|/games||' ${WRKSRC}/util.c -.if !defined(NOPORTDOCS) post-install: +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} -.for f in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} -.endfor + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/ .endif .include <bsd.port.mk> diff --git a/games/dangen/pkg-plist b/games/dangen/pkg-plist deleted file mode 100644 index 70e91817a5f0..000000000000 --- a/games/dangen/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -bin/dangen -%%DATADIR%%/image/font.png -@dirrm %%DATADIR%%/image -@dirrm %%DATADIR%% |