Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Oct 2001 13:02:13 -0700 (PDT)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/31073: Update port: graphics/pstoedit to 3.30
Message-ID:  <200110052002.f95K2DK58660@freefall.freebsd.org>

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

>Number:         31073
>Category:       ports
>Synopsis:       Update port: graphics/pstoedit to 3.30
>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 Oct 05 13:10:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.4-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 3.30

New file:
files/patch-Makefile.in
files/patch-dynload.cpp


>How-To-Repeat:

>Fix:
diff -urN /usr/ports/graphics/pstoedit/Makefile graphics/pstoedit/Makefile
--- /usr/ports/graphics/pstoedit/Makefile	Tue Sep 18 18:08:17 2001
+++ graphics/pstoedit/Makefile	Fri Oct  5 03:15:58 2001
@@ -6,9 +6,9 @@
 #
 
 PORTNAME=	pstoedit
-PORTVERSION=	3.21
+PORTVERSION=	3.30
 CATEGORIES=	graphics print
-MASTER_SITES=	http://www.geocities.com/SiliconValley/Network/1958/pstoedit/
+MASTER_SITES=	http://home.t-online.de/home/helga.glunz/wglunz/pstoedit/
 DISTNAME=	${PORTNAME}_${PORTVERSION:S/./_/}
 
 MAINTAINER=	ports@FreeBSD.org
@@ -17,24 +17,22 @@
 LIB_DEPENDS=	plot.4:${PORTSDIR}/graphics/plotutils \
 		plotter.4:${PORTSDIR}/graphics/plotutils
 
+WRKSRC=		${WRKDIR}/${PORTNAME}_${PORTVERSION}/src
+
 USE_ZIP=		yes
-WRKSRC=		${WRKDIR}/pstoedit_${PORTVERSION}/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=${DATADIR}
 ALL_TARGET=	default
 
 MAN1=	pstoedit.1
 
