From 17fcd103e0d50782cad11da732d3046cd73831e6 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Fri, 16 Sep 2005 11:03:31 +0000 Subject: [PATCH] - Update to 0.6.8 PR: ports/86120 Submitted by: Ports Fury --- graphics/fig2pstricks/Makefile | 5 ++++- graphics/fig2pstricks/distinfo | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/graphics/fig2pstricks/Makefile b/graphics/fig2pstricks/Makefile index 6f3ddf1242f9..483c9a9323ad 100644 --- a/graphics/fig2pstricks/Makefile +++ b/graphics/fig2pstricks/Makefile @@ -7,7 +7,7 @@ # PORTNAME= fig2pstricks -PORTVERSION= 0.6.6 +PORTVERSION= 0.6.8 CATEGORIES= graphics MASTER_SITES= http://www.vuw.ac.nz/staff/chirok_han/fig2pstricks/ @@ -22,6 +22,9 @@ PLIST_FILES= bin/fig2pstricks post-patch: @${REINPLACE_CMD} -e 's|gcc|$$(CC)|g ; \ s|^CFLAGS|#CFLAGS|g' ${WRKSRC}/Makefile + @cd ${WRKSRC} && ${TR} -d '\r' < fig2pstricks.c > fig2pstricks.c.bak \ + && ${SED} -e 's:0.6.6:${PORTNAME}:g' < fig2pstricks.c.bak \ + > fig2pstricks.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin diff --git a/graphics/fig2pstricks/distinfo b/graphics/fig2pstricks/distinfo index fad805bd1398..a41111209b56 100644 --- a/graphics/fig2pstricks/distinfo +++ b/graphics/fig2pstricks/distinfo @@ -1,2 +1,2 @@ -MD5 (fig2pstricks-0.6.6.tar.gz) = 80d6b518b06325dedbe6d3a8ed1f36aa -SIZE (fig2pstricks-0.6.6.tar.gz) = 25915 +MD5 (fig2pstricks-0.6.8.tar.gz) = 0ab13942b91d2b22bffd6b4723090947 +SIZE (fig2pstricks-0.6.8.tar.gz) = 29829