summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/dia2code/Makefile12
-rw-r--r--devel/dia2code/distinfo4
2 files changed, 11 insertions, 5 deletions
diff --git a/devel/dia2code/Makefile b/devel/dia2code/Makefile
index 8b15ffd20d1c..6536738264c4 100644
--- a/devel/dia2code/Makefile
+++ b/devel/dia2code/Makefile
@@ -7,26 +7,32 @@
#
PORTNAME= dia2code
-PORTVERSION= 0.8.3
+PORTVERSION= 0.8.4
CATEGORIES= devel
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= A small utility used to generate code from a Dia diagram
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
USE_GNOME= libxml2
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOHEADER="${TRUE}" \
AUTOMAKE="${TRUE}"
+MAKE_JOBS_SAFE= yes
+
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
MAN1= dia2code.1
PLIST_FILES= bin/dia2code
post-patch:
@${REINPLACE_CMD} -e '/<malloc.h>/d' ${WRKSRC}/dia2code/dia2code.h
+ @${REINPLACE_CMD} -e 's|ulong|unsigned long|' ${WRKSRC}/dia2code/source_parser.[ch]
post-install:
${INSTALL_MAN} ${WRKSRC}/dia2code.1 ${MANPREFIX}/man/man1
diff --git a/devel/dia2code/distinfo b/devel/dia2code/distinfo
index 781b151cb535..8c06c9f91eca 100644
--- a/devel/dia2code/distinfo
+++ b/devel/dia2code/distinfo
@@ -1,2 +1,2 @@
-SHA256 (dia2code-0.8.3.tar.gz) = 60d7d9e61ce0fe997cbcd9901a35d0dac4346e11f092c8277151cd2a3bed11b4
-SIZE (dia2code-0.8.3.tar.gz) = 133043
+SHA256 (dia2code-0.8.4.tar.gz) = d4fc86d8d6e0894d81b82bbd96a40f9c07a65e8554f736245799745dff34feb2
+SIZE (dia2code-0.8.4.tar.gz) = 156221