1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/games/bomberclone/Makefile
2019-11-08 10:47:01 +00:00

49 lines
1.1 KiB
Makefile

# Created by: Edwin Groothuis
# $FreeBSD$
PORTNAME= bomberclone
PORTVERSION= 0.11.9
PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Reimplementation of Atomic Bomber Man
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gmake localbase sdl
USE_SDL= image mixer sdl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-werror
LIBS+= -lm
PORTDOCS= AUTHORS ChangeLog README TODO
OPTIONS_DEFINE= DOCS
DESKTOP_ENTRIES="BomberMan clone" "" "${PORTNAME}" \
"${PORTNAME}" "Game;ArcadeGame;" ""
post-extract:
@${FIND} ${WRKSRC} -type d -name CVS | ${XARGS} ${RM} -r ;
post-patch:
@${REINPLACE_CMD} -e 's|share/games/${PACKAGE}|share/${PACKAGE}|' \
${WRKSRC}/configure
@${REINPLACE_CMD} \
-e 's|install-data-am: install-bomberclonedocDATA|install-data-am: |' \
${WRKSRC}/Makefile.in
post-install:
${LN} -sf ${DATADIR}/pixmaps/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>