summaryrefslogtreecommitdiff
path: root/graphics/epstool
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-10-19 18:22:43 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-10-19 18:22:43 +0000
commitb4f5ecc855d13b6cf7c8b38c74ac80261bf5f2e0 (patch)
tree4333f4f64187fdf26ce22229c6855e5267f4d8b2 /graphics/epstool
parent- Fix WWW: line (diff)
- Update to version 3.03
PR: 58240 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=91687
Diffstat (limited to 'graphics/epstool')
-rw-r--r--graphics/epstool/Makefile12
-rw-r--r--graphics/epstool/distinfo2
-rw-r--r--graphics/epstool/pkg-plist6
3 files changed, 14 insertions, 6 deletions
diff --git a/graphics/epstool/Makefile b/graphics/epstool/Makefile
index 32d0aafb9b33..07bbe67ac827 100644
--- a/graphics/epstool/Makefile
+++ b/graphics/epstool/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= epstool
-PORTVERSION= 3.0
+PORTVERSION= 3.03
CATEGORIES= graphics
MASTER_SITES= ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum/
@@ -21,11 +21,15 @@ GSPORT?= print/ghostscript-gnu
RUN_DEPENDS= gs:${PORTSDIR}/${GSPORT}
+USE_REINPLACE= yes
USE_GMAKE= yes
MAKEFILE= makefile
-MAKE_ARGS= CC="${CC}" CDEBUG="${CFLAGS}" LINK="${CC}" EPSLIB=""
+MAKE_ARGS= MAKE="${GMAKE}" CC="${CC}" CCAUX="${CC}" CDEBUG="${CFLAGS}" \
+ CLINK="${CC} ${LDFLAGS}" LINK="${CC} ${LDFLAGS}" EPSLIB=""
ALL_TARGET= ${PORTNAME}
+MAN1= epstool.1
+
pre-everything::
.if !defined(WITH_GHOSTSCRIPT_AFPL) || ${WITH_GHOSTSCRIPT_AFPL} != yes
@${ECHO_MSG} ""
@@ -37,8 +41,12 @@ pre-everything::
post-extract:
@${RM} -f ${WRKSRC}/epstool
+post-patch:
+ @${REINPLACE_CMD} -e 's|make -f|$$(MAKE) -f|g' ${WRKSRC}/src/unix.mak
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/epstool ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/doc/epstool.1 ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/epstool.htm ${DOCSDIR}
diff --git a/graphics/epstool/distinfo b/graphics/epstool/distinfo
index 5cf6b1f0b17e..469f6d4800f8 100644
--- a/graphics/epstool/distinfo
+++ b/graphics/epstool/distinfo
@@ -1 +1 @@
-MD5 (epstool-3.0.tar.gz) = 5de32de51f41939f9d3a388d0e8ccbcb
+MD5 (epstool-3.03.tar.gz) = b96b2d739303244249a3caaa4e15b73e
diff --git a/graphics/epstool/pkg-plist b/graphics/epstool/pkg-plist
index 79aed863231c..572c98d83470 100644
--- a/graphics/epstool/pkg-plist
+++ b/graphics/epstool/pkg-plist
@@ -1,4 +1,4 @@
bin/epstool
-%%PORTDOCS%%share/doc/epstool/epstool.htm
-%%PORTDOCS%%share/doc/epstool/gsview.css
-%%PORTDOCS%%@dirrm share/doc/epstool
+%%PORTDOCS%%%%DOCSDIR%%/epstool.htm
+%%PORTDOCS%%%%DOCSDIR%%/gsview.css
+%%PORTDOCS%%@dirrm %%DOCSDIR%%