Skip to content

Commit d5ce42d

Browse files
Alexey DokuchaevAlexey Dokuchaev
authored andcommitted
games/oblige: random map generator for classic FPS games (new port)
Random level generator for classic FPS games, especially the DOOM games, but aiming to support Heretic, Hexen, and Quake eventually. WWW: https://oblige.sourceforge.net/
1 parent 225f6ac commit d5ce42d

File tree

5 files changed

+571
-0
lines changed

5 files changed

+571
-0
lines changed

‎games/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -681,6 +681,7 @@
681681
SUBDIR += numptyphysics-npcomplete
682682
SUBDIR += nwndata
683683
SUBDIR += nxengine
684+
SUBDIR += oblige
684685
SUBDIR += odamex
685686
SUBDIR += oldrunner
686687
SUBDIR += omega

‎games/oblige/Makefile‎

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
PORTNAME= oblige
2+
PORTVERSION= 7.70
3+
CATEGORIES= games
4+
MASTER_SITES= SF/${PORTNAME}/Oblige/${PORTVERSION}
5+
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}-source
6+
7+
MAINTAINER= danfe@FreeBSD.org
8+
COMMENT= Random map generator for classic FPS games
9+
WWW= https://oblige.sourceforge.net/
10+
11+
LICENSE= GPLv2+
12+
13+
LIB_DEPENDS= libfltk.so:x11-toolkits/fltk \
14+
libfontconfig.so:x11-fonts/fontconfig \
15+
libpng.so:graphics/png
16+
17+
USES= gmake jpeg xorg zip
18+
USE_XORG= x11 xcursor xext xfixes xft xinerama xrender
19+
MAKE_ARGS= CXX="${CXX}"
20+
WRKSRC= ${WRKDIR}/Oblige-${PORTVERSION}-source
21+
22+
OPTIONS_DEFINE= DOCS
23+
24+
PORTDOCS= AUTHORS.txt CHANGES.txt README.txt TODO.txt
25+
26+
do-install:
27+
${INSTALL_PROGRAM} ${WRKSRC}/Oblige ${STAGEDIR}${PREFIX}/bin/oblige
28+
cd ${WRKSRC} && ${COPYTREE_SHARE} "addons data engines games \
29+
language modules scripts" ${STAGEDIR}${DATADIR}
30+
${INSTALL_DATA} ${WRKSRC}/misc/oblige.desktop \
31+
${STAGEDIR}${PREFIX}/share/applications
32+
${INSTALL_DATA} ${WRKSRC}/misc/oblige.xpm \
33+
${STAGEDIR}${PREFIX}/share/pixmaps
34+
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/128x128/apps
35+
${INSTALL_DATA} ${WRKSRC}/misc/icon_128x128.png \
36+
${STAGEDIR}${PREFIX}/share/icons/hicolor/128x128/apps/oblige.png
37+
38+
post-install-DOCS-on:
39+
@${MKDIR} ${STAGEDIR}${DOCSDIR}
40+
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
41+
cd ${WRKSRC} && ${COPYTREE_SHARE} changelogs ${STAGEDIR}${DOCSDIR}
42+
43+
.include <bsd.port.mk>

‎games/oblige/distinfo‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
TIMESTAMP = 1515474678
2+
SHA256 (oblige-770-source.zip) = 0d35050a5a3d10c932b44cfcb9d02777012d7ab0b3e2e2ed56bc5b388c068271
3+
SIZE (oblige-770-source.zip) = 5781635

‎games/oblige/pkg-descr‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Oblige is a random level generator for classic FPS games, especially the
2+
DOOM games, but aiming to support Heretic, Hexen, and Quake eventually.
3+
The goal is to produce high quality levels which are easy to create and
4+
fun to play. Scripting in Lua is supported for easy customisation.

0 commit comments

Comments
 (0)