pkgsrc-Changes archive

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

CVS commit: pkgsrc/converters



Module Name:    pkgsrc
Committed By:   nia
Date:           Mon Aug 13 15:53:49 UTC 2018

Modified Files:
        pkgsrc/converters: Makefile
Added Files:
        pkgsrc/converters/dsk2rom: DESCR Makefile PLIST distinfo
        pkgsrc/converters/dsk2rom/patches: patch-Makefile
            patch-pletter_pletter.cpp

Log Message:
dsk2rom: add version 0.80.

DSK2ROM is a utility for converting MSX .dsk images to MSX .rom images.


To generate a diff of this commit:
cvs rdiff -u -r1.167 -r1.168 pkgsrc/converters/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/converters/dsk2rom/DESCR \
    pkgsrc/converters/dsk2rom/Makefile pkgsrc/converters/dsk2rom/PLIST \
    pkgsrc/converters/dsk2rom/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/converters/dsk2rom/patches/patch-Makefile \
    pkgsrc/converters/dsk2rom/patches/patch-pletter_pletter.cpp

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

Modified files:

Index: pkgsrc/converters/Makefile
diff -u pkgsrc/converters/Makefile:1.167 pkgsrc/converters/Makefile:1.168
--- pkgsrc/converters/Makefile:1.167    Wed Jul 25 11:56:18 2018
+++ pkgsrc/converters/Makefile  Mon Aug 13 15:53:49 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.167 2018/07/25 11:56:18 nia Exp $
+# $NetBSD: Makefile,v 1.168 2018/08/13 15:53:49 nia Exp $
 #
 
 COMMENT=       Document format and character code converters
@@ -20,6 +20,7 @@ SUBDIR+=      convmv
 SUBDIR+=       doc2html
 SUBDIR+=       docx2txt
 SUBDIR+=       dos2unix
+SUBDIR+=       dsk2rom
 SUBDIR+=       dvi2tty
 SUBDIR+=       enriched2html
 SUBDIR+=       erlang-iconv

Added files:

Index: pkgsrc/converters/dsk2rom/DESCR
diff -u /dev/null pkgsrc/converters/dsk2rom/DESCR:1.1
--- /dev/null   Mon Aug 13 15:53:49 2018
+++ pkgsrc/converters/dsk2rom/DESCR     Mon Aug 13 15:53:49 2018
@@ -0,0 +1 @@
+DSK2ROM is a utility for converting MSX .dsk images to MSX .rom images.
Index: pkgsrc/converters/dsk2rom/Makefile
diff -u /dev/null pkgsrc/converters/dsk2rom/Makefile:1.1
--- /dev/null   Mon Aug 13 15:53:50 2018
+++ pkgsrc/converters/dsk2rom/Makefile  Mon Aug 13 15:53:49 2018
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1 2018/08/13 15:53:49 nia Exp $
+
+DISTNAME=      dsk2rom-0.80
+CATEGORIES=    converters
+MASTER_SITES=  http://home.kabelfoon.nl/~vincentd/download/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://home.kabelfoon.nl/~vincentd/
+COMMENT=       MSX disk image conversion utility
+LICENSE=       gnu-gpl-v2
+
+USE_LANGUAGES= c c++
+USE_TOOLS+=    gmake
+
+WRKSRC=                ${WRKDIR}/dsk2rom
+
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
+MAKE_FLAGS+=   NATIVE_CC=${NATIVE_CC:Q}
+.else
+MAKE_FLAGS+=   NATIVE_CC=${CC:Q}
+.endif
+
+INSTALLATION_DIRS+=    ${PREFIX}/bin
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/dsk2rom ${DESTDIR}${PREFIX}/bin/dsk2rom
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/converters/dsk2rom/PLIST
diff -u /dev/null pkgsrc/converters/dsk2rom/PLIST:1.1
--- /dev/null   Mon Aug 13 15:53:50 2018
+++ pkgsrc/converters/dsk2rom/PLIST     Mon Aug 13 15:53:49 2018
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2018/08/13 15:53:49 nia Exp $
+bin/dsk2rom
Index: pkgsrc/converters/dsk2rom/distinfo
diff -u /dev/null pkgsrc/converters/dsk2rom/distinfo:1.1
--- /dev/null   Mon Aug 13 15:53:50 2018
+++ pkgsrc/converters/dsk2rom/distinfo  Mon Aug 13 15:53:49 2018
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2018/08/13 15:53:49 nia Exp $
+
+SHA1 (dsk2rom-0.80.tar.gz) = ed1ff7e18f9698cc1141197cb188de326a38b7b0
+RMD160 (dsk2rom-0.80.tar.gz) = 0d32fe2519013a77e6b28e0c4e833afc101fd6d8
+SHA512 (dsk2rom-0.80.tar.gz) = 846736ee6a552eaef48bfae76a123ec1dda4304f7e5ab09a5c70c939a1586c29b976e6cb55de0f75ed61e98be323f4be540ee5c4c172f5d5822c351406874fc2
+Size (dsk2rom-0.80.tar.gz) = 28727 bytes
+SHA1 (patch-Makefile) = e81bc8fbfe9dc02d82d216ccc57e3a36883eb7b4
+SHA1 (patch-pletter_pletter.cpp) = f478b46342b598af14e09a2cde8bcb762d9589e8

