pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel devel/rgbds: add version 0.3.7



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c30284128911
branches:  trunk
changeset: 311626:c30284128911
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Aug 15 15:25:10 2018 +0000

description:
devel/rgbds: add version 0.3.7

RGBDS (Rednex Game Boy Development System) is a free assembler/linker
package for the Game Boy and Game Boy Color. It consists of:

* rgbasm (an assembler)
* rgblink (a linker)
* rgbfix (a checksum/header fixer)
* rgbgfx (a PNG-to-Game Boy graphics converter)

This is a fork of the original RGBDS which aims to make the programs
more like other UNIX tools.

diffstat:

 devel/Makefile                     |   3 +-
 devel/rgbds/DESCR                  |  10 +++++
 devel/rgbds/Makefile               |  17 +++++++++
 devel/rgbds/PLIST                  |  14 ++++++++
 devel/rgbds/distinfo               |   7 ++++
 devel/rgbds/patches/patch-Makefile |  65 ++++++++++++++++++++++++++++++++++++++
 6 files changed, 115 insertions(+), 1 deletions(-)

diffs (150 lines):

diff -r ed7c9b19bcd7 -r c30284128911 devel/Makefile
--- a/devel/Makefile    Wed Aug 15 14:04:57 2018 +0000
+++ b/devel/Makefile    Wed Aug 15 15:25:10 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2715 2018/08/09 11:50:17 jperkin Exp $
+# $NetBSD: Makefile,v 1.2716 2018/08/15 15:25:10 nia Exp $
 #
 
 COMMENT=       Development utilities
@@ -2348,6 +2348,7 @@
 SUBDIR+=       rebar
 SUBDIR+=       refinecvs
 SUBDIR+=       reposurgeon
+SUBDIR+=       rgbds
 SUBDIR+=       ropper
 SUBDIR+=       roundup
 SUBDIR+=       rox-lib
