aboutsummaryrefslogtreecommitdiff
path: root/cad/geda-utils
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2006-07-16 03:38:24 +0000
committerRong-En Fan <rafan@FreeBSD.org>2006-07-16 03:38:24 +0000
commit792c426b0bad54e8515296b7a8921d055c54f6b8 (patch)
treee561a5a4839578baeb86644bfc82fe6babb8b27a /cad/geda-utils
parent35b04741b516179263ab00d5e1806f12a96e7d97 (diff)
downloadports-792c426b0bad54e8515296b7a8921d055c54f6b8.tar.gz
ports-792c426b0bad54e8515296b7a8921d055c54f6b8.zip
Notes
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%%