freebsd-ports/games/thegrind/Makefile
William Grzybowski d2e582ca75 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]
2013-06-24 13:54:22 +00:00

48 lines
1 KiB
Makefile

# Created by: nemysis <nemysis@gmx.ch>
# $FreeBSD$
PORTNAME= thegrind
PORTVERSION= 0.1.2
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SF/radius-engine/ld21/
MAINTAINER= nemysis@gmx.ch
COMMENT= Simple game about escaping from work
LICENSE= GPLv2
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
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 \
%%DATADIR%%/${PORTNAME}.zip
PLIST_DIRS= %%DATADIR%%
PLIST_DIRSTRY= share/applications
PORTDOCS= ChangeLog
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>