Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Mar 2004 01:00:15 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/64852: Update port: cad/oregano
Message-ID:  <20040329010015.25936f55.tkato@prontomail.com>
Resent-Message-ID: <200403281610.i2SGAII9075398@freefall.freebsd.org>

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

>Number:         64852
>Category:       ports
>Synopsis:       Update port: cad/oregano
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 28 08:10:18 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.9-RELEASE-p4 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES and WWW: line
- Reaarange USE_GNOME
- Sort pkg-plist

Remove file:
files/patch-ltmain.sh

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/cad/oregano/Makefile cad/oregano/Makefile
--- /usr/ports/cad/oregano/Makefile	Thu Mar 25 13:18:38 2004
+++ cad/oregano/Makefile	Sun Mar 28 23:41:44 2004
@@ -7,26 +7,18 @@
 
 PORTNAME=	oregano
 PORTVERSION=	0.23
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	cad
-MASTER_SITES=	ftp://ftp.codefactory.se/pub/CodeFactory/software/oregano/
+MASTER_SITES=	http://people.imendio.com/richard/oregano/download/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Schematic capture and simulation of electrical circuits
 
-USE_GMAKE=	yes
 USE_X_PREFIX=	yes
-USE_GNOME=	yes
-USE_REINPLACE=	yes
-GNU_CONFIGURE=	yes
+USE_GNOME=	gnomehack gnomeprefix gnomeprint libglade
+USE_GMAKE=	yes
+USE_LIBTOOL_VER=	13
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
-		LIBS="-L${LOCALBASE}/lib"
-
-pre-patch:
-	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
-		s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
-	@${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \
-		's|\(\$$(datadir)/\)gnome/|\1|g ; \
-		s|\$$(datadir)/locale|$$(prefix)/share/locale|g'
+		LDFLAGS="-L${LOCALBASE}/lib"
 
 .include <bsd.port.mk>
diff -urN /usr/ports/cad/oregano/files/patch-ltmain.sh cad/oregano/files/patch-ltmain.sh
--- /usr/ports/cad/oregano/files/patch-ltmain.sh	Wed Jan 23 01:31:58 2002
+++ cad/oregano/files/patch-ltmain.sh	Thu Jan  1 09:00:00 1970
@@ -1,25 +0,0 @@
---- ltmain.sh.orig	Thu Dec 13 19:09:47 2001
-+++ ltmain.sh	Wed Jan 23 01:14:10 2002
-@@ -2412,6 +2412,9 @@
- 	  *-*-netbsd*)
- 	    # Don't link with libc until the a.out ld.so is fixed.
- 	    ;;
-+	  *-*-freebsd*)
-+	    # FreeBSD doesn't need this...
-+	    ;;
- 	  *)
- 	    # Add libc to deplibs on all other systems if necessary.
- 	    if test "$build_libtool_need_lc" = "yes"; then
-@@ -4179,10 +4182,12 @@
- 	fi
- 
- 	# Install the pseudo-library for information purposes.
-+	 if /usr/bin/false; then
- 	name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
- 	instname="$dir/$name"i
- 	$show "$install_prog $instname $destdir/$name"
- 	$run eval "$install_prog $instname $destdir/$name" || exit $?
-+	 fi
- 
- 	# Maybe install the static library, too.
- 	test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff -urN /usr/ports/cad/oregano/pkg-descr cad/oregano/pkg-descr
--- /usr/ports/cad/oregano/pkg-descr	Wed Mar  7 20:00:31 2001
+++ cad/oregano/pkg-descr	Sun Mar 28 23:51:26 2004
@@ -1,6 +1,5 @@
-Oregano is a tool for schematic capture and simulation
-of electrical circuits. It simplifies design of simple circuits
-by letting the user draw the circuit and then simulate its
-electrical characteristics.
+Oregano is a tool for schematic capture and simulation of electrical
+circuits.  It simplifies design of simple circuits by letting the user
+draw the circuit and then simulate its electrical characteristics.
 
