1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/games/moonlander/Makefile
Edwin Groothuis 23ac2035b9 [MAINTAINER] update my email address in 76 ports + mirror some distfiles
I've got a brand new hosting, so change my email to the new
	one.  Also, now I can mirror some distfiles, so update
	MASTER_SITES for some ports.

PR:		ports/107038
Submitted by:	Dmitry Marakasov <amdmi3@mail.ru>
2006-12-21 20:41:33 +00:00

53 lines
1.1 KiB
Makefile

# New ports collection makefile for: moonlander
# Date created: 27 Jun 2003
# Whom: Kris Kennaway <kris@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= moonlander
PORTVERSION= 1.0
PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_DEBIAN}
MASTER_SITE_SUBDIR=pool/main/m/moon-lander
DISTNAME= moon-lander_1.0.orig
MAINTAINER= amdmi3@amdmi3.ru
COMMENT= Land a spacecraft on the moon
USE_SDL= mixer image sdl
USE_X_PREFIX= YES
WRKSRC= ${WRKDIR}/moon-lander
OPTIONS= SOUND "Sound support" on
.include <bsd.port.pre.mk>
install_dirs= fonts images
.if defined(WITHOUT_SOUND)
CFLAGS+= -DNOSOUND
PLIST_SUB+= SOUND="@comment "
.else
PLIST_SUB+= SOUND=
install_dirs+= sounds
.endif
do-configure:
${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/moon_lander.c
do-install:
@${MKDIR} ${PREFIX}/bin; \
${INSTALL_PROGRAM} ${WRKSRC}/moonlander ${PREFIX}/bin; \
${MKDIR} ${DATADIR}
.for i in ${install_dirs}
@${CP} -R ${WRKSRC}/${i} ${DATADIR}
.endfor
post-install:
@${FIND} ${PREFIX}/share/moonlander -type f -print0 | \
${XARGS} -0 ${CHMOD} 444
.include <bsd.port.post.mk>