1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/games/freedroid/Makefile
2014-12-25 20:54:41 +00:00

44 lines
1.1 KiB
Makefile

# Created by: <benlutz@datacomm.ch>
# $FreeBSD$
PORTNAME= freedroid
PORTVERSION= 1.0.2
PORTREVISION= 19
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}Classic/FreedroidClassic-${PORTVERSION}
MAINTAINER= kevinz5000@gmail.com
COMMENT= Clone of the Commodore game Paradroid
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \
libpng.so:${PORTSDIR}/graphics/png
USES= iconv
USE_SDL= mixer image sdl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-transform-name=
DESKTOP_ENTRIES= "Freedroid Classic" "${COMMENT}" \
"${DATADIR}/graphics/999.png" \
"freedroid" "Game;ArcadeGame;" false
post-extract:
.for d in graphics map sound
@${FIND} ${WRKSRC}/${d} -type f -name "Makefile*" -print0 | \
${XARGS} -0 ${RM}
.endfor
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.mk>