mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
15945f8122
to GCC 4.8.3. Part II, Bump PORTREVISIONs. PR: 192025 Tested by: antoine (-exp runs) Approved by: portmgr (implicit)
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# Created by: <benlutz@datacomm.ch>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= freedroid
|
|
PORTVERSION= 1.0.2
|
|
PORTREVISION= 17
|
|
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 \
|
|
libpng15.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>
|