1998-05-17 05:43:37 +00:00
|
|
|
# New ports collection makefile for: Maelstrom
|
|
|
|
# Version required: 2.0.6
|
|
|
|
# Date created: 13 May 1998
|
|
|
|
# Whom: Andrey Zakhvatov
|
|
|
|
#
|
1999-08-25 06:06:33 +00:00
|
|
|
# $FreeBSD$
|
1998-05-17 05:43:37 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= Maelstrom-1.4.3-L2.0.6-src
|
|
|
|
PKGNAME= maelstrom-2.0.6
|
1998-07-27 23:25:33 +00:00
|
|
|
CATEGORIES= games
|
1998-05-17 23:09:43 +00:00
|
|
|
MASTER_SITES= ftp://ftp.devolution.com/pub/maelstrom/
|
1998-05-17 05:43:37 +00:00
|
|
|
|
|
|
|
MAINTAINER= andy@icc.surw.chel.su
|
|
|
|
|
1998-09-17 00:33:02 +00:00
|
|
|
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
|
1998-05-17 05:43:37 +00:00
|
|
|
|
1998-08-05 09:31:52 +00:00
|
|
|
USE_X_PREFIX= yes
|
1998-05-17 05:43:37 +00:00
|
|
|
WRKSRC= ${WRKDIR}/Maelstrom
|
2000-01-31 03:43:43 +00:00
|
|
|
MAKE_ENV= CFLAGS="${CFLAGS} -pedantic" CXXFLAGS="${CXXFLAGS} -pedantic"
|
1998-05-17 05:43:37 +00:00
|
|
|
|
|
|
|
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
|
1999-08-22 19:01:07 +00:00
|
|
|
@ ${CHOWN} games:games ${PREFIX}/share/Maelstrom/Maelstrom-Scores
|
|
|
|
@ ${CHMOD} 666 ${PREFIX}/share/Maelstrom/Maelstrom-Scores
|
1998-05-17 05:43:37 +00:00
|
|
|
@ ${MKDIR} ${PREFIX}/share/Maelstrom/Images
|
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/Images/*n ${PREFIX}/share/Maelstrom/Images
|
|
|
|
|
|
|
|
.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
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|