aboutsummaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2006-07-16 03:44:26 +0000
committerRong-En Fan <rafan@FreeBSD.org>2006-07-16 03:44:26 +0000
commit76a35922f9c546618d98614aa014a3b9935a9a56 (patch)
treeb3f3b714055fedfc26a36da89281cf6c4380263a /cad
parentcff94b9aa19787e94714beb2decf5550f94435c7 (diff)
downloadports-76a35922f9c546618d98614aa014a3b9935a9a56.tar.gz
ports-76a35922f9c546618d98614aa014a3b9935a9a56.zip
- FIx installdirs to address geda directory structure unification
- Fix comment - Fix portname - Bump PORTREVISION - Mark BROKEN on 4.x PR: ports/100226 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=167952
Diffstat (limited to 'cad')
-rw-r--r--cad/geda-symcheck/Makefile22
-rw-r--r--cad/geda-symcheck/files/patch-configure11
-rw-r--r--cad/geda-symcheck/pkg-plist10
3 files changed, 33 insertions, 10 deletions
diff --git a/cad/geda-symcheck/Makefile b/cad/geda-symcheck/Makefile
index f69b843113ca..930c4576f3a3 100644
--- a/cad/geda-symcheck/Makefile
+++ b/cad/geda-symcheck/Makefile
@@ -5,25 +5,37 @@
# $FreeBSD$
#
-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"
MAN1= gsymcheck.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-symcheck/files/patch-configure b/cad/geda-symcheck/files/patch-configure
new file mode 100644
index 000000000000..cc077fa8958e
--- /dev/null
+++ b/cad/geda-symcheck/files/patch-configure
@@ -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 --git a/cad/geda-symcheck/pkg-plist b/cad/geda-symcheck/pkg-plist
index a6dcd67e4e74..3d7fb98e86ce 100644
--- a/cad/geda-symcheck/pkg-plist
+++ b/cad/geda-symcheck/pkg-plist
@@ -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%%