aboutsummaryrefslogtreecommitdiff
path: root/cad/geda-gattrib
diff options
context:
space:
mode:
authorStanislav Sedov <stas@FreeBSD.org>2006-10-10 07:44:57 +0000
committerStanislav Sedov <stas@FreeBSD.org>2006-10-10 07:44:57 +0000
commit3451c7add339b059d0e33ea3fdd60844372a37b1 (patch)
treead3951f715281e14a8662d462798fa5ca5227a32 /cad/geda-gattrib
parent4dfd5ebf80189996fc945d11cb68a6d6d1d673d5 (diff)
downloadports-3451c7add339b059d0e33ea3fdd60844372a37b1.tar.gz
ports-3451c7add339b059d0e33ea3fdd60844372a37b1.zip
Notes
Diffstat (limited to 'cad/geda-gattrib')
-rw-r--r--cad/geda-gattrib/Makefile15
-rw-r--r--cad/geda-gattrib/distinfo6
-rw-r--r--cad/geda-gattrib/files/patch-configure11
-rw-r--r--cad/geda-gattrib/files/patch-src_Makefile.in11
4 files changed, 13 insertions, 30 deletions
diff --git a/cad/geda-gattrib/Makefile b/cad/geda-gattrib/Makefile
index f682af97fe28..da2a0184e5ca 100644
--- a/cad/geda-gattrib/Makefile
+++ b/cad/geda-gattrib/Makefile
@@ -6,8 +6,8 @@
#
PORTNAME= gattrib
-PORTVERSION= 20060123
-PORTREVISION= 1
+PORTVERSION= 20060906
+PORTREVISION= 0
CATEGORIES= cad
MASTER_SITES= ftp://ftp.geda.seul.org/pub/geda/devel/${PORTVERSION}/ \
http://geda.seul.org/devel/${PORTVERSION}/ \
@@ -15,18 +15,18 @@ MASTER_SITES= ftp://ftp.geda.seul.org/pub/geda/devel/${PORTVERSION}/ \
PKGNAMEPREFIX= geda-
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
-MAINTAINER= ssedov@mbsd.msk.ru
+MAINTAINER= stas@FreeBSD.org
COMMENT= The gEDA's attribute editor
RUN_DEPENDS= ${LOCALBASE}/share/geda/sym:${PORTSDIR}/cad/geda-symbols
-LIB_DEPENDS= geda.25:${PORTSDIR}/cad/libgeda
+LIB_DEPENDS= geda.26:${PORTSDIR}/cad/libgeda
DATADIR= ${PREFIX}/share/geda
DOCSDIR= ${PREFIX}/share/doc/geda
GNU_CONFIGURE= yes
USE_GNOME= gtk20
-CONFIGURE_ARGS= --with-docdir=${DOCSDIR}
+CONFIGURE_ARGS= --with-docdir=${DOCSDIR} --mandir=${PREFIX}/man
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
@@ -36,4 +36,9 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
BROKEN= does not compile on 4.x
.endif
+post-patch:
+ @${REINPLACE_CMD} -E \
+ -e "s,^(DATADIR[[:space:]]*=[[:space:]]*)gEDA,\1geda," \
+ ${WRKSRC}/configure
+
.include <bsd.port.post.mk>
diff --git a/cad/geda-gattrib/distinfo b/cad/geda-gattrib/distinfo
index 246dde86c76c..12263127a796 100644
--- a/cad/geda-gattrib/distinfo
+++ b/cad/geda-gattrib/distinfo
@@ -1,3 +1,3 @@
-MD5 (geda-gattrib-20060123.tar.gz) = 9b80848a7e746e127d9d2fc2a080b8cc
-SHA256 (geda-gattrib-20060123.tar.gz) = 495b9fbfa4013bed80032cb2fe25dad2308ea8fd83b361ac94cbdf245553355c
-SIZE (geda-gattrib-20060123.tar.gz) = 317978
+MD5 (geda-gattrib-20060906.tar.gz) = c6fdafcf6e9e0278105e73778b50c857
+SHA256 (geda-gattrib-20060906.tar.gz) = 71c76116dfcfbe7249c187715eaec0baaefd947fa6b6b7cb6829ca2f4d0ff6ff
+SIZE (geda-gattrib-20060906.tar.gz) = 276564
diff --git a/cad/geda-gattrib/files/patch-configure b/cad/geda-gattrib/files/patch-configure
deleted file mode 100644
index 16b4e1c44957..000000000000
--- a/cad/geda-gattrib/files/patch-configure
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.orig Thu Jul 13 20:40:21 2006
-+++ configure Thu Jul 13 20:40:31 2006
-@@ -5384,7 +5384,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-gattrib/files/patch-src_Makefile.in b/cad/geda-gattrib/files/patch-src_Makefile.in
deleted file mode 100644
index 1a632d81f37c..000000000000
--- a/cad/geda-gattrib/files/patch-src_Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/Makefile.in.orig Mon Jun 26 03:31:52 2006
-+++ src/Makefile.in Mon Jun 26 03:31:58 2006
-@@ -264,7 +264,7 @@
- COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
- CCLD = $(CC)
--LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-+LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ -lgeda
- DIST_SOURCES = $(am__gattrib_SOURCES_DIST)
- DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
- SOURCES = $(gattrib_SOURCES)