aboutsummaryrefslogtreecommitdiffstats
path: root/games/enigma/Makefile
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2004-11-22 08:42:41 +0800
committeredwin <edwin@FreeBSD.org>2004-11-22 08:42:41 +0800
commit301cb0ae2d43ce22beaff2dc811c097124990cfb (patch)
treed53df61bb34ca51e49c2f051ab310393cc05f10e /games/enigma/Makefile
parent64abf4678c654a330bff3e6a1d958b87a9914f08 (diff)
downloadfreebsd-ports-gnome-301cb0ae2d43ce22beaff2dc811c097124990cfb.tar.gz
freebsd-ports-gnome-301cb0ae2d43ce22beaff2dc811c097124990cfb.tar.zst
freebsd-ports-gnome-301cb0ae2d43ce22beaff2dc811c097124990cfb.zip
Don't use enigma's zipios++ and lua4 but the one from the FreeBSD
ports collection.
Diffstat (limited to 'games/enigma/Makefile')
-rw-r--r--games/enigma/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/enigma/Makefile b/games/enigma/Makefile
index 671f98ba25be..26f59093cb16 100644
--- a/games/enigma/Makefile
+++ b/games/enigma/Makefile
@@ -7,6 +7,7 @@
PORTNAME= enigma
PORTVERSION= 0.90
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://savannah.nongnu.org/download/enigma/
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,6 +16,10 @@ DISTNAME= enigma-${PORTVERSION}-beta
MAINTAINER= edwin@mavetju.org
COMMENT= Enigma is a reimplementation of Oxyd, a puzzle game
+BUILD_DEPENDS= ${LOCALBASE}/lib/libzipios.a:${PORTSDIR}/archivers/zipios++
+BUILD_DEPENDS+= ${LOCALBASE}/bin/tolua:${PORTSDIR}/lang/tolua4
+LIB_DEPENDS= lua.4:${PORTSDIR}/lang/lua4
+
GNU_CONFIGURE= yes
USE_XLIB= yes
USE_GMAKE= yes
@@ -25,6 +30,10 @@ CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
MAN6= enigma.6
+post-extract:
+ ${RM} -rf ${WRKSRC}/lib-src/lua
+ ${RM} -rf ${WRKSRC}/lib-src/zipios++
+
post-install:
@${CAT} ${PKGMESSAGE}