Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Apr 2001 18:13:23 -0700 (PDT)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/26551: Update port: graphics/pstoedit to 3.21
Message-ID:  <200104140113.f3E1DNN34199@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         26551
>Category:       ports
>Synopsis:       Update port: graphics/pstoedit to 3.21
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 13 18:20:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.2-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 3.21

New file:
files/patch-ad

Remove file:
files/patch-ab  files/patch-ac

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/graphics/pstoedit/Makefile graphics/pstoedit/Makefile
--- /usr/ports/graphics/pstoedit/Makefile	Mon Apr  2 19:47:49 2001
+++ graphics/pstoedit/Makefile	Sat Apr 14 08:37:12 2001
@@ -6,33 +6,31 @@
 #
 
 PORTNAME=	pstoedit
-PORTVERSION=	3.17
+PORTVERSION=	3.21
 CATEGORIES=	graphics print
 MASTER_SITES=	http://www.geocities.com/SiliconValley/Network/1958/pstoedit/
-DISTNAME=	${PORTNAME}_3_17
+DISTNAME=	${PORTNAME}_${PORTVERSION:S/./_/}
 
 MAINTAINER=	jseger@FreeBSD.org
 
-RUN_DEPENDS=	gs:${PORTSDIR}/print/ghostscript55
-LIB_DEPENDS=	plot.3:${PORTSDIR}/graphics/plotutils \
-		plotter.3:${PORTSDIR}/graphics/plotutils
+RUN_DEPENDS=	gs:${PORTSDIR}/print/ghostscript6
+LIB_DEPENDS=	plot.4:${PORTSDIR}/graphics/plotutils \
+		plotter.4:${PORTSDIR}/graphics/plotutils
+
+WRKSRC=		${WRKDIR}/${PORTNAME}_${PORTVERSION}/src
 
 USE_ZIP=		yes
-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"
+CONFIGURE_SCRIPT=	../config/configure
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
+		LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
+CONFIGURE_ARGS=	--libdir=${PREFIX}/share/pstoedit
 ALL_TARGET=	default
 
 MAN1=	pstoedit.1
 
-post-extract:
-	${CP} ${WRKSRC}/../config/* ${WRKSRC}
-
-.if !defined(NOPORTDOCS)
 post-install:
+.if !defined(NOPORTDOCS)
 	@${MKDIR} ${PREFIX}/share/doc/pstoedit
 	${INSTALL_DATA} ${WRKSRC}/../*.htm ${PREFIX}/share/doc/pstoedit
 .endif
diff -urN /usr/ports/graphics/pstoedit/distinfo graphics/pstoedit/distinfo
--- /usr/ports/graphics/pstoedit/distinfo	Thu Mar  9 19:02:44 2000
+++ graphics/pstoedit/distinfo	Sat Apr 14 07:50:40 2001
@@ -1 +1 @@
-MD5 (pstoedit_3_17.zip) = e11b080ec22b60a85f58c3a050f651d1
+MD5 (pstoedit_3_21.zip) = da439846a3a9eddce0d310d2ceaf4f45
diff -urN /usr/ports/graphics/pstoedit/files/patch-ab graphics/pstoedit/files/patch-ab
--- /usr/ports/graphics/pstoedit/files/patch-ab	Thu Mar  9 19:02:46 2000
+++ graphics/pstoedit/files/patch-ab	Thu Jan  1 09:00:00 1970
@@ -1,17 +0,0 @@
---- 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 -urN /usr/ports/graphics/pstoedit/files/patch-ac graphics/pstoedit/files/patch-ac
--- /usr/ports/graphics/pstoedit/files/patch-ac	Thu Mar  9 19:02:46 2000
+++ graphics/pstoedit/files/patch-ac	Thu Jan  1 09:00:00 1970
@@ -1,13 +0,0 @@
---- 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 -urN /usr/ports/graphics/pstoedit/files/patch-ad graphics/pstoedit/files/patch-ad
--- /usr/ports/graphics/pstoedit/files/patch-ad	Thu Jan  1 09:00:00 1970
+++ graphics/pstoedit/files/patch-ad	Sat Apr 14 08:24:13 2001
@@ -0,0 +1,33 @@
+--- Makefile.in.orig	Wed Oct  4 04:51:25 2000
++++ Makefile.in	Sat Apr 14 08:24:02 2001
+@@ -16,7 +16,7 @@
+ GS=@GS@
+ 
+ # Choose a compiler + linker
+-CXXFLAGS=@CXXFLAGS@
++CXXFLAGS=@CXXFLAGS@ @CPPFLAGS@
+ CCC=@CXX@ @SPECIAL_CXXFLAGS@
+ LDLIBS=$(LOCALLIBS) @LDLIBS@ -lm @LDL@
+ LINK=@LINK@
+@@ -54,9 +54,9 @@
+ # without shared libs use LDFLAGS=-lm 
+ #LDLIBS= $(LOCALLIBS) -lm @LDL@
+ 
+-INSTALL_PROGRAM=$(INSTALL) 
+-INSTALL_DATA=$(INSTALL) -m 644
+-INSTALL_DIR=$(INSTALL) -d -m755     # or: mkdir -p
++INSTALL_PROGRAM=@INSTALL_PROGRAM@ 
++INSTALL_DATA=@INSTALL_DATA@
++INSTALL_DIR=mkdir -p
+ OBJEXT=o
+ EXEEXT=
+ OUTPUT=-o pstoedit
+@@ -68,7 +68,7 @@
+ #LOCALDEFINES=-DHAVE_LIBPLOTTER -I/path/to/plotter.h
+ # add -DOLD_LIBPLOTTER for libplot older than 2.3
+ LOCALDEFINES=@PLOTCOMPILEFLAGS@ @PNGCOMPILEFLAGS@
+-LOCALLIBS=-L/path/to/libplot @LPLOTTER@ @PNGLINKFLAGS@
++LOCALLIBS=@LIBS@ @LPLOTTER@ @PNGLINKFLAGS@
+ #############################################################
+ 
+ ## IRIX 5.3
diff -urN /usr/ports/graphics/pstoedit/pkg-plist graphics/pstoedit/pkg-plist
--- /usr/ports/graphics/pstoedit/pkg-plist	Thu Mar  9 19:02:47 2000
+++ graphics/pstoedit/pkg-plist	Sat Apr 14 08:31:18 2001
@@ -1,6 +1,7 @@
 bin/pstoedit
-lib/mpost.fmp
-share/doc/pstoedit/changelog.htm
-share/doc/pstoedit/index.htm
-share/doc/pstoedit/pstoedit.htm
-@dirrm share/doc/pstoedit
+share/pstoedit/latex2e.fmp
+share/pstoedit/mpost.fmp
+%%PORTDOCS%%share/doc/pstoedit/changelog.htm
+%%PORTDOCS%%share/doc/pstoedit/index.htm
+%%PORTDOCS%%share/doc/pstoedit/pstoedit.htm
+%%PORTDOCS%%@dirrm share/doc/pstoedit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104140113.f3E1DNN34199>