mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-10 07:04:03 +00:00
b7581d0270
- Trim header - Fix PORTSCOUT Feature safe: yes
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= jvgs
|
|
PORTVERSION= 0.4
|
|
PORTREVISION= 3
|
|
CATEGORIES= games
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= A minimalistic platform game
|
|
|
|
BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13
|
|
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2
|
|
|
|
USE_CMAKE= yes
|
|
USE_SDL= sdl mixer
|
|
USE_GL= gl glu
|
|
USE_LUA= 5.1+
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
SUB_FILES= ${PORTNAME}
|
|
|
|
NO_CDROM= contains data under CC-by-NC-SA
|
|
|
|
PORTDOCS= AUTHORS
|
|
|
|
PORTSCOUT= skipv:0.5 # unplayable due to broken double jump
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|main.lua|${DATADIR}/&|' ${WRKSRC}/src/main.cpp
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/jvgs ${PREFIX}/libexec/
|
|
${INSTALL_SCRIPT} ${WRKDIR}/jvgs ${PREFIX}/bin/
|
|
${MKDIR} ${DATADIR}
|
|
cd ${WRKSRC} && ${COPYTREE_SHARE} "resources main.lua" ${DATADIR}/
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|