freebsd-ports/games/freedroid/Makefile
Muhammad Moinur Rahman bd96c40775
games/freedroid: Moved man to share/man
Approved by:    portmgr (blanket)
2024-02-24 08:08:03 +01:00

41 lines
1.1 KiB
Makefile

PORTNAME= freedroid
PORTVERSION= 1.0.2
PORTREVISION= 21
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}Classic/FreedroidClassic-${PORTVERSION}
MAINTAINER= kevinz5000@gmail.com
COMMENT= Clone of the Commodore game Paradroid
WWW= https://www.freedroid.org/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpng.so:graphics/png
USES= iconv jpeg sdl
USE_SDL= mixer image sdl
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
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>