Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jun 2013 13:54:22 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r321682 - head/games/thegrind
Message-ID:  <201306241354.r5ODsMbv000484@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Mon Jun 24 13:54:22 2013
New Revision: 321682
URL: http://svnweb.freebsd.org/changeset/ports/321682

Log:
  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 <draco@marino.st> [1], maintainer [2]

Modified:
  head/games/thegrind/Makefile

Modified: head/games/thegrind/Makefile
==============================================================================
--- head/games/thegrind/Makefile	Mon Jun 24 13:53:29 2013	(r321681)
+++ head/games/thegrind/Makefile	Mon Jun 24 13:54:22 2013	(r321682)
@@ -1,4 +1,4 @@
-# Created by: nemysis@gmx.ch
+# Created by: nemysis <nemysis@gmx.ch>
 # $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 <bsd.port.options.mk>
 
 post-install:
-# Documentation
 .if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306241354.r5ODsMbv000484>