Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Jan 2007 04:00:07 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/107628: Update port: devel/dia2code to 0.8.2
Message-ID:  <20070107040007.181b236f.tkato432@yahoo.com>
Resent-Message-ID: <200701061920.l06JKDvA061049@freefall.freebsd.org>

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

>Number:         107628
>Category:       ports
>Synopsis:       Update port: devel/dia2code to 0.8.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 06 19:20:13 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE-p26 i386
>Organization:
>Environment:
>Description:
- Update to version 0.8.2

Remove file:
files/patch-aa

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/devel/dia2code/Makefile devel/dia2code/Makefile
--- /usr/ports/devel/dia2code/Makefile	Fri May  5 11:07:09 2006
+++ devel/dia2code/Makefile	Thu Jan  4 22:41:49 2007
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	dia2code
-PORTVERSION=	0.8.1
+PORTVERSION=	0.8.2
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -15,22 +15,22 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	A small utility used to generate code from a Dia diagram
 
-LIB_DEPENDS=	xml2.5:${PORTSDIR}/textproc/libxml2
-
-XML_CONFIG=	${LOCALBASE}/bin/xml2-config
-
+USE_GNOME=	gnometarget libxml2
+USE_GCC=	3.4+
+USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
-		LDFLAGS="-L${LOCALBASE}/lib" \
-		XML_CONFIG="${XML_CONFIG}"
+		LDFLAGS="-L${LOCALBASE}/lib"
+MAKE_ARGS=	ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOHEADER="${TRUE}" \
+		AUTOMAKE="${TRUE}"
 
 MAN1=		dia2code.1
 PLIST_FILES=	bin/dia2code
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|#include <malloc.h>||' ${WRKSRC}/dia2code/dia2code.h
+	@${REINPLACE_CMD} -e '/<malloc.h>/d' ${WRKSRC}/dia2code/dia2code.h
 
 post-install:
-	@${INSTALL_MAN} ${WRKSRC}/dia2code.1 ${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/dia2code.1 ${MANPREFIX}/man/man1
 
 .include <bsd.port.mk>
diff -urN /usr/ports/devel/dia2code/distinfo devel/dia2code/distinfo
--- /usr/ports/devel/dia2code/distinfo	Fri Nov 25 13:31:53 2005
+++ devel/dia2code/distinfo	Thu Jan  4 22:35:53 2007
@@ -1,3 +1,3 @@
-MD5 (dia2code-0.8.1.tar.gz) = 549eb4da412d92d779bcd3e65175064f
-SHA256 (dia2code-0.8.1.tar.gz) = af4a086753558ff5af436c3c1e870703cf455831517cd43ac3dacb7d6c0205a3
-SIZE (dia2code-0.8.1.tar.gz) = 71453
+MD5 (dia2code-0.8.2.tar.gz) = 59672747f1dfa05eea5813346891e935
+SHA256 (dia2code-0.8.2.tar.gz) = 687164ac248772458350dbd75fd6d9b336cbd946724843453104a130521e477b
+SIZE (dia2code-0.8.2.tar.gz) = 127307
diff -urN /usr/ports/devel/dia2code/files/patch-aa devel/dia2code/files/patch-aa
--- /usr/ports/devel/dia2code/files/patch-aa	Sun Mar 31 14:33:56 2002
+++ devel/dia2code/files/patch-aa	Thu Jan  1 09:00:00 1970
@@ -1,13 +0,0 @@
---- ./dia2code/dia2code.h.orig	Sat Mar 30 21:36:07 2002
-+++ ./dia2code/dia2code.h	Sat Mar 30 21:36:30 2002
-@@ -25,8 +25,8 @@
- #include <stdlib.h>
- 
- /* libxml[2] headers */
--#include <parser.h>
--#include <tree.h>
-+#include <libxml2/libxml/parser.h>
-+#include <libxml2/libxml/tree.h>
- 
- #define VERSION "0.8.1"
- 
>Release-Note:
>Audit-Trail:
>Unformatted:



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