summaryrefslogtreecommitdiff
path: root/games/maelstrom/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/maelstrom/Makefile')
-rw-r--r--games/maelstrom/Makefile36
1 files changed, 8 insertions, 28 deletions
diff --git a/games/maelstrom/Makefile b/games/maelstrom/Makefile
index 77277d89d319..e8c58ae38f88 100644
--- a/games/maelstrom/Makefile
+++ b/games/maelstrom/Makefile
@@ -1,46 +1,26 @@
# New ports collection makefile for: Maelstrom
-# Version required: 2.0.6
+# Version required: 3.0.1
# Date created: 13 May 1998
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
-DISTNAME= Maelstrom-1.4.3-L2.0.6-src
-PKGNAME= maelstrom-2.0.6
+DISTNAME= Maelstrom-3.0.1
+PKGNAME= maelstrom-3.0.1
CATEGORIES= games
-MASTER_SITES= ftp://ftp.devolution.com/pub/maelstrom/
+MASTER_SITES= http://www.devolution.com/~slouken/projects/Maelstrom/src/
MAINTAINER= andy@icc.surw.chel.su
-LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
+LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm \
+ SDL-1.0.2:${PORTSDIR}/devel/sdl
USE_X_PREFIX= yes
-WRKSRC= ${WRKDIR}/Maelstrom
-MAKE_ENV= CFLAGS="${CFLAGS} -pedantic" CXXFLAGS="${CXXFLAGS} -pedantic"
-
-do-configure:
- @ ${CP} ${FILESDIR}/Makeflags ${WRKSRC}
-
-do-install:
- @ ${INSTALL_PROGRAM} ${WRKSRC}/Maelstrom ${PREFIX}/bin
- @ ${INSTALL_PROGRAM} ${WRKSRC}/Maelstrom_sound ${PREFIX}/bin
- @ ${MKDIR} ${PREFIX}/share/Maelstrom
-.for file in Fonts Sounds Sprites
- @ ${INSTALL_DATA} ${WRKSRC}/Maelstrom\ ${file} ${PREFIX}/share/Maelstrom
-.endfor
- @ ${INSTALL_DATA} ${WRKSRC}/Maelstrom-Scores ${PREFIX}/share/Maelstrom
- @ ${CHOWN} root:games ${PREFIX}/share/Maelstrom/Maelstrom-Scores
- @ ${CHMOD} 666 ${PREFIX}/share/Maelstrom/Maelstrom-Scores
- @ ${MKDIR} ${PREFIX}/share/Maelstrom/Images
- @ ${INSTALL_DATA} ${WRKSRC}/Images/*n ${PREFIX}/share/Maelstrom/Images
+GNU_CONFIGURE= yes
.if !defined(NOPORTDOCS)
- @ ${MKDIR} ${PREFIX}/share/doc/Maelstrom
-.for file in Ambrosia.URL BUGS Changelog Copyright README README.Options README.network
- @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/Maelstrom
-.endfor
- @ ${INSTALL_DATA} ${WRKSRC}/Doc/* ${PREFIX}/share/doc/Maelstrom
+INSTALL_TARGET= install install_gamedocs
.endif
.include <bsd.port.mk>