aboutsummaryrefslogtreecommitdiffstats
path: root/cad/geda-utils
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2006-07-16 11:38:24 +0800
committerrafan <rafan@FreeBSD.org>2006-07-16 11:38:24 +0800
commit5651a273470633a3cc063570cff9cbd3db8f2400 (patch)
treebefbffc1d10025153d72b0bae1047c25a92fb375 /cad/geda-utils
parentc6a030fe0c78eed4fe0e64c131183efe92baabe4 (diff)
downloadfreebsd-ports-gnome-5651a273470633a3cc063570cff9cbd3db8f2400.tar.gz
freebsd-ports-gnome-5651a273470633a3cc063570cff9cbd3db8f2400.tar.zst
freebsd-ports-gnome-5651a273470633a3cc063570cff9cbd3db8f2400.zip
- Fix installdirs to address geda directory structure unification
- Fix PORTNAME - Fix comment - Update pkg-descr - Bump PORTREVISION - Mark BROKEN on 4.x PR: ports/100231 Submitted by: maintainer
Diffstat (limited to 'cad/geda-utils')
-rw-r--r--cad/geda-utils/Makefile21
-rw-r--r--cad/geda-utils/files/patch-configure11
-rw-r--r--cad/geda-utils/pkg-descr2
-rw-r--r--cad/geda-utils/pkg-plist18
4 files changed, 38 insertions, 14 deletions
diff --git a/cad/geda-utils/Makefile b/cad/geda-utils/Makefile
index 4c7d9610a155..f199f7f27274 100644
--- a/cad/geda-utils/Makefile
+++ b/cad/geda-utils/Makefile
@@ -5,25 +5,38 @@
# $FreeBSD$
#
-PORTNAME= geda-utils
+PORTNAME= utils
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/
+PKGNAMEPREFIX= geda-
+DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
MAINTAINER= ssedov@mbsd.msk.ru
-COMMENT= gEDA utilities
+COMMENT= The gEDA's utilities
-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_GMAKE= yes
USE_GNOME= gtk20
+CONFIGURE_ARGS= --with-docdir=${DOCSDIR}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MAN1= grenum.1
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= does not compile on 4.x
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/cad/geda-utils/files/patch-configure b/cad/geda-utils/files/patch-configure
new file mode 100644
index 000000000000..2b2e2765a108
--- /dev/null
+++ b/cad/geda-utils/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Thu Jul 13 19:58:56 2006
++++ configure Thu Jul 13 19:59:21 2006
+@@ -5859,7 +5859,7 @@
+ # gEDA/gaf specify setup start
+ #
+
+-DATADIR=gEDA
++DATADIR=geda
+ GEDADATADIR=$datadir/$DATADIR
+
+ if eval "test x$opt_rcdir = x"; then
diff --git a/cad/geda-utils/pkg-descr b/cad/geda-utils/pkg-descr
index 3319c98b76d8..ea9701d97673 100644
--- a/cad/geda-utils/pkg-descr
+++ b/cad/geda-utils/pkg-descr
@@ -1,3 +1,3 @@
-gEDA utilties - gschupdate, gsymupdate
+Various supplementary utilities for gEDA system.
WWW: http://www.geda.seul.org
diff --git a/cad/geda-utils/pkg-plist b/cad/geda-utils/pkg-plist
index 7eda6a07f637..9ceca8d947a8 100644
--- a/cad/geda-utils/pkg-plist
+++ b/cad/geda-utils/pkg-plist
@@ -1,6 +1,6 @@
-bin/gmk_sym
bin/convert_sym
bin/garchive
+bin/gmk_sym
bin/grenum
bin/gsch2pcb
bin/gschemdoc
@@ -15,11 +15,11 @@ bin/sarlacc_schem
bin/sarlacc_sym
bin/smash_megafile
bin/tragesym
-share/doc/geda-doc/readmes/README.grenum
-share/doc/geda-doc/readmes/README.gsch2pcb
-share/doc/geda-doc/readmes/README.olib
-share/doc/geda-doc/readmes/README.tragesym
-share/gEDA/system-gschlasrc
-@dirrmtry share/gEDA
-@dirrmtry share/doc/geda-doc/readmes
-@dirrmtry share/doc/geda-doc
+%%DOCSDIR%%/readmes/README.grenum
+%%DOCSDIR%%/readmes/README.gsch2pcb
+%%DOCSDIR%%/readmes/README.olib
+%%DOCSDIR%%/readmes/README.tragesym
+%%DATADIR%%/system-gschlasrc
+@dirrmtry %%DATADIR%%
+@dirrmtry %%DOCSDIR%%/readmes
+@dirrmtry %%DOCSDIR%%