1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00
freebsd-ports/games/freedroid/Makefile
Edwin Groothuis a199ec4230 New Port: /games/freedroid
Freedroid is a clone of the classic game "Paradroid" on
	Commodore 64 with some improvements and extensions to the
	classic version.

	In this game, you control a robot, depicted by a small white
	ball with a few numbers within an interstellar spaceship
	consisting of several decks connected by elevators.

	The aim of the game is to destroy all enemy robots, depicted
	by small black balls with a few numbers, by either shooting
	them or seizing control over them by creating connections
	in a short subgame of electric circuits.

	WWW: http://freedroid.sourceforge.net

PR:		ports/56887
Submitted by:	Benjamin Lutz <benlutz@datacomm.ch>
2003-09-28 12:08:39 +00:00

44 lines
1.1 KiB
Makefile

# New ports collection makefile for: criticalmass
# Date created: 15 Sep 2003
# Whom: benlutz@datacomm.ch
#
# $FreeBSD$
#
PORTNAME= freedroid
PORTVERSION= 1.0.2
PORTREVISION= 0
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= freedroid
MAINTAINER= benlutz@datacomm.ch
COMMENT= Freedroid is a clone of the classic game "Paradroid"
LIB_DEPENDS= SDL-1.1:${PORTSDIR}/devel/sdl12 \
jpeg:${PORTSDIR}/graphics/jpeg \
png:${PORTSDIR}/graphics/png \
SDL_image:${PORTSDIR}/graphics/sdl_image \
SDL_mixer:${PORTSDIR}/audio/sdl_mixer \
vorbis:${PORTSDIR}/audio/libvorbis
USE_XLIB= yes
USE_SDL= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -L${X11BASE}/lib" \
CPPFLAGS="${CFLAGS} -I${X11BASE}/include"
CONFIGURE_ARGS= --program-transform-name=
MAN6= freedroid.6
.include <bsd.port.pre.mk>
post-patch:
${REINPLACE_CMD} -e 's#sdl-config#sdl11-config#; s#-lSDL # #;' ${WRKSRC}/configure
${REINPLACE_CMD} -e 's#mac-osx ##;' ${WRKSRC}/Makefile.am ${WRKSRC}/Makefile.in
${REINPLACE_CMD} -e 's#\#include \"mac-osx/getopt\.h\"##;' ${WRKSRC}/src/system.h
.include <bsd.port.post.mk>