diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-01-10 09:19:34 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-01-10 09:19:34 +0000 |
commit | 66bcff22407fd8664f8d910697039a2b7d65b2ab (patch) | |
tree | 5a6aa0c1fa6e5cb9033d5731927a0966b8686be2 /devel/dia2code/Makefile | |
parent | e3712e56001280197f41568a3a451a3d132396d2 (diff) | |
download | ports-66bcff22407fd8664f8d910697039a2b7d65b2ab.tar.gz ports-66bcff22407fd8664f8d910697039a2b7d65b2ab.zip |
Notes
Diffstat (limited to 'devel/dia2code/Makefile')
-rw-r--r-- | devel/dia2code/Makefile | 18 |
1 files changed, 9 insertions, 9 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> |