View | Details | Raw Unified | Return to bug 162834
Collapse All | Expand All

(-)devel/dia2code/Makefile (-3 / +9 lines)
Lines 7-32 Link Here
7
#
7
#
8
8
9
PORTNAME=	dia2code
9
PORTNAME=	dia2code
10
PORTVERSION=	0.8.3
10
PORTVERSION=	0.8.4
11
CATEGORIES=	devel
11
CATEGORIES=	devel
12
MASTER_SITES=	SF
12
MASTER_SITES=	SF
13
13
14
MAINTAINER=	ports@FreeBSD.org
14
MAINTAINER=	ports@FreeBSD.org
15
COMMENT=	A small utility used to generate code from a Dia diagram
15
COMMENT=	A small utility used to generate code from a Dia diagram
16
16
17
LICENSE=	GPLv2
18
LICENSE_FILE=	${WRKSRC}/COPYING
19
17
USE_GNOME=	libxml2
20
USE_GNOME=	libxml2
18
USE_GMAKE=	yes
21
USE_GMAKE=	yes
19
GNU_CONFIGURE=	yes
22
GNU_CONFIGURE=	yes
20
CPPFLAGS+=	-I${LOCALBASE}/include
21
LDFLAGS+=	-L${LOCALBASE}/lib
22
MAKE_ARGS=	ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOHEADER="${TRUE}" \
23
MAKE_ARGS=	ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOHEADER="${TRUE}" \
23
		AUTOMAKE="${TRUE}"
24
		AUTOMAKE="${TRUE}"
25
MAKE_JOBS_SAFE=	yes
26
27
CPPFLAGS+=	-I${LOCALBASE}/include
28
LDFLAGS+=	-L${LOCALBASE}/lib
24
29
25
MAN1=		dia2code.1
30
MAN1=		dia2code.1
26
PLIST_FILES=	bin/dia2code
31
PLIST_FILES=	bin/dia2code
27
32
28
post-patch:
33
post-patch:
29
	@${REINPLACE_CMD} -e '/<malloc.h>/d' ${WRKSRC}/dia2code/dia2code.h
34
	@${REINPLACE_CMD} -e '/<malloc.h>/d' ${WRKSRC}/dia2code/dia2code.h
35
	@${REINPLACE_CMD} -e 's|ulong|unsigned long|' ${WRKSRC}/dia2code/source_parser.[ch]
30
36
31
post-install:
37
post-install:
32
	${INSTALL_MAN} ${WRKSRC}/dia2code.1 ${MANPREFIX}/man/man1
38
	${INSTALL_MAN} ${WRKSRC}/dia2code.1 ${MANPREFIX}/man/man1
(-)devel/dia2code/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (dia2code-0.8.3.tar.gz) = 60d7d9e61ce0fe997cbcd9901a35d0dac4346e11f092c8277151cd2a3bed11b4
1
SHA256 (dia2code-0.8.4.tar.gz) = d4fc86d8d6e0894d81b82bbd96a40f9c07a65e8554f736245799745dff34feb2
2
SIZE (dia2code-0.8.3.tar.gz) = 133043
2
SIZE (dia2code-0.8.4.tar.gz) = 156221

Return to bug 162834