pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Changes to be committed: new file: Makefile



Module Name:	pkgsrc-wip
Committed By:	Lubomir G. Diakov <zr90004%gmail.com@localhost>
Pushed By:	lubod
Date:		Wed May 20 19:02:05 2026 -0700
Changeset:	6aacc2c531052437f67f7a2b66aaec73b8728c30

Added Files:
	glsmac/Makefile

Log Message:
Changes to be committed:
	new file:   Makefile

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6aacc2c531052437f67f7a2b66aaec73b8728c30

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 glsmac/Makefile | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diffs:
diff --git a/glsmac/Makefile b/glsmac/Makefile
new file mode 100644
index 0000000000..9a43755e48
--- /dev/null
+++ b/glsmac/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.240 2022/11/23 16:19:06 lubo Exp $
+#
+# Some environment variables that can help debugging this:
+# https://trac.webkit.org/wiki/EnvironmentVariables
+
+DISTNAME=	glsmac-git
+PKGNAME=	${DISTNAME:S/development/development/}
+CATEGORIES=	games
+MASTER_SITES=	https://github.com/afwbkbc/glsmac/releases
+EXTRACT_SUFX=	.tar.gz
+
+MAINTAINER=	zr90004%gmail.com@localhost
+HOMEPAGE=	https://github.com/afwbkbc/glsmac
+COMMENT=	NetBSD port of glsmac game from github
+LICENSE=	gnu-agpl-v3
+
+USE_CXX_FEATURES=	c++17
+USE_LANGUAGES=		c c++
+USE_TOOLS+=		cmake SDL2 SDL2_image glew ossp-uuid yaml-cpp
+
+# Avoid million warnings
+CFLAGS+=		-Wno-unused-parameter -Wno-undef
+CXXFLAGS+=		-Wno-unused-parameter -Wno-undef
+
+# Enabling -gdwarf-2 hits GNU ar limits on file size.
+#CTF_SUPPORTED=	no
+
+GCC_REQD+=		17
+
+.include "../../mk/bsd.prefs.mk"
+
+#CMAKE_CONFIGURE_ARGS+=		-DENABLE_X11_TARGET=ON
+
+.if ${OPSYS} == "Darwin"
+CMAKE_CONFIGURE_ARGS+=		-DUSE_LIBDRM=OFF
+.endif
+
+CXXFLAGS.SunOS+=	-fpermissive
+
+.include "options.mk"


Home | Main Index | Thread Index | Old Index