2008-02-13 19:10:23 +01:00
|
|
|
PORTNAME= blackshadeselite
|
|
|
|
PORTVERSION= 0.0.1
|
2021-06-19 22:16:08 +02:00
|
|
|
PORTREVISION= 11
|
2008-02-13 19:10:23 +01:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= http://download.gna.org/blackshadeselite/ \
|
2009-07-28 18:34:36 +02:00
|
|
|
http://mirror.amdmi3.ru/distfiles/
|
2008-02-13 19:10:23 +01:00
|
|
|
|
2008-06-19 19:28:24 +02:00
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
2008-02-13 19:10:23 +01:00
|
|
|
COMMENT= Psychic Bodyguard FPS - protect the VIP
|
|
|
|
|
2016-01-12 17:20:31 +01:00
|
|
|
LICENSE= GPLv2+
|
2015-07-17 22:03:27 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
LIB_DEPENDS= libvorbis.so:audio/libvorbis
|
2008-02-13 19:10:23 +01:00
|
|
|
|
2019-12-07 11:13:27 +01:00
|
|
|
USES= compiler:c++11-lang gl gmake openal:al,alut sdl tar:bzip2
|
2018-12-22 03:16:08 +01:00
|
|
|
USE_CXXSTD= c++98
|
2008-02-13 19:10:23 +01:00
|
|
|
USE_SDL= sdl
|
2018-06-22 15:00:04 +02:00
|
|
|
USE_GL= gl glu
|
2008-02-13 19:10:23 +01:00
|
|
|
|
2014-05-20 21:32:39 +02:00
|
|
|
MAKE_ARGS= CC="${CC}" CXX="${CXX}"
|
2020-03-20 00:02:30 +01:00
|
|
|
LDFLAGS_i386= -Wl,-znotext
|
2008-02-13 19:10:23 +01:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
|
2013-10-19 03:52:16 +02:00
|
|
|
PLIST_FILES= bin/blackshades
|
2008-02-13 19:10:23 +01:00
|
|
|
PORTDOCS= Readme Readme.elite
|
2013-10-19 03:52:16 +02:00
|
|
|
PORTDATA= *
|
2008-02-13 19:10:23 +01:00
|
|
|
|
2013-10-19 03:52:16 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2013-02-04 00:39:29 +01:00
|
|
|
|
2015-10-01 16:24:43 +02:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
|
2012-06-07 03:51:54 +02:00
|
|
|
post-extract:
|
|
|
|
@${FIND} ${WRKSRC}/Data -name '._*' -delete
|
|
|
|
|
2008-02-13 19:10:23 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e '/InitGL/ s|.*|chdir("${DATADIR}"); &|' ${WRKSRC}/Source/Main.cpp
|
|
|
|
|
|
|
|
do-install:
|
2013-10-19 03:52:16 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/objs/blackshades ${STAGEDIR}${PREFIX}/bin/
|
2018-06-22 15:00:04 +02:00
|
|
|
@cd ${WRKSRC} && ${COPYTREE_SHARE} Data ${STAGEDIR}${DATADIR}/
|
|
|
|
|
|
|
|
do-install-DOCS-on:
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2008-02-13 19:10:23 +01:00
|
|
|
.for f in ${PORTDOCS}
|
2013-10-19 03:52:16 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
2008-02-13 19:10:23 +01:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|