1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/www/cgicc/Makefile
Mikhail Teterin 18492fd79a Upgrade from 3.2.9 to 3.2.10. Fix a couple of warnings and an actual
error introduced in the new version by the developers.

Remove the library's .la file in post-install (no other way to suppress
the junk, apparently). Turn on parallel-building (MAKE_JOBS_SAFE).

Notified by: portscout
2013-01-14 17:55:58 +00:00

49 lines
1.1 KiB
Makefile

# ex:ts=8
# New ports collection makefile for: cgi++
# Date created: Mar 26, 2001
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= cgicc
PORTVERSION= 3.2.10
CATEGORIES= www devel
MASTER_SITES= GNU
MAINTAINER= ports@FreeBSD.org
COMMENT= A C++ class library for writing CGI applications
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOHEADER="${TRUE}" \
AUTOMAKE="${TRUE}"
USE_LDCONFIG= yes
PORTDOCS= *
CXXFLAGS+= -Wno-unknown-pragmas
MAKE_JOBS_SAFE= yes
.if !defined(NOPORTDOCS)
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen
.endif
post-patch:
@${REINPLACE_CMD} -e '/CXXFLAGS/s|-pedantic||g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e '/^SUBDIRS/s|doc||g' ${WRKSRC}/Makefile.in
post-build:
.if !defined(NOPORTDOCS)
@(cd ${WRKSRC}/doc; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \
${MAKEFILE} ${ALL_TARGET})
.endif
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@(cd ${WRKSRC}/doc/html && ${COPYTREE_SHARE} . ${DOCSDIR})
.endif
${RM} -f ${PREFIX}/lib/libcgicc.la
.include <bsd.port.mk>