aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2004-01-20 19:15:39 +0800
committeredwin <edwin@FreeBSD.org>2004-01-20 19:15:39 +0800
commit332948c8d65beda4907e3cdea9af032b245afe0e (patch)
tree8af9e71f1f598547758c82f6087f0de61e4ae07b /games
parent362ccd9d12cc1e684cc2fc8146fa73a9b0f90256 (diff)
downloadfreebsd-ports-gnome-332948c8d65beda4907e3cdea9af032b245afe0e.tar.gz
freebsd-ports-gnome-332948c8d65beda4907e3cdea9af032b245afe0e.tar.zst
freebsd-ports-gnome-332948c8d65beda4907e3cdea9af032b245afe0e.zip
Be the first port to fully utilize bsd.sdl.mk
Submitted by: edwin@mavetju.org
Diffstat (limited to 'games')
-rw-r--r--games/enigma/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/games/enigma/Makefile b/games/enigma/Makefile
index 7a80d3d50ed1..91e04913a302 100644
--- a/games/enigma/Makefile
+++ b/games/enigma/Makefile
@@ -16,24 +16,19 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= edwin@mavetju.org
COMMENT= Enigma is a reimplementation of Oxyd, a puzzle game
-BUILD_DEPENDS= sdl11-config:${PORTSDIR}/devel/sdl12 \
- lua:${PORTSDIR}/lang/lua
-LIB_DEPENDS= SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer \
- SDL_image.10:${PORTSDIR}/graphics/sdl_image \
- SDL_gfx.10:${PORTSDIR}/graphics/sdl_gfx
+BUILD_DEPENDS= lua:${PORTSDIR}/lang/lua
GNU_CONFIGURE= yes
USE_XLIB= yes
USE_GMAKE= yes
-SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config
+USE_SDL= gfx image mixer sdl
CONFIGURE_ARGS= --target=""
-CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \
- LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
+CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
CXXFLAGS="${PTHREAD_CFLAGS} -I${X11BASE}/include"
MAN6= enigma.6
post-install:
- @${CAT} pkg-message
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>