ports/162834: Update port: devel/dia2code to 0.8.4

KATO Tsuguru tkato432 at yahoo.com
Thu Nov 24 18:20:14 UTC 2011


>Number:         162834
>Category:       ports
>Synopsis:       Update port: devel/dia2code to 0.8.4
>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:   Thu Nov 24 18:20:14 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Update to version 0.8.4

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/devel/dia2code/Makefile devel/dia2code/Makefile
--- /usr/ports/devel/dia2code/Makefile	2011-09-24 13:25:01.000000000 +0900
+++ devel/dia2code/Makefile	2011-11-22 22:22:32.000000000 +0900
@@ -7,26 +7,32 @@
 #
 
 PORTNAME=	dia2code
-PORTVERSION=	0.8.3
+PORTVERSION=	0.8.4
 CATEGORIES=	devel
 MASTER_SITES=	SF
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	A small utility used to generate code from a Dia diagram
 
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 USE_GNOME=	libxml2
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
 MAKE_ARGS=	ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOHEADER="${TRUE}" \
 		AUTOMAKE="${TRUE}"
+MAKE_JOBS_SAFE=	yes
+
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
 
 MAN1=		dia2code.1
 PLIST_FILES=	bin/dia2code
 
 post-patch:
 	@${REINPLACE_CMD} -e '/<malloc.h>/d' ${WRKSRC}/dia2code/dia2code.h
+	@${REINPLACE_CMD} -e 's|ulong|unsigned long|' ${WRKSRC}/dia2code/source_parser.[ch]
 
 post-install:
 	${INSTALL_MAN} ${WRKSRC}/dia2code.1 ${MANPREFIX}/man/man1
diff -urN /usr/ports/devel/dia2code/distinfo devel/dia2code/distinfo
--- /usr/ports/devel/dia2code/distinfo	2011-07-04 01:57:17.000000000 +0900
+++ devel/dia2code/distinfo	2011-11-22 22:18:55.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (dia2code-0.8.3.tar.gz) = 60d7d9e61ce0fe997cbcd9901a35d0dac4346e11f092c8277151cd2a3bed11b4
-SIZE (dia2code-0.8.3.tar.gz) = 133043
+SHA256 (dia2code-0.8.4.tar.gz) = d4fc86d8d6e0894d81b82bbd96a40f9c07a65e8554f736245799745dff34feb2
+SIZE (dia2code-0.8.4.tar.gz) = 156221
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list