aboutsummaryrefslogtreecommitdiff
path: root/graphics/pstoedit
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>2000-03-09 10:02:47 +0000
committerThomas Gellekum <tg@FreeBSD.org>2000-03-09 10:02:47 +0000
commitd696382eabfb1feae2d1a9305371ec5f7e0a6036 (patch)
tree3b7b032582c096c9c4e2fc5a676a4eedc3e07a7e /graphics/pstoedit
parente46959cf449aca5ed1185e84ad934721331bf450 (diff)
downloadports-d696382eabfb1feae2d1a9305371ec5f7e0a6036.tar.gz
ports-d696382eabfb1feae2d1a9305371ec5f7e0a6036.zip
Notes
Diffstat (limited to 'graphics/pstoedit')
-rw-r--r--graphics/pstoedit/Makefile33
-rw-r--r--graphics/pstoedit/distinfo2
-rw-r--r--graphics/pstoedit/files/patch-ab17
-rw-r--r--graphics/pstoedit/files/patch-ac13
-rw-r--r--graphics/pstoedit/pkg-plist5
5 files changed, 60 insertions, 10 deletions
diff --git a/graphics/pstoedit/Makefile b/graphics/pstoedit/Makefile
index 35574b3d12ba..95b7dea7e748 100644
--- a/graphics/pstoedit/Makefile
+++ b/graphics/pstoedit/Makefile
@@ -1,27 +1,42 @@
# New ports collection makefile for: pstodit
-# Version required: 3.11
+# Version required: 3.17
# Date created: 03 July 1998
# Whom: Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#
-DISTNAME= pstoedit_3_11
-PKGNAME= pstoedit-3.11
+DISTNAME= pstoedit_3_17
+PKGNAME= pstoedit-3.17
CATEGORIES= graphics print
MASTER_SITES= http://www.geocities.com/SiliconValley/Network/1958/pstoedit/
MAINTAINER= jseger@FreeBSD.org
-RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript5
+LIB_DEPENDS= plot.3:${PORTSDIR}/graphics/plotutils \
+ plotter.3:${PORTSDIR}/graphics/plotutils
+
+RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript55
FETCH_BEFORE_ARGS= -t
USE_ZIP= yes
-WRKSRC= ${WRKDIR}/pstoedit_3.11/src
-MAKEFILE= makefile
-ALL_TARGET=
+WRKSRC= ${WRKDIR}/pstoedit_3.17/src
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${PREFIX}/include -I${X11BASE}/include" \
+ CXXFLAGS="${CFLAGS} -I${PREFIX}/include -I${X11BASE}/include" \
+ LDLIBS="-L${PREFIX}/lib -L${X11BASE}/lib" \
+ LIBS="-L${PREFIX}/lib -L${X11BASE}/lib"
+ALL_TARGET= default
+
+MAN1= pstoedit.1
+
+post-extract:
+ ${CP} ${WRKSRC}/../config/* ${WRKSRC}
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/pstoedit ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+post-install:
+ @${MKDIR} ${PREFIX}/share/doc/pstoedit
+ ${INSTALL_DATA} ${WRKSRC}/../*.htm ${PREFIX}/share/doc/pstoedit
+.endif
.include <bsd.port.mk>
diff --git a/graphics/pstoedit/distinfo b/graphics/pstoedit/distinfo
index 085d6cee0f15..5cf2111c5eea 100644
--- a/graphics/pstoedit/distinfo
+++ b/graphics/pstoedit/distinfo
@@ -1 +1 @@
-MD5 (pstoedit_3_11.zip) = 7e5acd38aeb5310db19f7712ba540c24
+MD5 (pstoedit_3_17.zip) = e11b080ec22b60a85f58c3a050f651d1
diff --git a/graphics/pstoedit/files/patch-ab b/graphics/pstoedit/files/patch-ab
new file mode 100644
index 000000000000..4fc73b141e4e
--- /dev/null
+++ b/graphics/pstoedit/files/patch-ab
@@ -0,0 +1,17 @@
+--- configure.orig Sun Feb 27 14:04:26 2000
++++ configure Sun Feb 27 14:02:06 2000
+@@ -1061,12 +1061,12 @@
+ #include "confdefs.h"
+ #include <plotter.h>
+ int main() {
+- typdef int Point;
++ typedef int Point;
+ ; return 0; }
+ EOF
+ if { (eval echo configure:1068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ rm -rf conftest*
+- echo "$ac_t""you seem to have a newer version " 1>&6]
++ echo "$ac_t""you seem to have a newer version " 1>&6
+ else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
diff --git a/graphics/pstoedit/files/patch-ac b/graphics/pstoedit/files/patch-ac
new file mode 100644
index 000000000000..1c1b7f77e7b7
--- /dev/null
+++ b/graphics/pstoedit/files/patch-ac
@@ -0,0 +1,13 @@
+--- configure.in.orig Sun Feb 27 14:03:37 2000
++++ configure.in Sun Feb 27 14:02:43 2000
+@@ -30,8 +30,8 @@
+
+ dnl See if we have a 2.3 or newer lib Plot version
+ AC_MSG_CHECKING(for version of "lib plot" )
+-AC_TRY_COMPILE( [#include <plotter.h>],[ typdef int Point; ],
+- AC_MSG_RESULT(you seem to have a newer version )],
++AC_TRY_COMPILE( [#include <plotter.h>],[ typedef int Point; ],
++ AC_MSG_RESULT(you seem to have a newer version ),
+ [PLOTCOMPILEFLAGS="$PLOTCOMPILEFLAGS -DOLD_LIBPLOTTER"; AC_MSG_RESULT(you seem to have a older version )])
+ AC_SUBST(PLOTCOMPILEFLAGS)
+
diff --git a/graphics/pstoedit/pkg-plist b/graphics/pstoedit/pkg-plist
index a5cea368a0d3..9c99f413d08a 100644
--- a/graphics/pstoedit/pkg-plist
+++ b/graphics/pstoedit/pkg-plist
@@ -1 +1,6 @@
bin/pstoedit
+lib/mpost.fmp
+share/doc/pstoedit/changelog.htm
+share/doc/pstoedit/index.htm
+share/doc/pstoedit/pstoedit.htm
+@dirrm share/doc/pstoedit