1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/games/openjazz/Makefile
Gerald Pfeifer 15945f8122 Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
2014-09-10 20:50:31 +00:00

44 lines
1.0 KiB
Makefile

# Created by: Ganael Laplanche <ganael.laplanche@martymac.org>
# $FreeBSD$
PORTNAME= openjazz
PORTVERSION= 20120819
PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= http://alister.eu/jazz/oj/ \
LOCAL/martymac
DISTNAME= OpenJazz-src-190812
MAINTAINER= martymac@FreeBSD.org
COMMENT= Free re-implementation of the Jazz Jackrabbit(tm) game engine
LICENSE= GPLv2
WRKSRC= ${WRKDIR}/${PORTNAME}
EXTRACT_AFTER_ARGS= -d ${WRKSRC}
USES= dos2unix gmake zip
DOS2UNIX_REGEX= .*\.(h|cpp)
ALL_TARGET= OpenJazz
USE_XORG= x11 xext xrandr xrender xau xdmcp
USE_SDL= sdl
CPPFLAGS+= -I${LOCALBASE}/include `${SDL_CONFIG} --cflags` \
-DDATAPATH=\\\"${DATADIR}/\\\" -DHOMEDIR
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} `${SDL_CONFIG} --libs`
SUB_FILES= pkg-message
pre-extract:
@${MKDIR} ${WRKSRC}
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/openjazz.000 ${STAGEDIR}${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/OpenJazz ${STAGEDIR}${PREFIX}/bin/openjazz
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/openjazz
.include <bsd.port.mk>