-WWW: http://oregano.codefactory.se/
+WWW: http://people.imendio.com/richard/oregano/
diff -urN /usr/ports/cad/oregano/pkg-plist cad/oregano/pkg-plist
--- /usr/ports/cad/oregano/pkg-plist	Wed Jan 23 01:31:58 2002
+++ cad/oregano/pkg-plist	Sun Mar 28 23:45:39 2004
@@ -1,21 +1,21 @@
 bin/oregano
 bin/pspice2oregano
+share/gnome/apps/Applications/oregano.desktop
+share/gnome/help/oregano/C/editing.html
+share/gnome/help/oregano/C/oregano.html
+share/gnome/help/oregano/C/simulation.html
+share/gnome/help/oregano/C/topic.dat
+share/gnome/mime-info/oregano.keys
+share/gnome/mime-info/oregano.mime
+share/gnome/oregano/glade/log-window.glade
 share/gnome/oregano/glade/part-browser.glade
-share/gnome/oregano/glade/settings.glade
-share/gnome/oregano/glade/sim-settings.glade
 share/gnome/oregano/glade/part-properties-dialog.glade
-share/gnome/oregano/glade/textbox-properties-dialog.glade
 share/gnome/oregano/glade/plot-window.glade
-share/gnome/oregano/glade/log-window.glade
+share/gnome/oregano/glade/settings.glade
+share/gnome/oregano/glade/sim-settings.glade
 share/gnome/oregano/glade/simulation.glade
 share/gnome/oregano/glade/summary.glade
-share/gnome/oregano/samples/12ax7a.oregano
-share/gnome/oregano/samples/741.oregano
-share/gnome/oregano/samples/opamp.oregano
-share/gnome/oregano/samples/zener.oregano
-share/gnome/oregano/samples/555.oregano
-share/gnome/oregano/samples/OP177B.oregano
-share/gnome/oregano/samples/transistors.oregano
+share/gnome/oregano/glade/textbox-properties-dialog.glade
 share/gnome/oregano/libraries/cmos.oreglib
 share/gnome/oregano/libraries/cpu.oreglib
 share/gnome/oregano/libraries/default.oreglib
@@ -28,18 +28,18 @@
 share/gnome/oregano/libraries/power.oreglib
 share/gnome/oregano/libraries/ttl.oreglib
 share/gnome/oregano/models/12AX7A.model
-share/gnome/oregano/models/TLC555.model
-share/gnome/oregano/models/UA741.model
 share/gnome/oregano/models/1N750.model
-share/gnome/oregano/models/PNP.model
 share/gnome/oregano/models/NPN.model
-share/gnome/help/oregano/C/topic.dat
-share/gnome/help/oregano/C/oregano.html
-share/gnome/help/oregano/C/editing.html
-share/gnome/help/oregano/C/simulation.html
-share/gnome/apps/Applications/oregano.desktop
-share/gnome/mime-info/oregano.keys
-share/gnome/mime-info/oregano.mime
+share/gnome/oregano/models/PNP.model
+share/gnome/oregano/models/TLC555.model
+share/gnome/oregano/models/UA741.model
+share/gnome/oregano/samples/12ax7a.oregano
+share/gnome/oregano/samples/555.oregano
+share/gnome/oregano/samples/741.oregano
+share/gnome/oregano/samples/OP177B.oregano
+share/gnome/oregano/samples/opamp.oregano
+share/gnome/oregano/samples/transistors.oregano
+share/gnome/oregano/samples/zener.oregano
 share/gnome/pixmaps/gnome-oregano.png
 share/locale/ca/LC_MESSAGES/oregano.mo
 share/locale/de/LC_MESSAGES/oregano.mo
@@ -51,10 +51,10 @@
 share/locale/ro/LC_MESSAGES/oregano.mo
 share/locale/ru/LC_MESSAGES/oregano.mo
 share/locale/sv/LC_MESSAGES/oregano.mo
-@dirrm share/gnome/oregano/glade
 @dirrm share/gnome/oregano/samples
-@dirrm share/gnome/oregano/libraries
 @dirrm share/gnome/oregano/models
+@dirrm share/gnome/oregano/libraries
+@dirrm share/gnome/oregano/glade
 @dirrm share/gnome/oregano
 @dirrm share/gnome/help/oregano/C
 @dirrm share/gnome/help/oregano
>Release-Note:
>Audit-Trail:
>Unformatted:



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