2002-08-17 23:54:31 +02:00
|
|
|
# New ports collection makefile for: enigma
|
|
|
|
# Date created: 25 July 2002
|
|
|
|
# Whom: Edwin Groothuis
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= enigma
|
2005-10-15 03:47:48 +02:00
|
|
|
PORTVERSION= 0.92
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 2
|
2002-08-17 23:54:31 +02:00
|
|
|
CATEGORIES= games
|
2006-07-06 19:54:46 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
|
|
|
|
MASTER_SITE_SUBDIR= enigma
|
2005-05-05 05:59:34 +02:00
|
|
|
DISTNAME= enigma-${PORTVERSION}
|
2002-08-17 23:54:31 +02:00
|
|
|
|
2005-05-05 04:14:01 +02:00
|
|
|
MAINTAINER= anholt@FreeBSD.org
|
2003-02-21 13:06:51 +01:00
|
|
|
COMMENT= Enigma is a reimplementation of Oxyd, a puzzle game
|
2002-08-17 23:54:31 +02:00
|
|
|
|
2006-09-15 10:17:11 +02:00
|
|
|
LIB_DEPENDS= zipios.0:${PORTSDIR}/archivers/zipios++
|
2004-11-22 01:42:41 +01:00
|
|
|
|
2005-04-02 05:43:14 +02:00
|
|
|
USE_GCC= 3.4
|
2003-02-23 06:13:03 +01:00
|
|
|
USE_GMAKE= yes
|
2005-05-05 05:59:34 +02:00
|
|
|
USE_GETTEXT= yes
|
2006-09-15 10:17:11 +02:00
|
|
|
USE_LUA= 4.0
|
|
|
|
LUA_COMPS= lua tolua
|
2005-04-09 02:51:32 +02:00
|
|
|
USE_SDL= gfx image mixer sdl ttf
|
2006-09-15 10:17:11 +02:00
|
|
|
USE_XLIB= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2005-05-05 05:59:34 +02:00
|
|
|
CONFIGURE_ARGS= --target="" \
|
|
|
|
--with-libintl-prefix="${LOCALBASE}"
|
2006-09-15 10:17:11 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" CXXFLAGS="${CXXFLAGS}" \
|
|
|
|
LDFLAGS="${LDFLAGS}"
|
|
|
|
CPPFLAGS= -I${LOCALBASE}/include -I${LUA_INCDIR}
|
|
|
|
CXXFLAGS= -I${X11BASE}/include ${PTHREAD_CFLAGS}
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib -L${LUA_LIBDIR} ${PTHREAD_LIBS}
|
2002-08-17 23:54:31 +02:00
|
|
|
|
|
|
|
MAN6= enigma.6
|
|
|
|
|
2004-11-22 01:42:41 +01:00
|
|
|
post-extract:
|
|
|
|
${RM} -rf ${WRKSRC}/lib-src/lua
|
|
|
|
${RM} -rf ${WRKSRC}/lib-src/zipios++
|
|
|
|
|
2002-08-17 23:54:31 +02:00
|
|
|
post-install:
|
2004-01-20 12:15:39 +01:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2002-08-17 23:54:31 +02:00
|
|
|
|
2004-11-21 11:40:00 +01:00
|
|
|
.include <bsd.port.mk>
|