Lines 1-18
Link Here
|
|
|
1 |
|
1 |
PORTNAME= chocolate-doom |
2 |
PORTNAME= chocolate-doom |
2 |
PORTVERSION= 3.0.1 |
3 |
PORTVERSION= 3.1.0 |
3 |
PORTREVISION= 2 |
|
|
4 |
CATEGORIES= games |
4 |
CATEGORIES= games |
5 |
MASTER_SITES= http://www.chocolate-doom.org/downloads/${PORTVERSION}/ |
5 |
MASTER_SITES= https://github.com/chocolate-doom/chocolate-doom/archive/refs/tags/ |
6 |
|
6 |
|
7 |
MAINTAINER= jakub_lach@mailplus.pl |
7 |
MAINTAINER= jakub_lach@mailplus.pl |
8 |
COMMENT= Doom/Heretic/Hexen/Strife engine port compatible with the originals |
8 |
COMMENT= Doom/Heretic/Hexen/Strife engine port compatible with the originals |
9 |
WWW= https://chocolate-doom.org |
9 |
WWW= https://www.chocolate-doom.org |
10 |
|
10 |
|
11 |
LICENSE= GPLv2 |
11 |
LICENSE= GPLv2 |
12 |
|
12 |
|
13 |
LIB_DEPENDS= libpng.so:graphics/png |
13 |
LIB_DEPENDS= libpng.so:graphics/png |
14 |
|
14 |
|
15 |
USES= gmake pkgconfig python:build sdl |
15 |
USES= cmake pkgconfig python:build sdl |
16 |
USE_SDL= mixer2 net2 sdl2 |
16 |
USE_SDL= mixer2 net2 sdl2 |
17 |
GNU_CONFIGURE= yes |
17 |
GNU_CONFIGURE= yes |
18 |
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share |
18 |
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share |
Lines 26-37
USE_RC_SUBR= chocolate-server
Link Here
|
26 |
|
26 |
|
27 |
.include "${.CURDIR}/../doom-data/Makefile.include" |
27 |
.include "${.CURDIR}/../doom-data/Makefile.include" |
28 |
|
28 |
|
29 |
post-patch: |
29 |
post-extract: |
30 |
${REINPLACE_CMD} -e 's|gamesdir = $${exec_prefix}/games|gamesdir = $${exec_prefix}/bin|' \ |
30 |
${MV} ${WRKDIR}/chocolate-doom-chocolate-doom-3.1.0/ \ |
31 |
${WRKSRC}/src/Makefile.in |
31 |
${WRKDIR}/chocolate-doom-3.1.0/ |
32 |
${REINPLACE_CMD} -e 's|gamesdir = $$(prefix)/games|gamesdir = $$(prefix)/bin|' \ |
32 |
|
33 |
${WRKSRC}/src/setup/Makefile.in |
33 |
#post-patch: |
34 |
post-install: |
34 |
# ${REINPLACE_CMD} -e 's|gamesdir = $${exec_prefix}/games|gamesdir = $${exec_prefix}/bin|' \ |
35 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/chocolate-* |
35 |
# ${WRKSRC}/src/Makefile.in |
|
|
36 |
# ${REINPLACE_CMD} -e 's|gamesdir = $$(prefix)/games|gamesdir = $$(prefix)/bin|' \ |
37 |
# ${WRKSRC}/src/setup/Makefile.in |
38 |
|
39 |
#post-install: |
40 |
# ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/chocolate-* |
36 |
|
41 |
|
37 |
.include <bsd.port.mk> |
42 |
.include <bsd.port.mk> |