1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

- USE_APACHE=yes is deprecated

- Use APACHEETCDIR
- Fix pkg-plist with/ www/apache2*
- Bump PORTREVISION

PR:		ports/133671
Submitted by:	pgollucci
This commit is contained in:
Thierry Thomas 2009-04-21 19:10:18 +00:00
parent 56f1283e29
commit b3ac5797b1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=232442
2 changed files with 5 additions and 9 deletions

View File

@ -23,17 +23,12 @@ RUN_DEPENDS= ${LOCALBASE}/bin/htmldoc:${PORTSDIR}/textproc/htmldoc \
WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= yes
USE_APACHE= yes
USE_APACHE= 1.3+
USE_PERL5_RUN= yes
USE_MYSQL= yes
.if defined(WITH_APACHE2)
APACHE_CNFDIR= ${LOCALBASE}/etc/apache2
.else
APACHE_CNFDIR= ${LOCALBASE}/etc/apache
.endif
APACHE_CONF= ${LOCALBASE}/${APACHEETCDIR}/httpd.conf
APACHE_CONF= ${APACHE_CNFDIR}/httpd.conf
PBASE= ${SITE_PERL}
DBOWN?= PROP_BD
@ -108,8 +103,8 @@ do-install:
${ECHO_CMD} "Include ${FACT_INC}" >> ${APACHE_CONF} ; \
fi)
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
@${MKDIR} ${DOCSDIR}/
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}/
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif

View File

@ -1,4 +1,5 @@
etc/facturier/httpd.conf.facturier
%%APACHEETCDIR%%/httpd.conf.beforeFacturier
%%FACT_REP%%/cgi-bin/articlemodif.cgi
%%FACT_REP%%/cgi-bin/articles.cgi
%%FACT_REP%%/cgi-bin/cherchcontact.cgi