aboutsummaryrefslogtreecommitdiffstats
path: root/devel/dia2code
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-01-10 17:19:34 +0800
committermiwi <miwi@FreeBSD.org>2007-01-10 17:19:34 +0800
commit3bbbb70c728b0bdab0f29a8aac64c78e5894de89 (patch)
treed6d74240f021d4f499b15c08e0560686fd595b48 /devel/dia2code
parent28f6230e7548b0252c2674750422de8b4215fde7 (diff)
downloadfreebsd-ports-gnome-3bbbb70c728b0bdab0f29a8aac64c78e5894de89.tar.gz
freebsd-ports-gnome-3bbbb70c728b0bdab0f29a8aac64c78e5894de89.tar.zst
freebsd-ports-gnome-3bbbb70c728b0bdab0f29a8aac64c78e5894de89.zip
- Update to 0.8.2
PR: 107628 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'devel/dia2code')
-rw-r--r--devel/dia2code/Makefile18
-rw-r--r--devel/dia2code/distinfo6
-rw-r--r--devel/dia2code/files/patch-aa13
3 files changed, 12 insertions, 25 deletions
diff --git a/devel/dia2code/Makefile b/devel/dia2code/Makefile
index bc6279f89bd4..69d10074aa2e 100644
--- a/devel/dia2code/Makefile
+++ b/devel/dia2code/Makefile
@@ -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 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
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 --git a/devel/dia2code/distinfo b/devel/dia2code/distinfo
index 7adf8f78ed27..9bdd867ef9fa 100644
--- a/devel/dia2code/distinfo
+++ b/devel/dia2code/distinfo
@@ -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 --git a/devel/dia2code/files/patch-aa b/devel/dia2code/files/patch-aa
deleted file mode 100644
index 8367d01fec9c..000000000000
--- a/devel/dia2code/files/patch-aa
+++ /dev/null
@@ -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"
-