mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
1491f74a60
The C++ compiler was harcoded to clang++ and the plist wasn't complete.
40 lines
998 B
Makefile
40 lines
998 B
Makefile
# Created by: Jesse Smith <jessefrgsmith@yahoo.ca>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= atanks
|
|
PORTVERSION= 5.9
|
|
CATEGORIES= games
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTNAME}/
|
|
|
|
MAINTAINER= jessefrgsmith@yahoo.ca
|
|
COMMENT= 2D tank game with large, cartoonish weapons
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= liballeg.so:${PORTSDIR}/devel/allegro
|
|
|
|
USES= gmake
|
|
MAKE_ARGS+= PREFIX=${PREFIX}/
|
|
MAKE_ARGS+= CC=${CC} CPP=${CXX} LD=${LD}
|
|
PATCH_DEBUG= 1
|
|
|
|
PORTDOCS= Changelog README README_ru.txt credits.txt
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's/int Filter_File( struct dirent/int Filter_File( const struct dirent/' \
|
|
${WRKSRC}/src/files.cpp
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
|
|
${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
|
|
${STAGEDIR}${PREFIX}/share/pixmaps/
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
${LN} -sf ${DOCSDIR}/credits.txt ${STAGEDIR}${DATADIR}
|
|
|
|
.include <bsd.port.mk>
|