Update to version 2015.08.31

Minor changes
2015 08 31 Ljust and rjust text offset equal for single and multiple
strings.
2015 08 13 Catch return value of the sh command.
2015 06 29 Fixed a bug in svg output.
2015 06 15 Undeferred error messaging. Improved readability of C code.
2015 04 01 Fix comment lines containing braces in macro and for bodies.
Revised messages for some errors.
2015 02 13 Reworked the handling of backslashes in strings in macro
arguments.
2015 02 04 PDF output. Built-in variable dpicopt and variables added for
detecting command options.  Linear objects reworked for consistent fill.
2014 01 26 Tweak svg string output.


Added some testing by using make on the examples.
(Used browser/inkscape/ghostscript etc to view generated files.)

Only tested on amd64. Please test on other.

Ok?

Index: Makefile
===================================================================
RCS file: /home/cvs/ports/graphics/dpic/Makefile,v
retrieving revision 1.5
diff -u -p -r1.5 Makefile
--- Makefile	23 Oct 2014 13:43:04 -0000	1.5
+++ Makefile	3 Sep 2015 13:59:05 -0000
@@ -2,8 +2,7 @@
 
 COMMENT =		pic-like interpreter for producing line graphics
 
-DISTNAME =		dpic-2014.Jan.01
-PKGNAME =		${DISTNAME:S/Jan/01/}
+DISTNAME =		dpic-2015.08.31
 
 CATEGORIES =		graphics
 
@@ -19,12 +18,18 @@ ALL_TARGET =		dpic
 
 MASTER_SITES =		${HOMEPAGE}
 
+
+TEST_DEPENDS =		print/texlive/base \
+			print/texlive/texmf,-main
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/dpic ${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/doc/dpic.1 ${PREFIX}/man/man1
 	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/dpic/
-	cd ${WRKSRC}/examples/ && pax -rw * ${PREFIX}/share/examples/dpic/
+	cd ${WRKSRC}/examples/ && pax -rw sources Examples.txt Makefile README ${PREFIX}/share/examples/dpic/
 
-NO_TEST =		Yes
+do-test:
+	cd ${WRKSRC}/examples/ && \
+	make -e DPIC=${WRKSRC}/dpic all
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/cvs/ports/graphics/dpic/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo	23 Oct 2014 13:43:05 -0000	1.4
+++ distinfo	3 Sep 2015 13:59:29 -0000
@@ -1,2 +1,2 @@
-SHA256 (dpic-2014.Jan.01.tar.gz) = Bb5z+hrYrkPonP4cDqkF0RtL5eezWcbn805Rpx6nv8U=
-SIZE (dpic-2014.Jan.01.tar.gz) = 584351
+SHA256 (dpic-2015.08.31.tar.gz) = i3XYqpkQv5sH1/p5ldp+3Y0C6xCbNT51WCHN/Btx6iA=
+SIZE (dpic-2015.08.31.tar.gz) = 622935
Index: pkg/PLIST
===================================================================
RCS file: /home/cvs/ports/graphics/dpic/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST	15 May 2011 18:49:41 -0000	1.1.1.1
+++ pkg/PLIST	20 Jun 2015 16:02:30 -0000
@@ -15,6 +15,7 @@ share/examples/dpic/sources/diag8.pic
 share/examples/dpic/sources/diag9.pic
 share/examples/dpic/sources/diagA.pic
 share/examples/dpic/sources/diagB.pic
+share/examples/dpic/sources/diagC.pic
 share/examples/dpic/sources/test1.tex
 share/examples/dpic/sources/test2.tex
 share/examples/dpic/sources/test3.tex

Reply via email to