2002-08-17 21:54:31 +00:00
|
|
|
# New ports collection makefile for: enigma
|
|
|
|
# Date created: 25 July 2002
|
|
|
|
# Whom: Edwin Groothuis
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= enigma
|
2003-10-08 23:49:21 +00:00
|
|
|
PORTVERSION= 0.80
|
2002-08-17 21:54:31 +00:00
|
|
|
CATEGORIES= games
|
2003-10-03 11:04:59 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2002-08-17 21:54:31 +00:00
|
|
|
|
|
|
|
MAINTAINER= edwin@mavetju.org
|
2003-02-21 12:06:51 +00:00
|
|
|
COMMENT= Enigma is a reimplementation of Oxyd, a puzzle game
|
2002-08-17 21:54:31 +00:00
|
|
|
|
2003-02-23 05:13:03 +00:00
|
|
|
BUILD_DEPENDS= sdl11-config:${PORTSDIR}/devel/sdl12 \
|
2002-08-17 21:54:31 +00:00
|
|
|
lua:${PORTSDIR}/lang/lua
|
|
|
|
LIB_DEPENDS= SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer \
|
2003-10-08 23:49:21 +00:00
|
|
|
SDL_image.10:${PORTSDIR}/graphics/sdl_image \
|
|
|
|
SDL_gfx.8:${PORTSDIR}/graphics/sdl_gfx
|
2002-08-17 21:54:31 +00:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_XLIB= yes
|
|
|
|
USE_REINPLACE= yes
|
2003-02-23 05:13:03 +00:00
|
|
|
USE_GMAKE= yes
|
2002-08-17 21:54:31 +00:00
|
|
|
SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config
|
2003-02-23 05:13:03 +00:00
|
|
|
CONFIGURE_ARGS= --target=""
|
|
|
|
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
|
|
|
|
CXXFLAGS="${PTHREAD_CFLAGS} -I${X11BASE}/include"
|
2002-08-17 21:54:31 +00:00
|
|
|
|
|
|
|
MAN6= enigma.6
|
|
|
|
|
|
|
|
post-install:
|
2003-02-23 05:13:03 +00:00
|
|
|
@${CAT} pkg-message
|
2002-08-17 21:54:31 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|