From 70f7b09d39ce4c4190dc0e8baa23c5b6fc526639 Mon Sep 17 00:00:00 2001 From: Vasily Postnicov Date: Thu, 31 Mar 2022 19:28:56 +0200 Subject: games/amnesia-tdd: New port: Amnesia: The Dark Descent Amnesia: The Dark Descent is a survival horror adventure video game featuring a protagonist named Daniel exploring a dark and foreboding castle called Brennenburg, while trying to maintain his sanity by avoiding monsters and unsettling events. PR: 258509 --- games/amnesia-tdd/Makefile | 38 ++++++++++++++++++++++++++++++++++ games/amnesia-tdd/distinfo | 3 +++ games/amnesia-tdd/files/pkg-message.in | 9 ++++++++ games/amnesia-tdd/pkg-descr | 8 +++++++ games/amnesia-tdd/pkg-plist | 2 ++ 5 files changed, 60 insertions(+) create mode 100644 games/amnesia-tdd/Makefile create mode 100644 games/amnesia-tdd/distinfo create mode 100644 games/amnesia-tdd/files/pkg-message.in create mode 100644 games/amnesia-tdd/pkg-descr create mode 100644 games/amnesia-tdd/pkg-plist (limited to 'games/amnesia-tdd') diff --git a/games/amnesia-tdd/Makefile b/games/amnesia-tdd/Makefile new file mode 100644 index 000000000000..2840aa58ebf5 --- /dev/null +++ b/games/amnesia-tdd/Makefile @@ -0,0 +1,38 @@ +PORTNAME= amnesia-tdd +DISTVERSIONPREFIX= v +DISTVERSION= 0.3.2 +CATEGORIES= games + +MAINTAINER= shamaz.mazum@gmail.com +COMMENT= Amnesia: The Dark Descent + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +ONLY_FOR_ARCHS= amd64 +ONLY_FOR_ARCHS_REASON= Bundled AngelScript does not work on this architecture. + +LIB_DEPENDS= libIL.so:graphics/devil \ + libvorbis.so:audio/libvorbis \ + libtheora.so:multimedia/libtheora \ + libogg.so:audio/libogg + +USES= cmake gl sdl openal perl5 +USE_GL= gl glew glu +USE_SDL= sdl2 +USE_PERL5= build + +USE_GITHUB= yes +GH_ACCOUNT= shamazmazum +GH_PROJECT= AmnesiaTheDarkDescent + +SUB_FILES= pkg-message + +CMAKE_ON= SYSTEMWIDE_RESOURCES +CMAKE_ARGS= -DSYSTEMWIDE_RESOURCES_LOCATION=${PREFIX}/share/${PORTNAME} +CMAKE_SOURCE_PATH= ${WRKSRC}/amnesia/src + +post-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/share/${PORTNAME} + +.include diff --git a/games/amnesia-tdd/distinfo b/games/amnesia-tdd/distinfo new file mode 100644 index 000000000000..17f88c8afedf --- /dev/null +++ b/games/amnesia-tdd/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1648180510 +SHA256 (shamazmazum-AmnesiaTheDarkDescent-v0.3.2_GH0.tar.gz) = c4fd81044b8263ec00d6d46692b20f0397189b30044d1f1306989f5257ef65cb +SIZE (shamazmazum-AmnesiaTheDarkDescent-v0.3.2_GH0.tar.gz) = 6709761 diff --git a/games/amnesia-tdd/files/pkg-message.in b/games/amnesia-tdd/files/pkg-message.in new file mode 100644 index 000000000000..57a41047736f --- /dev/null +++ b/games/amnesia-tdd/files/pkg-message.in @@ -0,0 +1,9 @@ +[ +{ type: install + message: <