From nobody Thu Jan 13 19:45:48 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E6E8C195D541; Thu, 13 Jan 2022 19:45:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JZZfh6CMfz4cZ9; Thu, 13 Jan 2022 19:45:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642103148; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dS3ZCptEhktOyEi4i7cgK4reZczGp3P8vudKgRWsCh8=; b=qN3iHW38CjstZhKA8FLUYauNh+1M7YR+H3GBWdveJEfNpL/7CMIiBU7dACRd0BQf+JA4Go KPbGKJVRXpr+hEQTC3o56MUNqlBpMoaNELJKLGnrvuk1Qz6ktt1n0ZMrHzGkklscU4764S v52URvVMBODFTtaTK360r0IamDjVztl/uLglJ5CQgeYzOmi2CVHNZjUMfumUwx3yTCs4Ir 7uzZITt1lFu1vv7mKyFlQ+uBl1UwyEsm3B7jtlGv6vvp1Y/8lmy/gMZMQmiLHY3cVR/kHo 9JLpekIguM2qcKv1INuFDu89NK+MzqbUXg3lQvdYkByBd7f8VBrcFP61/qSOcA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B4AA92668C; Thu, 13 Jan 2022 19:45:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 20DJjm35096616; Thu, 13 Jan 2022 19:45:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20DJjmMx096615; Thu, 13 Jan 2022 19:45:48 GMT (envelope-from git) Date: Thu, 13 Jan 2022 19:45:48 GMT Message-Id: <202201131945.20DJjmMx096615@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Neel Chauhan Subject: git: fa55c4392ac2 - main - games/SpaceCadetPinball-devel: Add port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: nc X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fa55c4392ac2a22e34ee55fb8646f3fe58820bfb Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642103148; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dS3ZCptEhktOyEi4i7cgK4reZczGp3P8vudKgRWsCh8=; b=mDXJAF4G6yZmIzNA+WJVfEmbSYDsmp62NP6CG3hYlpCQ8AxDf45PDFbrb4KQxOYoFNPFT3 gSwMXvM8f5C35i8SDV6e4QREWEcJcqF/mEIu0S1fZxIGzr+1NqbdaV9+W6MJ/ZRl3K+N8F AWxe1STyr3nG0HsYxuenCifndmuxbFLf3e5q3xR+fO3NZcSrc4/p21lHZrL7/7DBdR0Oog N4g0xkae/srQtE/jMgBN1fDhefJklZYWEAyXYdnCZrA5x8dR0CEhN26IMf/8d0yIKODWfy tIiAgscnWL1UltGcOEZJ+JL/48B66knk7MHqCwGHPW+k+NkA2VW63lIft/YEfQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642103148; a=rsa-sha256; cv=none; b=UKVdnMaEkDnnGYUTNcVHtyI4vSBNLusuflNPEvHzTmdcrfCb1/FOttMC83pKh6J7A1hvyo M6WPxF/GAz0p8nVPwQ0b4CcZe3sYHZuq1L2NEdiZM7z37mczdzd1dMPllxUlzT2pHaUtnG xd8eWwkas7dSQia5Ah1XVW82UkaueieNQbwLqw454HrHFh74l2BromObfgZwcEM7Zddh59 fZ7i/Fi//O8jblUKeWvvd/aliwM1mom1Q9dEnvGBVi8EWzMZt2a6ryrJW+XeyMaNg9Ni6t 5TDpsh1z2g5kUKrGu+sPSjst1HifyiL8EmAsJI9h208J69lOwHMFLVYO7B+PqQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by nc: URL: https://cgit.FreeBSD.org/ports/commit/?id=fa55c4392ac2a22e34ee55fb8646f3fe58820bfb commit fa55c4392ac2a22e34ee55fb8646f3fe58820bfb Author: Neel Chauhan AuthorDate: 2022-01-13 19:46:01 +0000 Commit: Neel Chauhan CommitDate: 2022-01-13 19:46:01 +0000 games/SpaceCadetPinball-devel: Add port --- games/Makefile | 1 + games/SpaceCadetPinball-devel/Makefile | 22 +++++++++++++++++++++ games/SpaceCadetPinball-devel/distinfo | 3 +++ .../files/patch-CMakeLists.txt | 23 ++++++++++++++++++++++ games/SpaceCadetPinball-devel/pkg-descr | 3 +++ games/SpaceCadetPinball-devel/pkg-message | 13 ++++++++++++ games/SpaceCadetPinball-devel/pkg-plist | 8 ++++++++ 7 files changed, 73 insertions(+) diff --git a/games/Makefile b/games/Makefile index 19b2dd19e22c..ef175a2876b0 100644 --- a/games/Makefile +++ b/games/Makefile @@ -21,6 +21,7 @@ SUBDIR += OpenTomb SUBDIR += SRB2 SUBDIR += SpaceCadetPinball + SUBDIR += SpaceCadetPinball-devel SUBDIR += abbayedesmorts SUBDIR += abe SUBDIR += abstreet diff --git a/games/SpaceCadetPinball-devel/Makefile b/games/SpaceCadetPinball-devel/Makefile new file mode 100644 index 000000000000..80f1dd129939 --- /dev/null +++ b/games/SpaceCadetPinball-devel/Makefile @@ -0,0 +1,22 @@ +PORTNAME= SpaceCadetPinball +PORTVERSION= 2.0.1.20220113 +DISTVERSIONPREFIX= Release_ +CATEGORIES= games +PKGNAMESUFFIX= -devel + +MAINTAINER= nc@FreeBSD.org +COMMENT= Decompilation of 3D Pinball for Windows (development version) + +LICENSE= MIT + +USES= cmake sdl xorg + +USE_GITHUB= yes +GH_ACCOUNT= k4zmu2a +GH_PROJECT= SpaceCadetPinball +GH_TAGNAME= 8f34829b1e4756472ce6889f31eb875ce343fb05 + +USE_SDL= mixer2 sdl2 +USE_XORG= ice sm x11 xext + +.include diff --git a/games/SpaceCadetPinball-devel/distinfo b/games/SpaceCadetPinball-devel/distinfo new file mode 100644 index 000000000000..a8ef7f0fa7cf --- /dev/null +++ b/games/SpaceCadetPinball-devel/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1642102782 +SHA256 (k4zmu2a-SpaceCadetPinball-Release_2.0.1.20220113-8f34829b1e4756472ce6889f31eb875ce343fb05_GH0.tar.gz) = 0d99329179bd952e91fa08e2b39a5a3561ae9e29990c6501c6a5e69ebb23235f +SIZE (k4zmu2a-SpaceCadetPinball-Release_2.0.1.20220113-8f34829b1e4756472ce6889f31eb875ce343fb05_GH0.tar.gz) = 1883796 diff --git a/games/SpaceCadetPinball-devel/files/patch-CMakeLists.txt b/games/SpaceCadetPinball-devel/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..fec30ec3f594 --- /dev/null +++ b/games/SpaceCadetPinball-devel/files/patch-CMakeLists.txt @@ -0,0 +1,23 @@ +--- CMakeLists.txt.orig 2022-01-12 14:26:31 UTC ++++ CMakeLists.txt +@@ -24,8 +24,10 @@ set(SDL2_BUILDING_LIBRARY ON) + + find_package(SDL2 REQUIRED) + FIND_PACKAGE(SDL2_mixer REQUIRED) ++find_package(X11 REQUIRED) ++link_libraries(${X11_LIBRARIES}) + +-include_directories(${SDL2_INCLUDE_DIR} ${SDL2_MIXER_INCLUDE_DIR}) ++include_directories(${SDL2_INCLUDE_DIR} ${SDL2_MIXER_INCLUDE_DIR} ${X11_INCLUDE_DIR}) + get_property(dirs DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY INCLUDE_DIRECTORIES) + foreach(dir ${dirs}) + message(STATUS "Include dir='${dir}'") +@@ -200,6 +202,8 @@ if(${CMAKE_VERSION} VERSION_GREATER "3.16.0" OR ${CMAK + endif() + + target_link_libraries(SpaceCadetPinball ${SDL2_LIBRARY} ${SDL2_MIXER_LIBRARY}) ++ ++install(TARGETS SpaceCadetPinball DESTINATION bin) + + # On Windows, copy DLL to output + if(WIN32) diff --git a/games/SpaceCadetPinball-devel/pkg-descr b/games/SpaceCadetPinball-devel/pkg-descr new file mode 100644 index 000000000000..7631a457c5f7 --- /dev/null +++ b/games/SpaceCadetPinball-devel/pkg-descr @@ -0,0 +1,3 @@ +Decompilation of Space Cadet - 3D Pinball for Windows. + +WWW: https://github.com/k4zmu2a/SpaceCadetPinball diff --git a/games/SpaceCadetPinball-devel/pkg-message b/games/SpaceCadetPinball-devel/pkg-message new file mode 100644 index 000000000000..d8bf387cdc10 --- /dev/null +++ b/games/SpaceCadetPinball-devel/pkg-message @@ -0,0 +1,13 @@ +[ +{ type: install + message: <