Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jul 2002 14:03:29 -0700 (PDT)
From:      bruno schwander <bruno@mail.tinkerbox.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/40708: new port: gerbv
Message-ID:  <200207172103.g6HL3TMI046473@duron.bschwand.net>

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

>Number:         40708
>Category:       ports
>Synopsis:       new port: gerbv
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 17 14:10:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     bruno schwander
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
tinkerbox.org
>Environment:
System: FreeBSD duron.bschwand.net 4.6-STABLE FreeBSD 4.6-STABLE #0: Tue Jul 2 17:45:51 PDT 2002 root@duron.bschwand.net:/usr/obj/usr/src/sys/MYKERNEL i386


>Description:
	gerbv is a gtk GERBER file viewer
>How-To-Repeat:

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	gerbv/
#	gerbv/pkg-comment
#	gerbv/pkg-descr
#	gerbv/pkg-plist
#	gerbv/Makefile
#	gerbv/distinfo
#	gerbv/files
#	gerbv/files/patch-aa
#
echo c - gerbv/
mkdir -p gerbv/ > /dev/null 2>&1
echo x - gerbv/pkg-comment
sed 's/^X//' >gerbv/pkg-comment << 'END-of-gerbv/pkg-comment'
XGERBER (rs274X) files viewer
END-of-gerbv/pkg-comment
echo x - gerbv/pkg-descr
sed 's/^X//' >gerbv/pkg-descr << 'END-of-gerbv/pkg-descr'
XGERBER (rs274X) file viewer. This is a format used for pcb and CNC design
X
XWWW: http://gerbv.sourceforge.net/
END-of-gerbv/pkg-descr
echo x - gerbv/pkg-plist
sed 's/^X//' >gerbv/pkg-plist << 'END-of-gerbv/pkg-plist'
Xbin/gerbv
Xshare/gerbv/scheme/gerb-ps.scm
Xshare/gerbv/scheme/gerb-debug.scm
X@dirrm share/gerbv/scheme
X@dirrm share/gerbv
X
END-of-gerbv/pkg-plist
echo x - gerbv/Makefile
sed 's/^X//' >gerbv/Makefile << 'END-of-gerbv/Makefile'
X# New ports collection makefile for:	libgeda
X# Date created:			4 April 2001
X# Whom:				bruno schwander <bruno@tinkerbox.org>
X#
X# $FreeBSD: ports/cad/libgeda/Makefile,v 1.3 2002/03/10 03:42:23 ijliao Exp $
X#
X
XPORTNAME=	gerbv
XPORTVERSION=	0.0.9
XCATEGORIES=	cad
XMASTER_SITES=	http://telia.dl.sourceforge.net/sourceforge/gerbv/	\
X		http://unc.dl.sourceforge.net/sourceforge/gerbv/	\
X		http://www.tinkerbox.org/projects/files/gerbv/
X
XMAINTAINER=	bruno@tinkerbox.org
X
XLIB_DEPENDS=	gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf		\
X		png.5:${PORTSDIR}/graphics/png				\
X		gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
X
XUSE_AUTOCONF=	yes
XUSE_GTK=	yes
XINSTALLS_SHLIB=	yes
XUSE_GMAKE=	yes
X
XGNU_CONFIGURE=  yes
XCONFIGURE_ARGS=	--enable-exportpng
XCONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
X		LIBS="-L${LOCALBASE}/lib"
X
XMAN1=		gerbv.1
X
X.include <bsd.port.mk>
END-of-gerbv/Makefile
echo x - gerbv/distinfo
sed 's/^X//' >gerbv/distinfo << 'END-of-gerbv/distinfo'
XMD5 (gerbv-0.0.9.tar.gz) = 03e12f685f9b2d66158cda6c51cbe3e8
END-of-gerbv/distinfo
echo c - gerbv/files
mkdir -p gerbv/files > /dev/null 2>&1
echo x - gerbv/files/patch-aa
sed 's/^X//' >gerbv/files/patch-aa << 'END-of-gerbv/files/patch-aa'
X--- configure.in.orig	Sat Jul  6 06:24:44 2002
X+++ configure.in	Wed Jul 10 16:02:08 2002
X@@ -85,8 +85,29 @@
X 	GUILE_LDFLAGS=
X fi
X 
X-dnl GTK+ stuff
X-AM_PATH_GTK(1.2.3, ,AC_MSG_ERROR([*** GTK+ >= 1.2.3 not installed - please install first ***]))
X+dnl Change default location of gtk-config
X+AC_ARG_WITH(gtk-config, [  --with-gtk-config=path  Change where gtk-config is lo
X+cated], [opt_gtkconfig=$withval])
X+
X+if eval "test x$opt_gtkconfig != x" ; then
X+
X+        if test ! -r "$opt_gtkconfig"; then
X+
X+                AC_MSG_ERROR(Cannot find $opt_gtkconfig -- be sure that this pathname is correct)
X+
X+        else
X+                GTK_CONFIG=$opt_gtkconfig
X+        fi
X+else
X+        AM_PATH_GTK(1.2.3,,AC_MSG_ERROR([*** GTK+ >= 1.2.3 not installed - please install first ***]))
X+fi
X+
X+if test $GTK_CONFIG = "no"; then
X+        AC_MSG_ERROR(Cannot find gtk-config -- be sure that gtk >= 0.99.7 is installed)
X+fi
X+
X+GTK_LIBS="`$GTK_CONFIG --libs`"
X+GTK_CFLAGS="`$GTK_CONFIG --cflags`"
X 
X dnl Why do I have to set prefix?
X if eval "test x$prefix = xNONE"; then
END-of-gerbv/files/patch-aa
exit




>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?200207172103.g6HL3TMI046473>