diff -r ed7c9b19bcd7 -r c30284128911 devel/rgbds/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/rgbds/DESCR Wed Aug 15 15:25:10 2018 +0000
@@ -0,0 +1,10 @@
+RGBDS (Rednex Game Boy Development System) is a free assembler/linker
+package for the Game Boy and Game Boy Color. It consists of:
+
+* rgbasm (an assembler)
+* rgblink (a linker)
+* rgbfix (a checksum/header fixer)
+* rgbgfx (a PNG-to-Game Boy graphics converter)
+
+This is a fork of the original RGBDS which aims to make the programs
+more like other UNIX tools.
diff -r ed7c9b19bcd7 -r c30284128911 devel/rgbds/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/rgbds/Makefile      Wed Aug 15 15:25:10 2018 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2018/08/15 15:25:10 nia Exp $
+
+DISTNAME=      rgbds-0.3.7
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=rednex/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/rednex/rgbds
+COMMENT=       Assembler/linker package for the Game Boy and Game Boy Color
+LICENSE=       mit
+
+EXTRACT_USING= bsdtar
+USE_TOOLS+=    gmake pkg-config
+
+.include "../../graphics/png/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r ed7c9b19bcd7 -r c30284128911 devel/rgbds/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/rgbds/PLIST Wed Aug 15 15:25:10 2018 +0000
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1 2018/08/15 15:25:10 nia Exp $
+bin/rgbasm
+bin/rgbfix
+bin/rgbgfx
+bin/rgblink
+man/man1/rgbasm.1
+man/man1/rgbfix.1
+man/man1/rgbgfx.1
+man/man1/rgblink.1
+man/man5/rgbasm.5
+man/man5/rgbds.5
+man/man5/rgblink.5
+man/man7/gbz80.7
+man/man7/rgbds.7
diff -r ed7c9b19bcd7 -r c30284128911 devel/rgbds/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/rgbds/distinfo      Wed Aug 15 15:25:10 2018 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2018/08/15 15:25:10 nia Exp $
+
+SHA1 (rgbds-0.3.7.tar.gz) = ea2b154cca70116a9350f1964eefd915ac95c8b8
+RMD160 (rgbds-0.3.7.tar.gz) = 4353996f8c9d8b5d3e9971f0978c30417edd010d
+SHA512 (rgbds-0.3.7.tar.gz) = bec4283b6ce4770b74303a732881bf06280a95a9d9b9b576c6e07e1ecdfcf6266abe4254739bfd7068d10002681d44a4764101c36c844d54157c8b6e6e5505d9
+Size (rgbds-0.3.7.tar.gz) = 135143 bytes
+SHA1 (patch-Makefile) = 50aa361a3cffb1c0d28bb6b6252e1748ce001f04
diff -r ed7c9b19bcd7 -r c30284128911 devel/rgbds/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/rgbds/patches/patch-Makefile        Wed Aug 15 15:25:10 2018 +0000
@@ -0,0 +1,65 @@
+$NetBSD: patch-Makefile,v 1.1 2018/08/15 15:25:10 nia Exp $
+
+Don't override settings.
+
+--- Makefile.orig      2018-05-02 19:04:00.000000000 +0000
++++ Makefile
+@@ -8,8 +8,6 @@
+ 
+ # User-defined variables
+ 
+-Q             := @
+-PREFIX                := /usr/local
+ bindir                := ${PREFIX}/bin
+ mandir                := ${PREFIX}/man
+ STRIP         := -s
+@@ -20,25 +18,17 @@ CHECKPATCH := ../linux/scripts/checkpatc
+ # Other variables
+ 
+ PKG_CONFIG    := pkg-config
+-PNGCFLAGS     := `${PKG_CONFIG} --static --cflags libpng`
+-PNGLDFLAGS    := `${PKG_CONFIG} --static --libs-only-L libpng`
+-PNGLDLIBS     := `${PKG_CONFIG} --static --libs-only-l libpng`
+-
+-VERSION_STRING        := `git describe --tags --dirty --always 2>/dev/null`
++PNGCFLAGS     := `${PKG_CONFIG} --cflags libpng`
++PNGLDFLAGS    := `${PKG_CONFIG} --libs-only-L libpng`
++PNGLDLIBS     := `${PKG_CONFIG} --libs-only-l libpng`
+ 
+ WARNFLAGS     := -Wall
+ 
+ # Overridable CFLAGS
+-CFLAGS                := -g
+ # Non-overridable CFLAGS
+ REALCFLAGS    := ${CFLAGS} ${WARNFLAGS} -std=c99 -D_POSIX_C_SOURCE=200809L \
+                  -Iinclude -DBUILD_VERSION_STRING=\"${VERSION_STRING}\"
+ 
+-YFLAGS                :=
+-LFLAGS                := --nounistd
+-
+-YACC          := yacc
+-LEX           := flex
+ RM            := rm -rf
+ 
+ # Rules to build the RGBDS binaries
+@@ -94,16 +84,16 @@ rgbgfx_obj := \
+       src/version.o
+ 
+ rgbasm: ${rgbasm_obj}
+-      $Q${CC} ${REALCFLAGS} -o $@ ${rgbasm_obj} -lm
++      $Q${CC} ${REALCFLAGS} ${LDFLAGS} -o $@ ${rgbasm_obj} -lm
+ 
+ rgblink: ${rgblink_obj}
+-      $Q${CC} ${REALCFLAGS} -o $@ ${rgblink_obj}
++      $Q${CC} ${REALCFLAGS} ${LDFLAGS} -o $@ ${rgblink_obj}
+ 
+ rgbfix: ${rgbfix_obj}
+-      $Q${CC} ${REALCFLAGS} -o $@ ${rgbfix_obj}
++      $Q${CC} ${REALCFLAGS} ${LDFLAGS} -o $@ ${rgbfix_obj}
+ 
+ rgbgfx: ${rgbgfx_obj}
+-      $Q${CC} ${REALCFLAGS} ${PNGLDFLAGS} -o $@ ${rgbgfx_obj} ${PNGLDLIBS}
++      $Q${CC} ${REALCFLAGS} ${LDFLAGS} ${PNGLDFLAGS} -o $@ ${rgbgfx_obj} ${PNGLDLIBS}
+ 
+ # Rules to process files
+ 



Home | Main Index | Thread Index | Old Index