1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

- Use apxs to determine the location for httpd.conf.

- Make APXS overridable.

PR:		ports/40283
Submitted by:	Sean Chittenden <sean@chittenden.org>
This commit is contained in:
Akinori MUSHA 2002-07-12 05:00:41 +00:00
parent f6ffd9afe0
commit 47c96a504d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=62844

View File

@ -22,7 +22,7 @@ USE_RUBY= yes
USE_RUBY_RD= yes
.endif
APXS= ${LOCALBASE}/sbin/apxs
APXS?= ${LOCALBASE}/sbin/apxs
CONFIGURE_ARGS= --with-apxs="${APXS}" \
--enable-eruby=yes \
@ -42,7 +42,7 @@ post-build:
.endif
post-install:
${INSTALL_DATA} ${WRKSRC}/examples/httpd.conf ${PREFIX}/etc/apache/httpd.conf.${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/examples/httpd.conf `${APXS} -q SYSCONFDIR`/httpd.conf.${PORTNAME}
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja
.for f in ${DOCS_EN}