freebsd-ports/games/enigma/Makefile
Eric Anholt 8047563112 Update to 0.92, and depend on zipios as a LIB_DEPENDS, since we're linking
against a shared library.

Reported by:	vs (zipios issue)
2005-10-15 01:47:48 +00:00

44 lines
998 B
Makefile

# New ports collection makefile for: enigma
# Date created: 25 July 2002
# Whom: Edwin Groothuis
#
# $FreeBSD$
#
PORTNAME= enigma
PORTVERSION= 0.92
CATEGORIES= games
MASTER_SITES= http://savannah.nongnu.org/download/enigma/
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= enigma-${PORTVERSION}
MAINTAINER= anholt@FreeBSD.org
COMMENT= Enigma is a reimplementation of Oxyd, a puzzle game
BUILD_DEPENDS= ${LOCALBASE}/bin/tolua:${PORTSDIR}/lang/tolua4
LIB_DEPENDS= zipios.0:${PORTSDIR}/archivers/zipios++ \
lua.4:${PORTSDIR}/lang/lua4
USE_GCC= 3.4
GNU_CONFIGURE= yes
USE_XLIB= yes
USE_GMAKE= yes
USE_GETTEXT= yes
USE_SDL= gfx image mixer sdl ttf
CONFIGURE_ARGS= --target="" \
--with-libintl-prefix="${LOCALBASE}"
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
CXXFLAGS="${PTHREAD_CFLAGS} -I${X11BASE}/include"
MAN6= enigma.6
post-extract:
${RM} -rf ${WRKSRC}/lib-src/lua
${RM} -rf ${WRKSRC}/lib-src/zipios++
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>