pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Aug 15 15:25:10 UTC 2018

Modified Files:
        pkgsrc/devel: Makefile
Added Files:
        pkgsrc/devel/rgbds: DESCR Makefile PLIST distinfo
        pkgsrc/devel/rgbds/patches: patch-Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.2715 -r1.2716 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/rgbds/DESCR pkgsrc/devel/rgbds/Makefile \
    pkgsrc/devel/rgbds/PLIST pkgsrc/devel/rgbds/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/rgbds/patches/patch-Makefile

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

Modified files:

Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.2715 pkgsrc/devel/Makefile:1.2716
--- pkgsrc/devel/Makefile:1.2715        Thu Aug  9 11:50:17 2018
+++ pkgsrc/devel/Makefile       Wed Aug 15 15:25:10 2018
@@ -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+=  readline
 SUBDIR+=       rebar
 SUBDIR+=       refinecvs
 SUBDIR+=       reposurgeon
+SUBDIR+=       rgbds
 SUBDIR+=       ropper
 SUBDIR+=       roundup
 SUBDIR+=       rox-lib

Added files:

Index: pkgsrc/devel/rgbds/DESCR
diff -u /dev/null pkgsrc/devel/rgbds/DESCR:1.1
--- /dev/null   Wed Aug 15 15:25:11 2018
+++ pkgsrc/devel/rgbds/DESCR    Wed Aug 15 15:25:10 2018
@@ -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.
Index: pkgsrc/devel/rgbds/Makefile
diff -u /dev/null pkgsrc/devel/rgbds/Makefile:1.1
--- /dev/null   Wed Aug 15 15:25:11 2018
+++ pkgsrc/devel/rgbds/Makefile Wed Aug 15 15:25:10 2018
@@ -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"
Index: pkgsrc/devel/rgbds/PLIST
diff -u /dev/null pkgsrc/devel/rgbds/PLIST:1.1
--- /dev/null   Wed Aug 15 15:25:11 2018
+++ pkgsrc/devel/rgbds/PLIST    Wed Aug 15 15:25:10 2018
@@ -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
Index: pkgsrc/devel/rgbds/distinfo
diff -u /dev/null pkgsrc/devel/rgbds/distinfo:1.1
--- /dev/null   Wed Aug 15 15:25:11 2018
+++ pkgsrc/devel/rgbds/distinfo Wed Aug 15 15:25:10 2018
@@ -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

Index: pkgsrc/devel/rgbds/patches/patch-Makefile
diff -u /dev/null pkgsrc/devel/rgbds/patches/patch-Makefile:1.1
--- /dev/null   Wed Aug 15 15:25:11 2018
+++ pkgsrc/devel/rgbds/patches/patch-Makefile   Wed Aug 15 15:25:10 2018
@@ -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