2008-06-03 04:35:07 +02:00
|
|
|
# New ports collection makefile for: openjazz
|
|
|
|
# Date created: 01 Apr 2008
|
2010-09-07 17:52:18 +02:00
|
|
|
# Whom: Ganael Laplanche <ganael.laplanche@martymac.org>
|
2008-06-03 04:35:07 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= openjazz
|
2011-07-15 12:21:31 +02:00
|
|
|
PORTVERSION= 20110703
|
2012-02-18 11:18:33 +01:00
|
|
|
PORTREVISION= 1
|
2008-06-03 04:35:07 +02:00
|
|
|
CATEGORIES= games
|
2010-10-08 10:27:15 +02:00
|
|
|
MASTER_SITES= http://alister.eu/jazz/oj/ \
|
|
|
|
LOCAL/martymac
|
2011-07-15 12:21:31 +02:00
|
|
|
DISTNAME= OpenJazz-src-030711
|
2008-06-03 04:35:07 +02:00
|
|
|
|
2010-09-27 14:08:23 +02:00
|
|
|
MAINTAINER= martymac@FreeBSD.org
|
2008-06-03 04:35:07 +02:00
|
|
|
COMMENT= Free re-implementation of the Jazz Jackrabbit(tm) game engine
|
|
|
|
|
2010-10-08 10:27:15 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2010-04-14 03:40:25 +02:00
|
|
|
WRKSRC= ${WRKDIR}
|
|
|
|
|
|
|
|
USE_ZIP= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
ALL_TARGET= OpenJazz
|
2008-06-03 04:35:07 +02:00
|
|
|
USE_XORG= x11 xext xrandr xrender xau xdmcp
|
|
|
|
USE_SDL= sdl
|
|
|
|
|
2010-10-08 10:27:15 +02:00
|
|
|
USE_DOS2UNIX= yes
|
|
|
|
DOS2UNIX_REGEX= .*\.(h|cpp)
|
|
|
|
|
2011-01-13 08:23:00 +01:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include `${SDL_CONFIG} --cflags` \
|
|
|
|
-DDATAPATH=\\\"${DATADIR}/\\\" -DHOMEDIR
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} `${SDL_CONFIG} --libs`
|
2008-06-03 04:35:07 +02:00
|
|
|
|
2010-04-14 03:40:25 +02:00
|
|
|
SUB_FILES= pkg-message
|
2008-06-03 04:35:07 +02:00
|
|
|
|
2010-04-14 03:40:25 +02:00
|
|
|
do-install:
|
2008-06-03 04:35:07 +02:00
|
|
|
@${MKDIR} ${DATADIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/openjazz.000 ${DATADIR}/
|
2010-04-14 03:40:25 +02:00
|
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/OpenJazz ${PREFIX}/bin/openjazz
|
2008-06-03 04:35:07 +02:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|