1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/games/freedroid/Makefile
Stanislav Sedov 0d2725682b - Update devel/sdl12 to version 1.2.11. Now we employ stock SDL directory
structure (i.e. include/SDL for includes and sdl-config for configuration
   binary)
 - Update graphics/sdl_ttf to version 2.0.8
 - Update graphics/sdl_image to version 1.2.5
 - Update audio/sdl_mixer to version 1.2.7
 - Update net/sdl_net to version 1.2.6
 - Update Mk/bsd.sdl.mk accordingly
 - Fix dependent ports to fit the new directory structure and avoid several
   API breakages
 - Bump up portrevisions for all dependent ports to allow them to be upgraded
   by portupgrade/portmaster etc tools

Approved by:    kris (portmgr), sem (mentor)
2006-09-20 11:21:59 +00:00

43 lines
968 B
Makefile

# New ports collection makefile for: criticalmass
# Date created: 15 Sep 2003
# Whom: benlutz@datacomm.ch
#
# $FreeBSD$
#
PORTNAME= freedroid
PORTVERSION= 1.0.2
PORTREVISION= 4
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= freedroid
MAINTAINER= alepulver@FreeBSD.org
COMMENT= Freedroid is a clone of the classic game "Paradroid"
USE_XLIB= yes
USE_SDL= mixer image sdl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-transform-name=
MAN6= freedroid.6
post-extract:
.for d in graphics map sound
@${FIND} ${WRKSRC}/${d} -type f -name "Makefile*" -print0 | \
${XARGS} -0 ${RM}
.endfor
.include <bsd.port.pre.mk>
post-patch:
@${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
.include <bsd.port.post.mk>