1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/games/syobon/Makefile

47 lines
920 B
Makefile

# Created by: nemysis@gmx.ch
# $FreeBSD$
PORTNAME= syobon
PORTVERSION= 1.0.1
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://download.zapek.com/software/${PORTNAME}/
DISTNAME= ${PORTNAME}_${PORTVERSION}
EXTRACT_SUFX= _src.tar.gz
MAINTAINER= nemysis@gmx.ch
COMMENT= Syobon Action is a platform game as Super Mario Bros
WRKSRC= ${WRKDIR}/${PORTNAME}
USES= gmake pkgconfig
USE_DOS2UNIX= *.txt
ALL_TARGET= ${PORTNAME}
USE_SDL= sdl gfx image mixer ttf
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= README.txt
PORTDATA= *
MAKE_ENV= GAMEDATA="${DATADIR}"
NO_STAGE= yes
.include <bsd.port.options.mk>
do-install:
# Executable
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
# Data
${MKDIR} ${DATADIR}
@(cd ${WRKSRC} && ${COPYTREE_SHARE} "BGM SE res" ${DATADIR})
# Documentation
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
.endif
.include <bsd.port.mk>