blob: 0799b3ae92a07a5e0e139947b6da00208cbbc762 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Ports collection makefile for: mod_cplusplus for Apache 2.x
# Date created: Dec 29, 2006
# Whom: Michael Durian <durian@shadetreesoftware.com>
#
# $FreeBSD$
#
PORTNAME= mod_cplusplus
PORTVERSION= 1.5.4
PORTREVISION= 1
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
MAKE_JOBS_SAFE= yes
USE_APACHE= 2.0+
USE_AUTOTOOLS= autoconf:267 autoheader:267 libtool:22 automake:111 aclocal:111
CFLAGS+= -I${LOCALBASE}/include
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-apxs=${APXS}
ACLOCAL_ARGS+= -I ${LOCALBASE}/share/aclocal
AUTOMAKE_ARGS+= -a
SUB_FILES= pkg-message
SUB_LIST= "APACHEMODDIR=${APACHEMODDIR}"
WRKSRC= ${WRKDIR}/${PORTNAME}
post-extract:
${REINPLACE_CMD} -e 's,-Werror,,' ${WRKSRC}/configure.in
pre-configure:
(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${LIBTOOLIZE} --force --copy)
do-install:
${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/${APACHEINCLUDEDIR}
${INSTALL_DATA} ${WRKSRC}/src/.libs/libmod_cplusplus.so ${PREFIX}/${APACHEMODDIR}/mod_cplusplus.so
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|