1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

Update to 0.8.1 and reword pkg-comment

PR:		34377
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
This commit is contained in:
Patrick Li 2002-01-30 00:52:22 +00:00
parent 14d9502fdc
commit 67a0a6b9d5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=53997
4 changed files with 15 additions and 20 deletions

View File

@ -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
XML_CONFIG= ${LOCALBASE}/bin/xml2-config
GNU_CONFIGURE= yes
XML_CONFIG= ${LOCALBASE}/bin/xml2-config
USE_GMAKE= 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>

View File

@ -1 +1 @@
MD5 (dia2code-0.7.tar.gz) = d23c6abfa2c8db106713f301f78ce3f9
MD5 (dia2code-0.8.1.tar.gz) = 549eb4da412d92d779bcd3e65175064f

View File

@ -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@

View File

@ -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