aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/fig2pstricks
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-03-14 22:10:11 +0800
committermiwi <miwi@FreeBSD.org>2009-03-14 22:10:11 +0800
commitca824d6b958c00d89c047aa4e9bd69a3d3b32527 (patch)
tree134a234d70a360e59bd8630f3fe6f05d4235755e /graphics/fig2pstricks
parentbd60f13f8e55af1e43fc485ee165747172ef2446 (diff)
downloadfreebsd-ports-gnome-ca824d6b958c00d89c047aa4e9bd69a3d3b32527.tar.gz
freebsd-ports-gnome-ca824d6b958c00d89c047aa4e9bd69a3d3b32527.tar.zst
freebsd-ports-gnome-ca824d6b958c00d89c047aa4e9bd69a3d3b32527.zip
- Update to version 0.7.1
PR: 132471 Submitted by: Ports Fury
Diffstat (limited to 'graphics/fig2pstricks')
-rw-r--r--graphics/fig2pstricks/Makefile13
-rw-r--r--graphics/fig2pstricks/distinfo6
2 files changed, 14 insertions, 5 deletions
diff --git a/graphics/fig2pstricks/Makefile b/graphics/fig2pstricks/Makefile
index bec2d853e38d..7a06ec761e1b 100644
--- a/graphics/fig2pstricks/Makefile
+++ b/graphics/fig2pstricks/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= fig2pstricks
-PORTVERSION= 0.7.0
+PORTVERSION= 0.7.1
CATEGORIES= graphics
MASTER_SITES= http://homes.eco.auckland.ac.nz/chan079/fig2pstricks/
@@ -16,16 +16,25 @@ COMMENT= Convert xfig to pstricks
USE_GMAKE= yes
-PLIST_FILES= bin/fig2pstricks bin/fig2epspdf
+PLIST_FILES= bin/fig2pstricks
CFLAGS+= -DVERSION=\\\"${PORTVERSION}\\\"
+.if defined(WITH_LATEX)
+RUN_DEPENDS+= dvips:${PORTSDIR}/print/dvipsk-tetex \
+ epstopdf:${PORTSDIR}/print/teTeX-base
+USE_GHOSTSCRIPT_RUN= yes
+PLIST_FILES+= bin/fig2epspdf
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|gcc|$$(CC)|g ; \
s|^CFLAGS|#CFLAGS|g' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+.if defined(WITH_LATEX)
${INSTALL_SCRIPT} ${WRKSRC}/fig2epspdf ${PREFIX}/bin
+.endif
.include <bsd.port.mk>
diff --git a/graphics/fig2pstricks/distinfo b/graphics/fig2pstricks/distinfo
index 86de0acfd04b..2c94c93308b1 100644
--- a/graphics/fig2pstricks/distinfo
+++ b/graphics/fig2pstricks/distinfo
@@ -1,3 +1,3 @@
-MD5 (fig2pstricks-0.7.0.tar.gz) = dc488e19891fc078cb7d7ad29256699c
-SHA256 (fig2pstricks-0.7.0.tar.gz) = 1ce4e45dff9982fc5a169a6d3a29ac304fb042ae8bef9cf25eedbbbb23066655
-SIZE (fig2pstricks-0.7.0.tar.gz) = 66231
+MD5 (fig2pstricks-0.7.1.tar.gz) = 15d30068472808aa4c3e9a9191d22c47
+SHA256 (fig2pstricks-0.7.1.tar.gz) = 2333588c736bb49d0f8e0059358f21a26f328d843736bd7db2afceaddf1e769c
+SIZE (fig2pstricks-0.7.1.tar.gz) = 32959