This has some minor changes for svg output. List of change here
https://ece.uwaterloo.ca/~aplevich/dpic/CHANGES
Tested on amd64, examples compared against current version, all worked
with just a minor change in svg as expected.
The version naming changed upstream, package version scheme kept
2014.Jan.01 converted to 2014.01.01
Comments Ok?
Index: Makefile
===================================================================
RCS file: /home/cvs/ports/graphics/dpic/Makefile,v
retrieving revision 1.4
diff -u -p -r1.4 Makefile
--- Makefile 11 Mar 2013 11:10:52 -0000 1.4
+++ Makefile 29 Mar 2014 23:24:08 -0000
@@ -2,7 +2,8 @@
COMMENT = pic-like interpreter for producing line graphics
-DISTNAME = dpic-2011.12.09
+DISTNAME = dpic-2014.Jan.01
+PKGNAME = ${DISTNAME:S/Jan/01/}
CATEGORIES = graphics
Index: distinfo
===================================================================
RCS file: /home/cvs/ports/graphics/dpic/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo 13 Jan 2012 11:25:39 -0000 1.3
+++ distinfo 29 Mar 2014 23:24:22 -0000
@@ -1,5 +1,2 @@
-MD5 (dpic-2011.12.09.tar.gz) = aXZC4qFQRgj+8bQqkTRGQQ==
-RMD160 (dpic-2011.12.09.tar.gz) = 1VO6WLg63mfF4Frjc00TcuY4+y0=
-SHA1 (dpic-2011.12.09.tar.gz) = 6J6IT9AAgRmMJ+Nn7DUsj5razXQ=
-SHA256 (dpic-2011.12.09.tar.gz) = z/p+ZfbhbGTI30aw7/6TgR9n6A8PeFKWIHufP+K6J9Y=
-SIZE (dpic-2011.12.09.tar.gz) = 603713
+SHA256 (dpic-2014.Jan.01.tar.gz) = Bb5z+hrYrkPonP4cDqkF0RtL5eezWcbn805Rpx6nv8U=
+SIZE (dpic-2014.Jan.01.tar.gz) = 584351
Index: patches/patch-Makefile
===================================================================
RCS file: /home/cvs/ports/graphics/dpic/patches/patch-Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 patch-Makefile
--- patches/patch-Makefile 17 Nov 2011 12:26:36 -0000 1.2
+++ patches/patch-Makefile 17 Mar 2013 23:55:20 -0000
@@ -1,7 +1,7 @@
$OpenBSD: patch-Makefile,v 1.2 2011/11/17 12:26:36 nigel Exp $
Honour CC and CFLAGS
---- Makefile.orig Tue Jul 12 01:15:50 2011
-+++ Makefile Sun Jul 17 01:13:22 2011
+--- Makefile.orig Mon May 16 13:59:42 2011
++++ Makefile Sun Mar 17 23:54:29 2013
@@ -44,8 +44,8 @@ DEST = ${DESTDIR}/${PREFIX}/bin
# CC=xlc
@@ -12,4 +12,4 @@ Honour CC and CFLAGS
+CC?=gcc
# CC?=gcc
- OBJECTS = dpic.o dpic2.o p2clib.o
+ OBJECTS = dpic.o p2clib.o