aboutsummaryrefslogtreecommitdiffstats
path: root/devel/dia2code
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-09-09 19:22:32 +0800
committerijliao <ijliao@FreeBSD.org>2001-09-09 19:22:32 +0800
commitd77b93aef2c6b76b9c9d74367b849b68ffc91c43 (patch)
tree7aeb43c320f43ec0c0b2bf89b02371d00a77a3e5 /devel/dia2code
parent6a62b2fa298151cb20e1705b62c40e1640651f9c (diff)
downloadfreebsd-ports-gnome-d77b93aef2c6b76b9c9d74367b849b68ffc91c43.tar.gz
freebsd-ports-gnome-d77b93aef2c6b76b9c9d74367b849b68ffc91c43.tar.zst
freebsd-ports-gnome-d77b93aef2c6b76b9c9d74367b849b68ffc91c43.zip
upgrade to 0.6
drop maintainership
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 0f6d53b705b9..c34abe89220e 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 cebfbd1b8a63..4671085e92af 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 de86682c5a27..4ffcbc3c5120 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@