diff options
author | pat <pat@FreeBSD.org> | 2002-01-30 08:52:22 +0800 |
---|---|---|
committer | pat <pat@FreeBSD.org> | 2002-01-30 08:52:22 +0800 |
commit | 12cd4258c8fbe78747677f3c2dea1c76fc95225f (patch) | |
tree | cc8e7e17c01c9a9b9339f02794c3baf4385c2aea /devel/dia2code | |
parent | d2b5de938871f7dc8b0a71449ab402282d369346 (diff) | |
download | freebsd-ports-gnome-12cd4258c8fbe78747677f3c2dea1c76fc95225f.tar.gz freebsd-ports-gnome-12cd4258c8fbe78747677f3c2dea1c76fc95225f.tar.zst freebsd-ports-gnome-12cd4258c8fbe78747677f3c2dea1c76fc95225f.zip |
Update to 0.8.1 and reword pkg-comment
PR: 34377
Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'devel/dia2code')
-rw-r--r-- | devel/dia2code/Makefile | 20 | ||||
-rw-r--r-- | devel/dia2code/distinfo | 2 | ||||
-rw-r--r-- | devel/dia2code/files/patch-dia2code::Makefile.in | 11 | ||||
-rw-r--r-- | devel/dia2code/pkg-comment | 2 |
4 files changed, 15 insertions, 20 deletions
diff --git a/devel/dia2code/Makefile b/devel/dia2code/Makefile index 945e9d1202c8..de001f567b8e 100644 --- a/devel/dia2code/Makefile +++ b/devel/dia2code/Makefile @@ -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 --git a/devel/dia2code/distinfo b/devel/dia2code/distinfo index 837a32482e86..6ab4fd0d8d02 100644 --- a/devel/dia2code/distinfo +++ b/devel/dia2code/distinfo @@ -1 +1 @@ -MD5 (dia2code-0.7.tar.gz) = d23c6abfa2c8db106713f301f78ce3f9 +MD5 (dia2code-0.8.1.tar.gz) = 549eb4da412d92d779bcd3e65175064f diff --git a/devel/dia2code/files/patch-dia2code::Makefile.in b/devel/dia2code/files/patch-dia2code::Makefile.in deleted file mode 100644 index 4ffcbc3c5120..000000000000 --- a/devel/dia2code/files/patch-dia2code::Makefile.in +++ /dev/null @@ -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 --git a/devel/dia2code/pkg-comment b/devel/dia2code/pkg-comment index 3f4339dad70d..e295de877cdd 100644 --- a/devel/dia2code/pkg-comment +++ b/devel/dia2code/pkg-comment @@ -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 |