freebsd-ports/games/moonlander/Makefile
Marcus von Appen fbd0197639 - Update devel/sdl12 to 1.2.15
- Update audio/sdl_mixer to 1.2.15
- Update graphics/sdl_image to 1.2.12
- Update graphics/sdl_ttf to 2.0.11
- Update graphics/sdl_gfx to 2.0.23
- Update net/sdl_net to 1.2.8
- Bump PORTREVISIONs on ports that depend on one or more packages due to
ABI and shared library version changes
- Update Mk/bsd.sdl.mk accordingly for the new shared library versions

Tested by:	exp-run by pav
2012-02-18 10:18:33 +00:00

56 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= 11
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_DEBIAN}
MASTER_SITE_SUBDIR=pool/main/m/moon-lander
DISTNAME= moon-lander_1.0.orig
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Land a spacecraft on the moon
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/README.txt
USE_SDL= mixer image sdl
MAKE_JOBS_SAFE= 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>