blob: 24d95336d4e9a49e43964985bd6cb521d3c3d811 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
PORTNAME= dxx-rebirth
PORTVERSION= 20220823
DISTVERSIONSUFFIX= -src
CATEGORIES= games
MASTER_SITES= https://www.dxx-rebirth.com/download/dxx/rebirth/
DISTNAME= ${PORTNAME}_${PORTVERSION}${DISTVERSIONSUFFIX}
MAINTAINER= pkubaj@FreeBSD.org
COMMENT= Open source port of Descent and Descent 2
LICENSE= GPLv3 PARALLAX
LICENSE_COMB= multi
LICENSE_NAME_PARALLAX= original Parallax license
LICENSE_FILE_GPLv3= ${WRKSRC}/GPL-3.txt
LICENSE_FILE_PARALLAX= ${WRKSRC}/COPYING.txt
LICENSE_PERMS_PARALLAX= dist-mirror pkg-mirror auto-accept
BUILD_DEPENDS= as:devel/binutils
LIB_DEPENDS= libphysfs.so:devel/physfs \
libpng.so:graphics/png
USES= compiler:c++17-lang gl localbase:ldflags pkgconfig scons sdl \
tar:xz
USE_GL= gl glu
USE_SDL= image2 mixer2 sdl2
MAKE_ARGS= ignore_unknown_variables=1 sdl2=1
PLIST_FILES= bin/d1x-rebirth \
bin/d2x-rebirth
.include <bsd.port.options.mk>
.if ${ARCH} != powerpc64 && ${ARCH} != riscv64
MAKE_ARGS+= lto=1
.endif
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/d1x-rebirth \
${STAGEDIR}${PREFIX}/bin/d2x-rebirth
.include <bsd.port.mk>
|