0d2725682b
structure (i.e. include/SDL for includes and sdl-config for configuration binary) - Update graphics/sdl_ttf to version 2.0.8 - Update graphics/sdl_image to version 1.2.5 - Update audio/sdl_mixer to version 1.2.7 - Update net/sdl_net to version 1.2.6 - Update Mk/bsd.sdl.mk accordingly - Fix dependent ports to fit the new directory structure and avoid several API breakages - Bump up portrevisions for all dependent ports to allow them to be upgraded by portupgrade/portmaster etc tools Approved by: kris (portmgr), sem (mentor)
46 lines
1 KiB
Makefile
46 lines
1 KiB
Makefile
# New ports collection makefile for: enigma
|
|
# Date created: 25 July 2002
|
|
# Whom: Edwin Groothuis
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= enigma
|
|
PORTVERSION= 0.92
|
|
PORTREVISION= 1
|
|
CATEGORIES= games
|
|
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
|
|
MASTER_SITE_SUBDIR= enigma
|
|
DISTNAME= enigma-${PORTVERSION}
|
|
|
|
MAINTAINER= anholt@FreeBSD.org
|
|
COMMENT= Enigma is a reimplementation of Oxyd, a puzzle game
|
|
|
|
LIB_DEPENDS= zipios.0:${PORTSDIR}/archivers/zipios++
|
|
|
|
USE_GCC= 3.4
|
|
USE_GMAKE= yes
|
|
USE_GETTEXT= yes
|
|
USE_LUA= 4.0
|
|
LUA_COMPS= lua tolua
|
|
USE_SDL= gfx image mixer sdl ttf
|
|
USE_XLIB= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --target="" \
|
|
--with-libintl-prefix="${LOCALBASE}"
|
|
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}
|
|
|
|
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>
|