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

(-)www/cgicc/Makefile (-22 / +17 lines)
Lines 2-45 Link Here
2
# $FreeBSD: head/www/cgicc/Makefile 327776 2013-09-20 23:36:50Z bapt $
2
# $FreeBSD: head/www/cgicc/Makefile 327776 2013-09-20 23:36:50Z bapt $
3
3
4
PORTNAME=	cgicc
4
PORTNAME=	cgicc
5
PORTVERSION=	3.2.10
5
PORTVERSION=	3.2.12
6
PORTREVISION=	1
7
CATEGORIES=	www devel
6
CATEGORIES=	www devel
8
MASTER_SITES=	GNU
7
MASTER_SITES=	GNU
9
8
10
MAINTAINER=	ports@FreeBSD.org
9
MAINTAINER=	ports@FreeBSD.org
11
COMMENT=	C++ class library for writing CGI applications
10
COMMENT=	C++ class library for writing CGI applications
12
11
13
USE_GMAKE=	yes
12
LICENSE=	LGPL3 # (or later)
13
14
OPTIONS_DEFINE=	DOCS
15
16
USES=		gmake pathfix
14
USE_AUTOTOOLS=	libtool
17
USE_AUTOTOOLS=	libtool
15
MAKE_ARGS=	ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOHEADER="${TRUE}" \
18
MAKE_ARGS=	ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOHEADER="${TRUE}" \
16
		AUTOMAKE="${TRUE}"
19
		AUTOMAKE="${TRUE}"
17
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
18
USES=		pathfix
19
21
20
PORTDOCS=	*
21
CXXFLAGS+=	-Wno-unknown-pragmas
22
CXXFLAGS+=	-Wno-unknown-pragmas
22
23
23
.if !defined(NOPORTDOCS)
24
PORTDOCS=	*
24
BUILD_DEPENDS+=	doxygen:${PORTSDIR}/devel/doxygen
25
.endif
26
25
27
NO_STAGE=	yes
26
.include <bsd.port.options.mk>
28
post-patch:
29
	@${REINPLACE_CMD} -e '/CXXFLAGS/s|-pedantic||g' ${WRKSRC}/configure
30
	@${REINPLACE_CMD} -e '/^SUBDIRS/s|doc||g' ${WRKSRC}/Makefile.in
31
27
32
post-build:
28
.if ${PORT_OPTIONS:MDOCS}
33
.if !defined(NOPORTDOCS)
29
BUILD_DEPENDS+=	doxygen:${PORTSDIR}/devel/doxygen
34
	@(cd ${WRKSRC}/doc; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \
30
.else
35
		${MAKEFILE} ${ALL_TARGET})
31
CONFIGURE_ENV+=	ac_cv_prog_DOXYGEN="${ECHO_CMD}"
36
.endif
32
.endif
37
33
38
post-install:
34
post-patch:
39
.if !defined(NOPORTDOCS)
35
	@${REINPLACE_CMD} -e \
40
	@${MKDIR} ${DOCSDIR}
36
		's|-lstdc++||' ${WRKSRC}/cgicc/Makefile.in
41
	@(cd ${WRKSRC}/doc/html && ${COPYTREE_SHARE} . ${DOCSDIR})
37
	@${REINPLACE_CMD} -e \
42
.endif
38
		'/^docdir/s|=.*|= @docdir@|' ${WRKSRC}/doc/Makefile.in
43
	${RM} -f ${PREFIX}/lib/libcgicc.la
44
39
45
.include <bsd.port.mk>
40
.include <bsd.port.mk>
(-)www/cgicc/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (cgicc-3.2.10.tar.gz) = 87680cb303e65bee2816b9f0e3d0a3c3258efc4f908ec3cad620d01f0b597ce0
1
SHA256 (cgicc-3.2.12.tar.gz) = 4b3789e94e77b0616d42ac3e6c80b8dab22009dcf997f69df9cd26c5b8bca9f4
2
SIZE (cgicc-3.2.10.tar.gz) = 2385130
2
SIZE (cgicc-3.2.12.tar.gz) = 2385390
(-)www/cgicc/files/patch-Cgicc (-9 lines)
Lines 1-9 Link Here
1
--- cgicc/Cgicc.cpp	2013-01-12 06:48:13.000000000 -0500
2
+++ cgicc/Cgicc.cpp	2013-01-14 12:33:56.000000000 -0500
3
@@ -388,5 +388,5 @@
4
       
5
       // Find the '&' or ';' separating subsequent name/value pairs
6
-      pos = data.find_first_of(';&', oldPos);
7
+      pos = data.find_first_of(";&", oldPos);
8
       
9
       // Even if an '&' wasn't found the rest of the string is a value
(-)www/cgicc/pkg-plist (+1 lines)
Lines 28-33 Link Here
28
include/cgicc/XMLDeclaration.h
28
include/cgicc/XMLDeclaration.h
29
include/cgicc/XMLPI.h
29
include/cgicc/XMLPI.h
30
lib/libcgicc.a
30
lib/libcgicc.a
31
lib/libcgicc.la
31
lib/libcgicc.so
32
lib/libcgicc.so
32
lib/libcgicc.so.5
33
lib/libcgicc.so.5
33
libdata/pkgconfig/cgicc.pc
34
libdata/pkgconfig/cgicc.pc

Return to bug 185510