1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/www/mod_cplusplus/Makefile
Mark Linimon 48420a5ebd Switch autoconf dependencies from 2.53 or 2.59 to 2.61.
PR:		ports/116639
Submitted by:	aDe
2007-09-30 04:47:36 +00:00

46 lines
1.3 KiB
Makefile

# 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.3
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= modcplusplus
MAINTAINER= durian@shadetreesoftware.com
COMMENT= Apache module for loading C++ objects as handlers
USE_APACHE= 2.0+
USE_AUTOTOOLS= autoconf:261 autoheader:261 libtool:15 automake:19 aclocal:19
ACLOCAL_ARGS+= -I ${LOCALBASE}/share/aclocal
AUTOMAKE_ARGS+= -a
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-apxs=${APXS}
SUB_FILES= pkg-message
SUB_LIST= "APACHEMODDIR=${APACHEMODDIR}"
# Redefine the autotools run order to match what would happen in the
# autogen.sh script. We cannot use that script directly since it does
# not use the versioned autotools.
run-autotools: run-autotools-aclocal patch-autotools run-autotools-autoheader \
run-libtoolize run-autotools-automake run-autotools-autoconf
run-libtoolize:
@(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>