mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
60945f0277
the 32 ports that still use it. Bump PORTREVISION on their dependent ports except the ones that depend on these: audio/libogg audio/libvorbis devel/pcre ftp/curl graphics/jpeg graphics/libart_lgpl graphics/tiff textproc/expat2 textproc/libxslt In these cases the same trick as in the recent gettext update is used. The ports install a symlink with the old library version. When enough of their dependent ports have had regular updates the remaining ones can get a PORTREVISION bump and the links can be removed. Also remove the devel/pcre dependency from USE_GNOME=glib20. It causes over 2200 packages to depend on devel/pcre while less than 200 actually link with it. The glib20 package still depends on devel/pcre so this should not make a difference for ports with USE_GNOME=glib20. Also, libdata/pkgconfig/glib-2.0.pc lists pcre as a private library so USE_GNOME=glib20 should not propagate it. PR: 195724 Exp-run by: antoine Approved by: portmgr (antoine)
51 lines
1.6 KiB
Makefile
51 lines
1.6 KiB
Makefile
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= btanks
|
|
PORTVERSION= 0.9.8083
|
|
PORTREVISION= 9
|
|
CATEGORIES= games
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-source/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Fast 2D tank arcade game with multiplayer and split-screen modes
|
|
|
|
LICENSE= GPLv2 # or later
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip
|
|
LIB_DEPENDS= libsigc-2.0.so:${PORTSDIR}/devel/libsigc++20 \
|
|
libexpat.so:${PORTSDIR}/textproc/expat2 \
|
|
libvorbisfile.so:${PORTSDIR}/audio/libvorbis \
|
|
libsmpeg.so:${PORTSDIR}/multimedia/smpeg
|
|
|
|
USES= openal:al pkgconfig lua:51 python:build scons tar:bzip2
|
|
USE_LDCONFIG= yes
|
|
USE_SDL= image sdl
|
|
MAKE_ARGS= prefix=${PREFIX} resources_dir=${DATADIR} \
|
|
--install-sandbox=${STAGEDIR}
|
|
CXXFLAGS+= -fpermissive
|
|
|
|
PORTDOCS= LICENSE LICENSE.EXCEPTION README-en.txt README-linux.txt \
|
|
donate.url homepage.url project_page.url video.txt
|
|
|
|
DESKTOP_ENTRIES="Battle Tanks" "" "" "${PORTNAME}" "Game;ArcadeGame;" ""
|
|
|
|
pre-build:
|
|
# Regenerate `sl08.h' after we patch `sl08.py' (as patching the header itself
|
|
# would have resulted in a larger diff and gratuitous difference with Debian)
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} engine/sl08/sl08.py > engine/sl08/sl08.h
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s/lua5.1/lua-${LUA_VER}/g" ${WRKSRC}/engine/SConscript
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${FILESDIR}/${PORTNAME}.6 \
|
|
${STAGEDIR}${MANPREFIX}/man/man6
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* ${STAGEDIR}${PREFIX}/lib/*.so \
|
|
${STAGEDIR}${PREFIX}/lib/btanks/*.so
|
|
|
|
.include <bsd.port.mk>
|