pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/converters dsk2rom: add version 0.80.
details: https://anonhg.NetBSD.org/pkgsrc/rev/2afda04f3bac
branches: trunk
changeset: 383901:2afda04f3bac
user: nia <nia%pkgsrc.org@localhost>
date: Mon Aug 13 15:53:49 2018 +0000
description:
dsk2rom: add version 0.80.
DSK2ROM is a utility for converting MSX .dsk images to MSX .rom images.
diffstat:
converters/Makefile | 3 +-
converters/dsk2rom/DESCR | 1 +
converters/dsk2rom/Makefile | 30 +++++++++++++++++++
converters/dsk2rom/PLIST | 2 +
converters/dsk2rom/distinfo | 8 +++++
converters/dsk2rom/patches/patch-Makefile | 31 ++++++++++++++++++++
converters/dsk2rom/patches/patch-pletter_pletter.cpp | 16 ++++++++++
7 files changed, 90 insertions(+), 1 deletions(-)
diffs (129 lines):
diff -r 9b3c31d7c775 -r 2afda04f3bac converters/Makefile
--- a/converters/Makefile Mon Aug 13 14:37:41 2018 +0000
+++ b/converters/Makefile Mon Aug 13 15:53:49 2018 +0000
@@ -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+= doc2html
SUBDIR+= docx2txt
SUBDIR+= dos2unix
+SUBDIR+= dsk2rom
SUBDIR+= dvi2tty
SUBDIR+= enriched2html
SUBDIR+= erlang-iconv
diff -r 9b3c31d7c775 -r 2afda04f3bac converters/dsk2rom/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/dsk2rom/DESCR Mon Aug 13 15:53:49 2018 +0000
@@ -0,0 +1,1 @@
+DSK2ROM is a utility for converting MSX .dsk images to MSX .rom images.
diff -r 9b3c31d7c775 -r 2afda04f3bac converters/dsk2rom/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/dsk2rom/Makefile Mon Aug 13 15:53:49 2018 +0000
@@ -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"
diff -r 9b3c31d7c775 -r 2afda04f3bac converters/dsk2rom/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/dsk2rom/PLIST Mon Aug 13 15:53:49 2018 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2018/08/13 15:53:49 nia Exp $
+bin/dsk2rom
diff -r 9b3c31d7c775 -r 2afda04f3bac converters/dsk2rom/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/dsk2rom/distinfo Mon Aug 13 15:53:49 2018 +0000
@@ -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
diff -r 9b3c31d7c775 -r 2afda04f3bac converters/dsk2rom/patches/patch-Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/dsk2rom/patches/patch-Makefile Mon Aug 13 15:53:49 2018 +0000
@@ -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)
diff -r 9b3c31d7c775 -r 2afda04f3bac converters/dsk2rom/patches/patch-pletter_pletter.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/dsk2rom/patches/patch-pletter_pletter.cpp Mon Aug 13 15:53:49 2018 +0000
@@ -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