mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
6506e45d69
- Update audio/sdl_mixer to version 1.2.11. - Update graphics/sdl_gfx to version 2.0.20. - Update graphics/sdl_image to version 1.2.10. - Bump portrevisions for all ports depending on audio/sdl_mixer and graphics/sdl_image. - Update Mk/bsd.sdl.mk accordingly for the new shared lib versions. PR: ports/142147 ports/142248 ports/142249 Approved by: miwi (mentor implicit)
47 lines
1.0 KiB
Makefile
47 lines
1.0 KiB
Makefile
# New ports collection makefile for: jvgs
|
|
# Date created: 15 Jan 2010
|
|
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= jvgs
|
|
PORTVERSION= 0.4
|
|
PORTREVISION= 1
|
|
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
|
|
|
|
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 !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|