From 18178c96d1ebb739cbcd43501795f38f1282bd7b Mon Sep 17 00:00:00 2001 From: wg Date: Mon, 24 Jun 2013 13:54:22 +0000 Subject: games/thegrind: fix build depends - Fix BUILD_DEPENDS: needs a static library [1] - Remove leading article in COMMENT [2] - Add maintainer alias in Makefile [2] - Add DOCS option and unmute docs mkdir [2] PR: ports/179882 Submitted by: John Marino [1], maintainer [2] --- games/thegrind/Makefile | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) (limited to 'games') diff --git a/games/thegrind/Makefile b/games/thegrind/Makefile index 830b40ddd9e1..f8a98de4bd70 100644 --- a/games/thegrind/Makefile +++ b/games/thegrind/Makefile @@ -1,4 +1,4 @@ -# Created by: nemysis@gmx.ch +# Created by: nemysis # $FreeBSD$ PORTNAME= thegrind @@ -8,38 +8,41 @@ CATEGORIES= games MASTER_SITES= SF/radius-engine/ld21/ MAINTAINER= nemysis@gmx.ch -COMMENT= A simple game about escaping from work +COMMENT= Simple game about escaping from work LICENSE= GPLv2 -LIB_DEPENDS= radius:${PORTSDIR}/graphics/radius-engine \ - lua-5.1:${PORTSDIR}/lang/lua \ +BUILD_DEPENDS= ${LOCALBASE}/lib/libradius-engine.a:${PORTSDIR}/graphics/radius-engine +LIB_DEPENDS= lua-5.1:${PORTSDIR}/lang/lua \ png15:${PORTSDIR}/graphics/png \ physfs.1:${PORTSDIR}/devel/physfs RUN_DEPENDS= zip:${PORTSDIR}/archivers/zip USES= pkgconfig -GNU_CONFIGURE= yes -ALL_TARGET= ${PORTNAME} USE_SDL= sdl sound USE_GL= glu +GNU_CONFIGURE= yes +ALL_TARGET= ${PORTNAME} + MAKE_JOBS_SAFE= yes PLIST_FILES= bin/${PORTNAME} \ share/applications/${PORTNAME}.desktop \ - share/pixmaps/${PORTNAME}.png + share/pixmaps/${PORTNAME}.png \ + %%DATADIR%%/${PORTNAME}.zip +PLIST_DIRS= %%DATADIR%% PLIST_DIRSTRY= share/applications -PORTDATA= * PORTDOCS= ChangeLog +OPTIONS_DEFINE= DOCS + .include post-install: -# Documentation .if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR} + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} .endif .include -- cgit