Index: pkgsrc/converters/dsk2rom/patches/patch-Makefile
diff -u /dev/null pkgsrc/converters/dsk2rom/patches/patch-Makefile:1.1
--- /dev/null   Mon Aug 13 15:53:50 2018
+++ pkgsrc/converters/dsk2rom/patches/patch-Makefile    Mon Aug 13 15:53:49 2018
@@ -0,0 +1,31 @@
+$NetBSD: patch-Makefile,v 1.1 2018/08/13 15:53:49 nia Exp $
+
+Use native compiler for producing build executable, and
+CFLAGS from pkgsrc.
+
+--- Makefile.orig      2007-05-27 11:45:09.000000000 +0000
++++ Makefile
+@@ -8,13 +8,10 @@ dsk2rom_e = dsk2rom
+ bin2h_e   = bin2h
+ endif
+ 
+-CC = g++
+-CFLAGS = -O2 -Wall -fomit-frame-pointer
+-
+ all: bin2h dsk2rom.h dsk2rom
+ 
+ bin2h: bin2h.c
+-      $(CC) $(CFLAGS) $^ -o $(bin2h_e)
++      $(NATIVE_CC) $^ -o $(bin2h_e)
+ 
+ pletter/pletter.o: pletter/pletter.cpp pletter/pletter.h
+ 
+@@ -22,7 +19,7 @@ dsk2rom.h: bin2h
+       $(shell ./${bin2h_e} dsk2rom dsk2rom.rom dsk2rom.h)
+ 
+ dsk2rom: dsk2rom.c dsk2rom.h pletter/pletter.o
+-      $(CC) $(CFLAGS) $^ -o $(dsk2rom_e)
++      $(CXX) $(CFLAGS) $(LDFLAGS) $^ -o $(dsk2rom_e)
+ 
+ clean:
+       rm -f $(dsk2rom_e)
Index: pkgsrc/converters/dsk2rom/patches/patch-pletter_pletter.cpp
diff -u /dev/null pkgsrc/converters/dsk2rom/patches/patch-pletter_pletter.cpp:1.1
--- /dev/null   Mon Aug 13 15:53:50 2018
+++ pkgsrc/converters/dsk2rom/patches/patch-pletter_pletter.cpp Mon Aug 13 15:53:49 2018
@@ -0,0 +1,16 @@
+$NetBSD: patch-pletter_pletter.cpp,v 1.1 2018/08/13 15:53:49 nia Exp $
+
+Add missing includes.
+
+--- pletter/pletter.cpp.orig   2007-05-27 11:18:42.000000000 +0000
++++ pletter/pletter.cpp
+@@ -9,6 +9,9 @@
+ 
+ */
+ 
++#include <cstdlib>
++#include <cstring>
++#include <cstdio>
+ #include <string>
+ using namespace std;
+ 



Home | Main Index | Thread Index | Old Index