blob: dc1287243225adeb42f3a90dfeb96597d22fd60a (
plain)
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
43
44
45
46
47
48
49
|
# $NetBSD: Makefile,v 1.7 2021/12/08 16:04:25 adam Exp $
DISTNAME= chocolate-doom-3.0.1
PKGREVISION= 3
CATEGORIES= games
MASTER_SITES= http://www.chocolate-doom.org/downloads/${PKGVERSION_NOREV}/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.chocolate-doom.org/
COMMENT= Doom/Heretic/Hexen/Strife source port
LICENSE= gnu-gpl-v2
GNU_CONFIGURE= yes
USE_TOOLS+= gmake pkg-config
.include "../../mk/bsd.prefs.mk"
# no inb/outb
.if ${OPSYS} == NetBSD
CONFIGURE_ENV+= ac_cv_lib_i386_i386_iopl=no
CONFIGURE_ENV+= ac_cv_lib_amd64_amd64_iopl=no
.endif
PYTHON_FOR_BUILD_ONLY= yes
CONFIGURE_ENV+= ac_cv_prog_HAVE_PYTHON=python${PYVERSSUFFIX}
REPLACE_PYTHON+= data/convert-icon
REPLACE_PYTHON+= man/docgen
REPLACE_PYTHON+= man/simplecpp
INSTALLATION_DIRS+= share/icons/hicolor/48x48/apps
INSTALLATION_DIRS+= share/icons/hicolor/128x128/apps
post-install:
${INSTALL_DATA} ${WRKSRC}/pkg/osx/Resources/app.png \
${DESTDIR}${PREFIX}/share/icons/hicolor/48x48/apps/chocolate-doom.png
${MV} ${DESTDIR}${PREFIX}/share/icons/chocolate-doom.png \
${DESTDIR}${PREFIX}/share/icons/hicolor/128x128/apps
${MV} ${DESTDIR}${PREFIX}/share/icons/chocolate-setup.png \
${DESTDIR}${PREFIX}/share/icons/hicolor/128x128/apps
.include "../../lang/python/application.mk"
.include "../../audio/SDL2_mixer/buildlink3.mk"
.include "../../audio/libsamplerate/buildlink3.mk"
.include "../../devel/SDL2/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../net/SDL2_net/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"
|