-post-extract:
-	${CP} ${WRKSRC}/../config/* ${WRKSRC}
-
-.if !defined(NOPORTDOCS)
 post-install:
-	@${MKDIR} ${PREFIX}/share/doc/pstoedit
-	${INSTALL_DATA} ${WRKSRC}/../*.htm ${PREFIX}/share/doc/pstoedit
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/../*.htm ${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/graphics/pstoedit/distinfo graphics/pstoedit/distinfo
--- /usr/ports/graphics/pstoedit/distinfo	Fri Jun  8 20:55:07 2001
+++ graphics/pstoedit/distinfo	Fri Oct  5 02:29:03 2001
@@ -1 +1 @@
-MD5 (pstoedit_3_21.zip) = da439846a3a9eddce0d310d2ceaf4f45
+MD5 (pstoedit_3_30.zip) = cbdbc85209fbf5b4abf9c6bf2a03ae9c
diff -urN /usr/ports/graphics/pstoedit/files/patch-Makefile.in graphics/pstoedit/files/patch-Makefile.in
--- /usr/ports/graphics/pstoedit/files/patch-Makefile.in	Thu Jan  1 09:00:00 1970
+++ graphics/pstoedit/files/patch-Makefile.in	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/files/patch-dynload.cpp graphics/pstoedit/files/patch-dynload.cpp
--- /usr/ports/graphics/pstoedit/files/patch-dynload.cpp	Thu Jan  1 09:00:00 1970
+++ graphics/pstoedit/files/patch-dynload.cpp	Fri Oct  5 03:02:25 2001
@@ -0,0 +1,57 @@
+--- dynload.cpp.orig	Thu Aug  9 03:39:30 2001
++++ dynload.cpp	Fri Oct  5 03:02:16 2001
+@@ -24,7 +24,7 @@
+ 
+ // we need __linux instead of just linux since the latter is not defined when -ansi is used.
+ 
+-#if defined(__sparc) || defined(__linux) || defined(_WIN32) || defined(__OS2__)
++#if defined(__sparc) || defined(__linux) || defined(__FreeBSD__) || defined(_WIN32) || defined(__OS2__)
+ #define HAVESHAREDLIBS
+ #endif
+ 
+@@ -48,6 +48,8 @@
+ #include <dlfcn.h>
+ typedef void (*initfunctype) ();
+ //  static const char * const libsuffix = ".so";
++#elif defined(__FreeBSD__)
++#include <dlfcn.h>
+ #elif defined(__sparc)
+ #if defined(__SVR4)
+ #include <dlfcn.h>
+@@ -101,6 +103,9 @@
+ #if defined(__linux)
+ 	int loadmode = RTLD_LAZY;	// RTLD_NOW
+ 	handle = dlopen(fulllibname, loadmode);
++#elif defined(__FreeBSD__)
++	int loadmode = RTLD_LAZY;	// RTLD_NOW
++	handle = dlopen(fulllibname, loadmode);
+ #elif defined(__sparc)
+ 	int loadmode = RTLD_LAZY;	// RTLD_NOW
+ 	handle = dlopen(fulllibname, loadmode);
+@@ -136,6 +141,8 @@
+ 	if (handle) {
+ #if defined(__linux)
+ 		dlclose(handle);
++#elif defined(__FreeBSD__)
++		dlclose(handle);
+ #elif defined(__sparc)
+ 		dlclose(handle);
+ #elif defined(__OS2__)
+@@ -163,6 +170,8 @@
+ {
+ #if defined(__linux)
+ 	DynLoader::fptr rfptr = (DynLoader::fptr) dlsym(handle, name);	//lint !e611 //: Suspicious cast
++#elif defined(__FreeBSD__)
++	DynLoader::fptr rfptr = (DynLoader::fptr) dlsym(handle, name);	//lint !e611 //: Suspicious cast
+ #elif defined(__sparc)
+ 	DynLoader::fptr rfptr = (DynLoader::fptr) dlsym(handle, name);	//lint !e611 //: Suspicious cast
+ #elif defined(__OS2__)
+@@ -245,7 +254,7 @@
+ //          globalRp->explainformats(errstream);
+ }
+ 
+-#if defined(__linux) || defined(__sparc) || defined(__OS2__)
++#if defined(__linux) || defined(__sparc) || defined(__FreeBSD__) || defined(__OS2__)
+ // for directory search
+ #include <dirent.h>
+ 
diff -urN /usr/ports/graphics/pstoedit/pkg-descr graphics/pstoedit/pkg-descr
--- /usr/ports/graphics/pstoedit/pkg-descr	Thu Jul 16 15:35:29 1998
+++ graphics/pstoedit/pkg-descr	Fri Oct  5 02:30:12 2001
@@ -3,3 +3,5 @@
 
 Copyright (C) 1993,1994,1995,1996,1997
 Wolfgang Glunz, Wolfgang.Glunz@mchp.siemens.de
+
+WWW: http://pstoedit.net/pstoedit/
diff -urN /usr/ports/graphics/pstoedit/pkg-plist graphics/pstoedit/pkg-plist
--- /usr/ports/graphics/pstoedit/pkg-plist	Fri Jun  8 20:55:07 2001
+++ graphics/pstoedit/pkg-plist	Fri Oct  5 03:11:00 2001
@@ -1,7 +1,10 @@
 bin/pstoedit
-lib/latex2e.fmp
-lib/mpost.fmp
-share/doc/pstoedit/changelog.htm
-share/doc/pstoedit/index.htm
-share/doc/pstoedit/pstoedit.htm
-@dirrm share/doc/pstoedit
+%%PORTDOCS%%share/doc/pstoedit/changelog.htm
+%%PORTDOCS%%share/doc/pstoedit/index.htm
+%%PORTDOCS%%share/doc/pstoedit/pstoedit.htm
+share/pstoedit/latex2e.fmp
+share/pstoedit/mpost.fmp
+share/pstoedit/swffonts/default.fdb
+@dirrm share/pstoedit/swffonts
+@dirrm share/pstoedit
+%%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?200110052002.f95K2DK58660>