1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/www/mod_cplusplus/Makefile

44 lines
1.2 KiB
Makefile
Raw Normal View History

# Created by: Michael Durian <durian@shadetreesoftware.com>
# $FreeBSD$
PORTNAME= mod_cplusplus
2009-02-03 09:18:37 +00:00
PORTVERSION= 1.5.4
PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= SF/modcplusplus/modcplusplus/${PORTNAME}-${PORTVERSION}
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
MAINTAINER= apache@FreeBSD.org
COMMENT= Apache module for loading C++ objects as handlers
USE_APACHE= 22
2010-12-04 07:34:27 +00:00
USE_AUTOTOOLS= autoconf autoheader libtool automake aclocal
CFLAGS+= -I${LOCALBASE}/include
2009-02-03 09:18:37 +00:00
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-apxs=${APXS}
2009-02-03 09:18:37 +00:00
ACLOCAL_ARGS+= -I ${LOCALBASE}/share/aclocal
AUTOMAKE_ARGS+= -a
SUB_FILES= pkg-message
SUB_LIST= "APACHEMODDIR=${APACHEMODDIR}"
2009-02-03 09:18:37 +00:00
WRKSRC= ${WRKDIR}/${PORTNAME}
post-extract:
${REINPLACE_CMD} -e 's,-Werror,,' ${WRKSRC}/configure.in
2009-02-03 09:18:37 +00:00
pre-configure:
(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${LIBTOOLIZE} --force --copy)
do-install:
2014-03-09 19:51:44 +00:00
@${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEINCLUDEDIR}
${INSTALL_DATA} ${WRKSRC}/include/*.h ${STAGEDIR}${PREFIX}/${APACHEINCLUDEDIR}
2014-03-09 19:51:44 +00:00
@${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}
${INSTALL_DATA} ${WRKSRC}/src/.libs/libmod_cplusplus.so \
${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_cplusplus.so
.include <bsd.port.mk>