1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/games/avoision/Makefile

53 lines
1.2 KiB
Makefile

# Created by: nemysis <nemysis@gmx.ch>
# $FreeBSD$
PORTNAME= avoision
PORTVERSION= 1.1
PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= SF/avsn/
MAINTAINER= nemysis@gmx.ch
COMMENT= Simple collect-dots-avoid-blocks game
LICENSE= GPLv2 CCbyNCSA3
LICENSE_COMB= dual
LICENSE_NAME_CCbyNCSA3=Attribution-NonCommercial-ShareAlike 3.0 Unported
LICENSE_FILE= ${WRKSRC}/License.txt
LICENSE_FILE_CCbyNCSA3=${WRKSRC}/License.txt
LICENSE_PERMS_CCbyNCSA3=dist-mirror pkg-mirror auto-accept
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}
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
NO_STAGE= yes
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>