pkgsrc-WIP-changes archive

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

ajbsp: Import version 1.01



Module Name:	pkgsrc-wip
Committed By:	Michael Baeuerle <micha%NetBSD.org@localhost>
Pushed By:	micha
Date:		Thu Apr 30 16:30:10 2020 +0200
Changeset:	60d1778f130202cce978ad7ffe5fd9bd940093b8

Modified Files:
	Makefile
Added Files:
	ajbsp/DESCR
	ajbsp/Makefile
	ajbsp/PLIST
	ajbsp/distinfo
	ajbsp/patches/patch-Makefile

Log Message:
ajbsp: Import version 1.01

AJBSP is a simple nodes builder for modern DOOM source ports.
It can build standard DOOM nodes, GL-Nodes, and XNOD format nodes.
The code is based on the BSP code in Eureka DOOM Editor, which was
based on the code from glBSP but with significant changes.

AJBSP is a command-line tool. It can handle multiple wad files,
and modifies each file in-place. There is an option to backup each
file first. The output to the terminal is fairly terse, but greater
verbosity can be enabled. Generally all the maps in a wad will
processed, but this can be limited to a specific set.

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

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

diffstat:
 Makefile                     |  1 +
 ajbsp/DESCR                  |  1 +
 ajbsp/Makefile               | 16 ++++++++++++++++
 ajbsp/PLIST                  |  3 +++
 ajbsp/distinfo               |  7 +++++++
 ajbsp/patches/patch-Makefile | 43 +++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 71 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 4fec686d3f..7e852c27ce 100644
--- a/Makefile
+++ b/Makefile
@@ -105,6 +105,7 @@ SUBDIR+=	ags
 SUBDIR+=	aida
 SUBDIR+=	aircrack-ng
 SUBDIR+=	airsnort
+SUBDIR+=	ajbsp
 SUBDIR+=	akonadi
 SUBDIR+=	akonadi-calendar
 SUBDIR+=	akonadi-contacts
diff --git a/ajbsp/DESCR b/ajbsp/DESCR
new file mode 100644
index 0000000000..7072c8d927
--- /dev/null
+++ b/ajbsp/DESCR
@@ -0,0 +1 @@
+AJBSP is a node builder for modern DOOM source ports.
diff --git a/ajbsp/Makefile b/ajbsp/Makefile
new file mode 100644
index 0000000000..736bcc5237
--- /dev/null
+++ b/ajbsp/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD$
+
+DISTNAME=	ajbsp-v1.01
+PKGNAME=	${DISTNAME:S/v//}
+CATEGORIES=	games
+MASTER_SITES=	https://gitlab.com/andwj/ajbsp/-/archive/v${PKGVERSION_NOREV}/
+
+MAINTAINER=	micha%NetBSD.org@localhost
+HOMEPAGE=	https://gitlab.com/andwj/ajbsp
+COMMENT=	Node builder for modern DOOM source ports
+LICENSE=	gnu-gpl-v2
+
+USE_LANGUAGES=	c++
+USE_TOOLS+=	gmake
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/ajbsp/PLIST b/ajbsp/PLIST
new file mode 100644
index 0000000000..d2573d102d
--- /dev/null
+++ b/ajbsp/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/ajbsp
+man/man6/ajbsp.6
diff --git a/ajbsp/distinfo b/ajbsp/distinfo
new file mode 100644
index 0000000000..47d37f2818
--- /dev/null
+++ b/ajbsp/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (ajbsp-v1.01.tar.gz) = 69a9ebe35c840a69c5c14b2368a5e3f1d75a7b0a
+RMD160 (ajbsp-v1.01.tar.gz) = 6943aed9fb3bf047ceafc0bf35cbf610b51fa612
+SHA512 (ajbsp-v1.01.tar.gz) = a554cd11f95afe351769a78878b8717354750dc2165b8b4f2ab37cf92125aa058c4b08d0e4df5e7c82a9b0c0be578f12bbdf03df8c620295449982271544cba9
+Size (ajbsp-v1.01.tar.gz) = 77251 bytes
+SHA1 (patch-Makefile) = de90c080bb28493420b6f269b333acac3e94426f
diff --git a/ajbsp/patches/patch-Makefile b/ajbsp/patches/patch-Makefile
new file mode 100644
index 0000000000..b35e8c8977
--- /dev/null
+++ b/ajbsp/patches/patch-Makefile
@@ -0,0 +1,43 @@
+$NetBSD$
+
+Use PREFIX and PKGMANDIR from pkgsrc.
+Honor CXXFLAGS and LDFLAGS from pkgsrc.
+Don't set root owner on install.
+
+--- Makefile.orig	2018-06-19 05:23:16.000000000 +0000
++++ Makefile
+@@ -8,8 +8,8 @@
+ PROGRAM=ajbsp
+ 
+ # prefix choices: /usr  /usr/local  /opt
+-PREFIX=/usr/local
+-MANDIR=$(PREFIX)/share/man
++#PREFIX=/usr/local
++MANDIR=$(PREFIX)/$(PKGMANDIR)
+ 
+ OBJ_DIR=obj_linux
+ 
+@@ -25,9 +25,9 @@ STRIP_FLAGS=--strip-unneeded
+ 
+ MAN_PAGE=$(PROGRAM).6
+ 
+-CXXFLAGS=$(OPTIMISE) $(WARNINGS) -D_THREAD_SAFE -D_REENTRANT
++#CXXFLAGS=$(OPTIMISE) $(WARNINGS) -D_THREAD_SAFE -D_REENTRANT
+ 
+-LDFLAGS=
++#LDFLAGS=
+ # LDFLAGS=-static
+ 
+ # I needed this when using -m32 and -static:
+@@ -77,9 +77,9 @@ stripped: all
+ 
+ install: stripped
+ 	install -d -m 755 $(DESTDIR)$(PREFIX)/bin
+-	install -o root -m 755 $(PROGRAM) $(DESTDIR)$(PREFIX)/bin/
++	install -m 755 $(PROGRAM) $(DESTDIR)$(PREFIX)/bin/
+ 	install -d -m 755 $(DESTDIR)$(MANDIR)/man6
+-	install -o root -m 644 doc/$(MAN_PAGE) $(DESTDIR)$(MANDIR)/man6/
++	install -m 644 doc/$(MAN_PAGE) $(DESTDIR)$(MANDIR)/man6/
+ 
+ uninstall:
+ 	rm -f -v $(DESTDIR)$(PREFIX)/bin/$(PROGRAM)


Home | Main Index | Thread Index | Old Index