summaryrefslogtreecommitdiffstats
path: root/devel/dia2code
diff options
context:
space:
mode:
Diffstat (limited to 'devel/dia2code')
-rw-r--r--devel/dia2code/Makefile14
-rw-r--r--devel/dia2code/distinfo2
-rw-r--r--devel/dia2code/files/patch-dia2code::Makefile.in17
3 files changed, 12 insertions, 21 deletions
diff --git a/devel/dia2code/Makefile b/devel/dia2code/Makefile
index 0f6d53b..c34abe8 100644
--- a/devel/dia2code/Makefile
+++ b/devel/dia2code/Makefile
@@ -7,21 +7,21 @@
#
PORTNAME= dia2code
-PORTVERSION= 0.5
+PORTVERSION= 0.6
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-MAINTAINER= ijliao@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
-LIB_DEPENDS= xml.5:${PORTSDIR}/textproc/libxml
+LIB_DEPENDS= xml2:${PORTSDIR}/textproc/libxml2 \
+ giconv:${PORTSDIR}/converters/libiconv
-USE_LIBTOOL= yes
-
-XML_CONFIG= ${LOCALBASE}/bin/xml-config
+GNU_CONFIGURE= yes
+XML_CONFIG= ${LOCALBASE}/bin/xml2-config
USE_GMAKE= yes
post-patch:
- @${PERL} -pi -e "s|%%XML_CONFIG%%|${XML_CONFIG}|g" ${WRKSRC}/dia2code/Makefile.in
+ @${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/dia2code/Makefile.in
.include <bsd.port.mk>
diff --git a/devel/dia2code/distinfo b/devel/dia2code/distinfo
index cebfbd1..4671085 100644
--- a/devel/dia2code/distinfo
+++ b/devel/dia2code/distinfo
@@ -1 +1 @@
-MD5 (dia2code-0.5.tar.gz) = 5cea69ebb58c3b5c262850a86cd98d9d
+MD5 (dia2code-0.6.tar.gz) = 4e92682e8c4a38702938138aec28d983
diff --git a/devel/dia2code/files/patch-dia2code::Makefile.in b/devel/dia2code/files/patch-dia2code::Makefile.in
index de86682..4ffcbc3 100644
--- a/devel/dia2code/files/patch-dia2code::Makefile.in
+++ b/devel/dia2code/files/patch-dia2code::Makefile.in
@@ -1,20 +1,11 @@
---- dia2code/Makefile.in.orig Wed Jan 24 04:43:08 2001
-+++ dia2code/Makefile.in Wed Mar 7 11:56:58 2001
-@@ -68,7 +68,7 @@
- ####### kdevelop will overwrite this part!!! (end)############
- bin_PROGRAMS = dia2code
- dia2code_SOURCES = scan_tree.c generate_code_c.c parse_diagram.c dia2code.c generate_code_java.c generate_code_cpp.c main.c
--dia2code_LDADD = -lxml
-+dia2code_LDADD = `%%XML_CONFIG%% --libs`
-
- SUBDIRS = docs
-
-@@ -79,7 +79,7 @@
+--- 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/usr/local/include
++DEFS = @DEFS@ -I. -I$(srcdir) -I.. -I%%LOCALBASE%%/include
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
OpenPOWER on IntegriCloud