2003-09-28 14:08:39 +02:00
|
|
|
# New ports collection makefile for: criticalmass
|
|
|
|
# Date created: 15 Sep 2003
|
|
|
|
# Whom: benlutz@datacomm.ch
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= freedroid
|
|
|
|
PORTVERSION= 1.0.2
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 13
|
2003-09-28 14:08:39 +02:00
|
|
|
CATEGORIES= games
|
2009-08-22 02:23:13 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}Classic/FreedroidClassic-${PORTVERSION}
|
2003-09-28 14:08:39 +02:00
|
|
|
|
2011-02-27 05:54:41 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-09-28 14:08:39 +02:00
|
|
|
COMMENT= Freedroid is a clone of the classic game "Paradroid"
|
|
|
|
|
2004-01-20 22:27:10 +01:00
|
|
|
USE_SDL= mixer image sdl
|
2005-07-30 14:17:08 +02:00
|
|
|
|
2003-09-28 14:08:39 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --program-transform-name=
|
|
|
|
|
|
|
|
MAN6= freedroid.6
|
|
|
|
|
2005-07-30 14:17:08 +02:00
|
|
|
post-extract:
|
|
|
|
.for d in graphics map sound
|
|
|
|
@${FIND} ${WRKSRC}/${d} -type f -name "Makefile*" -print0 | \
|
|
|
|
${XARGS} -0 ${RM}
|
|
|
|
.endfor
|
|
|
|
|
2003-09-28 14:08:39 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
post-patch:
|
2005-07-30 14:17:08 +02:00
|
|
|
@${REINPLACE_CMD} -e 's#-lSDL # #;' \
|
|
|
|
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
|
|
|
|
@${REINPLACE_CMD} -e 's#$$(man_MANS) mac-osx ##;' \
|
|
|
|
${WRKSRC}/Makefile.am ${WRKSRC}/Makefile.in
|
|
|
|
@${REINPLACE_CMD} -e 's#\#include \"mac-osx/getopt\.h\"##;' \
|
|
|
|
${WRKSRC}/src/system.h
|
2003-09-28 14:08:39 +02:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|