Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jul 2006 20:32:09 +0400 (MSD)
From:      Stanislav Sedov <ssedov@mbsd.msk.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/100226: [MAINTAINER PATCH] cad/geda-symcheck: fix installdirs, cleanup
Message-ID:  <20060713163209.9F590123EE@fonon.realnet>
Resent-Message-ID: <200607131820.k6DIKUlp099246@freefall.freebsd.org>

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

>Number:         100226
>Category:       ports
>Synopsis:       [MAINTAINER PATCH] cad/geda-symcheck: fix installdirs, cleanup
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 13 18:20:27 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Stanislav Sedov
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
MBSD labs, Inc.
>Environment:
System: FreeBSD fonon.realnet 7.0-CURRENT FreeBSD 7.0-CURRENT #7: Sun Jun 18 20:51:36 MSD 2006
>Description:
 - FIx installdirs to address geda directory structure unification
 - Fix comment
 - Fix portname

Added file(s):
- files/patch-configure

Note: this also depends on libgeda and geda-symbols PRs
>How-To-Repeat:
>Fix:

--- geda-symcheck-20060123_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/cad/geda-symcheck/Makefile /var/tmp/work2/geda-symcheck/Makefile
--- /usr/ports/cad/geda-symcheck/Makefile	Wed Jun 28 11:51:26 2006
+++ /var/tmp/work2/geda-symcheck/Makefile	Thu Jul 13 20:27:50 2006
@@ -5,22 +5,28 @@
 # $FreeBSD: ports/cad/geda-symcheck/Makefile,v 1.13 2006/06/28 07:51:26 pav Exp $
 #
 
-PORTNAME=	gsymcheck
+PORTNAME=	symcheck
 PORTVERSION=	20060123
+PORTREVISION=	1
 CATEGORIES=	cad
 MASTER_SITES=	ftp://ftp.geda.seul.org/pub/geda/devel/${PORTVERSION}/ \
 		http://geda.seul.org/devel/${PORTVERSION}/ \
 		http://www.tinkerbox.org/projects/files/gEDA/
-DISTNAME=	geda-${PORTNAME}-${PORTVERSION}
+PKGNAMEPREFIX=	geda-
+DISTNAME=	${PKGNAMEPREFIX}g${PORTNAME}-${PORTVERSION}
 
 MAINTAINER=	ssedov@mbsd.msk.ru
-COMMENT=	gEDA symbol checking utility
+COMMENT=	The gEDA's symbol checking utility
 
-RUN_DEPENDS=	${LOCALBASE}/share/gEDA/sym:${PORTSDIR}/cad/geda-symbols
+RUN_DEPENDS=	${LOCALBASE}/share/geda/sym:${PORTSDIR}/cad/geda-symbols
 LIB_DEPENDS=	geda.25:${PORTSDIR}/cad/libgeda
 
+DOCSDIR=	${PREFIX}/share/doc/geda
+DATADIR=	${PREFIX}/share/geda
+
 GNU_CONFIGURE=	yes
 USE_GNOME=	gtk20
+CONFIGURE_ARGS=	--with-docdir=${DOCSDIR}
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib"
 
diff -ruN --exclude=CVS /usr/ports/cad/geda-symcheck/files/patch-configure /var/tmp/work2/geda-symcheck/files/patch-configure
--- /usr/ports/cad/geda-symcheck/files/patch-configure	Thu Jan  1 03:00:00 1970
+++ /var/tmp/work2/geda-symcheck/files/patch-configure	Thu Jul 13 20:24:53 2006
@@ -0,0 +1,11 @@
+--- configure.orig	Thu Jul 13 13:20:31 2006
++++ configure	Thu Jul 13 13:20:50 2006
+@@ -5007,7 +5007,7 @@
+ # gEDA/gaf specify setup start
+ #
+ 
+-DATADIR=gEDA
++DATADIR=geda
+ GEDADATADIR=$datadir/$DATADIR
+ 
+ if eval "test x$opt_rcdir = x"; then
diff -ruN --exclude=CVS /usr/ports/cad/geda-symcheck/pkg-plist /var/tmp/work2/geda-symcheck/pkg-plist
--- /usr/ports/cad/geda-symcheck/pkg-plist	Tue Jun 27 02:07:07 2006
+++ /var/tmp/work2/geda-symcheck/pkg-plist	Thu Jul 13 20:29:51 2006
@@ -1,6 +1,6 @@
 bin/gsymcheck
-share/doc/geda-doc/man/gsymcheck.html
-share/gEDA/system-gsymcheckrc
-@dirrmtry share/gEDA
-@dirrmtry share/doc/geda-doc/man
-@dirrmtry share/doc/geda-doc
+%%DOCSDIR%%/man/gsymcheck.html
+%%DATADIR%%/system-gsymcheckrc
+@dirrmtry %%DATADIR%%
+@dirrmtry %%DOCSDIR%%/man
+@dirrmtry %%DOCSDIR%%
--- geda-symcheck-20060123_1.patch ends here ---

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



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