1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/www/cgicc/Makefile
Danilo Egea Gondolfo eecda19ebf - Update from 3.2.10 to 3.2.12
- Add LICENSE
- Add DOCS to OPTIONS
- Convert USE_GMAKE to USES
- Add stage support

PR:		ports/185510
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2014-01-16 03:23:23 +00:00

41 lines
837 B
Makefile

# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$
PORTNAME= cgicc
PORTVERSION= 3.2.12
CATEGORIES= www devel
MASTER_SITES= GNU
MAINTAINER= ports@FreeBSD.org
COMMENT= C++ class library for writing CGI applications
LICENSE= LGPL3 # (or later)
OPTIONS_DEFINE= DOCS
USES= gmake pathfix
USE_AUTOTOOLS= libtool
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOHEADER="${TRUE}" \
AUTOMAKE="${TRUE}"
USE_LDCONFIG= yes
CXXFLAGS+= -Wno-unknown-pragmas
PORTDOCS= *
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen
.else
CONFIGURE_ENV+= ac_cv_prog_DOXYGEN="${ECHO_CMD}"
.endif
post-patch:
@${REINPLACE_CMD} -e \
's|-lstdc++||' ${WRKSRC}/cgicc/Makefile.in
@${REINPLACE_CMD} -e \
'/^docdir/s|=.*|= @docdir@|' ${WRKSRC}/doc/Makefile.in
.include <bsd.port.mk>