aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2005-09-16 11:03:31 +0000
committerRenato Botelho <garga@FreeBSD.org>2005-09-16 11:03:31 +0000
commit17fcd103e0d50782cad11da732d3046cd73831e6 (patch)
tree8f8d8b0e72086debf2d4dce7d1c5d02e67077859 /graphics
parent3bfc57f1f23df5c39193ce14813ceabdc86b3a44 (diff)
downloadports-17fcd103e0d50782cad11da732d3046cd73831e6.tar.gz
ports-17fcd103e0d50782cad11da732d3046cd73831e6.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/fig2pstricks/Makefile5
-rw-r--r--graphics/fig2pstricks/distinfo4
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