Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/ajbsp games/ajbsp: import ajbsp-1.01



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1c73615851f8
branches:  trunk
changeset: 430823:1c73615851f8
user:      micha <micha%pkgsrc.org@localhost>
date:      Mon May 04 16:12:48 2020 +0000

description:
games/ajbsp: import ajbsp-1.01

AJBSP is a node builder for modern DOOM source ports.

diffstat:

 games/ajbsp/DESCR                  |   1 +
 games/ajbsp/Makefile               |  16 ++++++++++++++
 games/ajbsp/PLIST                  |   3 ++
 games/ajbsp/distinfo               |   7 ++++++
 games/ajbsp/patches/patch-Makefile |  43 ++++++++++++++++++++++++++++++++++++++
 5 files changed, 70 insertions(+), 0 deletions(-)

diffs (90 lines):

diff -r adecfb7c7830 -r 1c73615851f8 games/ajbsp/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/ajbsp/DESCR Mon May 04 16:12:48 2020 +0000
@@ -0,0 +1,1 @@
+AJBSP is a node builder for modern DOOM source ports.
diff -r adecfb7c7830 -r 1c73615851f8 games/ajbsp/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/ajbsp/Makefile      Mon May 04 16:12:48 2020 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2020/05/04 16:12:48 micha Exp $
+
+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 -r adecfb7c7830 -r 1c73615851f8 games/ajbsp/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/ajbsp/PLIST Mon May 04 16:12:48 2020 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2020/05/04 16:12:48 micha Exp $
+bin/ajbsp
+man/man6/ajbsp.6
diff -r adecfb7c7830 -r 1c73615851f8 games/ajbsp/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/ajbsp/distinfo      Mon May 04 16:12:48 2020 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/05/04 16:12:48 micha Exp $
+
+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 -r adecfb7c7830 -r 1c73615851f8 games/ajbsp/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/ajbsp/patches/patch-Makefile        Mon May 04 16:12:48 2020 +0000
@@ -0,0 +1,43 @@
+$NetBSD: patch-Makefile,v 1.1 2020/05/04 16:12:48 micha Exp $
+
+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