freebsd-ports/games/blackshadeselite/Makefile
Kevin Bowling da3162c7c9 graphics/mesa-libs: Bump reverse deps for libglvnd
Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.

PR:		246767
Reviewed by:	manu, bapt
Approved by:	x11
Differential Revision:	https://reviews.freebsd.org/D30824
2021-06-22 11:53:08 -07:00

50 lines
1.1 KiB
Makefile

PORTNAME= blackshadeselite
PORTVERSION= 0.0.1
PORTREVISION= 11
CATEGORIES= games
MASTER_SITES= http://download.gna.org/blackshadeselite/ \
http://mirror.amdmi3.ru/distfiles/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Psychic Bodyguard FPS - protect the VIP
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libvorbis.so:audio/libvorbis
USES= compiler:c++11-lang gl gmake openal:al,alut sdl tar:bzip2
USE_CXXSTD= c++98
USE_SDL= sdl
USE_GL= gl glu
MAKE_ARGS= CC="${CC}" CXX="${CXX}"
LDFLAGS_i386= -Wl,-znotext
WRKSRC= ${WRKDIR}/${PORTNAME}
PLIST_FILES= bin/blackshades
PORTDOCS= Readme Readme.elite
PORTDATA= *
OPTIONS_DEFINE= DOCS
MAKE_JOBS_UNSAFE= yes
post-extract:
@${FIND} ${WRKSRC}/Data -name '._*' -delete
post-patch:
@${REINPLACE_CMD} -e '/InitGL/ s|.*|chdir("${DATADIR}"); &|' ${WRKSRC}/Source/Main.cpp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/objs/blackshades ${STAGEDIR}${PREFIX}/bin/
@cd ${WRKSRC} && ${COPYTREE_SHARE} Data ${STAGEDIR}${DATADIR}/
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>