Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jan 2002 10:50:30 -0800 (PST)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/34377: Update port: devel/dia2code to 0.8.1
Message-ID:  <200201281850.g0SIoU098685@freefall.freebsd.org>

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

>Number:         34377
>Category:       ports
>Synopsis:       Update port: devel/dia2code to 0.8.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 28 11:00:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.4-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 0.8.1
- Fix pkg-comment

Remove file:
files/patch-dia2code::Makefile.in

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/devel/dia2code/Makefile devel/dia2code/Makefile
--- /usr/ports/devel/dia2code/Makefile	Fri Dec 28 16:23:19 2001
+++ devel/dia2code/Makefile	Sun Jan 27 22:39:57 2002
@@ -7,22 +7,28 @@
 #
 
 PORTNAME=	dia2code
-PORTVERSION=	0.7
+PORTVERSION=	0.8.1
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
 
 MAINTAINER=	ports@FreeBSD.org
 
-LIB_DEPENDS=	xml2:${PORTSDIR}/textproc/libxml2 \
-		giconv:${PORTSDIR}/converters/libiconv
+LIB_DEPENDS=	xml2.5:${PORTSDIR}/textproc/libxml2
 
-GNU_CONFIGURE=	yes
 XML_CONFIG=	${LOCALBASE}/bin/xml2-config
-USE_GMAKE=	yes
+
+GNU_CONFIGURE=	yes
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
+		LDFLAGS="-L${LOCALBASE}/lib" \
+		XML_CONFIG="${XML_CONFIG}"
+
+MAN1=		dia2code.1
 
 post-patch:
-	@${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/dia2code/Makefile.in
-	@${PERL} -pi -e "s|malloc.h|stdlib.h|g" ${WRKSRC}/dia2code/dia2code.h
+	@${PERL} -pi -e 's|#include <malloc.h>||' ${WRKSRC}/dia2code/dia2code.h
+
+post-install:
+	${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 Dec 28 16:23:19 2001
+++ devel/dia2code/distinfo	Sun Jan 27 22:17:12 2002
@@ -1 +1 @@
-MD5 (dia2code-0.7.tar.gz) = d23c6abfa2c8db106713f301f78ce3f9
+MD5 (dia2code-0.8.1.tar.gz) = 549eb4da412d92d779bcd3e65175064f
diff -urN /usr/ports/devel/dia2code/files/patch-dia2code::Makefile.in devel/dia2code/files/patch-dia2code::Makefile.in
--- /usr/ports/devel/dia2code/files/patch-dia2code::Makefile.in	Mon Sep 10 19:28:48 2001
+++ devel/dia2code/files/patch-dia2code::Makefile.in	Thu Jan  1 09:00:00 1970
@@ -1,11 +0,0 @@
---- dia2code/Makefile.in.orig	Sun Sep  9 19:17:51 2001
-+++ dia2code/Makefile.in	Sun Sep  9 19:18:16 2001
-@@ -82,7 +82,7 @@
- PROGRAMS =  $(bin_PROGRAMS)
- 
- 
--DEFS = @DEFS@ -I. -I$(srcdir) -I..
-+DEFS = @DEFS@ -I. -I$(srcdir) -I.. -I%%LOCALBASE%%/include
- CPPFLAGS = @CPPFLAGS@
- LDFLAGS = @LDFLAGS@
- LIBS = @LIBS@
diff -urN /usr/ports/devel/dia2code/pkg-comment devel/dia2code/pkg-comment
--- /usr/ports/devel/dia2code/pkg-comment	Wed Mar  7 13:17:23 2001
+++ devel/dia2code/pkg-comment	Sun Jan 27 22:24:43 2002
@@ -1 +1 @@
-Dia2Code is a small utility used to generate code from a Dia diagram
+A small utility used to generate code from a Dia diagram

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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