1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/games/openjazz/Makefile
Ganael LAPLANCHE 989f90dd85 - Update to 20120819
- Use new header format in Makefile
- Use NO_WRKSUBDIR instead of redefining WRKSRC manually

Feature safe:	yes
2013-04-17 07:08:08 +00:00

39 lines
912 B
Makefile

# Created by: Ganael Laplanche <ganael.laplanche@martymac.org>
# $FreeBSD$
PORTNAME= openjazz
PORTVERSION= 20120819
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
NO_WRKSUBDIR= yes
USE_ZIP= yes
USE_GMAKE= yes
ALL_TARGET= OpenJazz
USE_XORG= x11 xext xrandr xrender xau xdmcp
USE_SDL= sdl
USE_DOS2UNIX= yes
DOS2UNIX_REGEX= .*\.(h|cpp)
CPPFLAGS+= -I${LOCALBASE}/include `${SDL_CONFIG} --cflags` \
-DDATAPATH=\\\"${DATADIR}/\\\" -DHOMEDIR
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} `${SDL_CONFIG} --libs`
SUB_FILES= pkg-message
do-install:
@${MKDIR} ${DATADIR}
@${INSTALL_DATA} ${WRKSRC}/openjazz.000 ${DATADIR}/
@${INSTALL_SCRIPT} ${WRKDIR}/OpenJazz ${PREFIX}/bin/openjazz
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>