freebsd-ports/www/mod_accounting/Makefile
Philip M. Gollucci 956dc1cc7f - Set EXPIRATION_DATE to an actual date (9.0 is behind, so guess 2 months from now).
- This can be changed later as needed, if at all, either way we won't remove them
  until after 9.0 is released.

With Hat:   apache@
Reported by:    dvl via freshports
2011-09-07 03:00:51 +00:00

59 lines
1.2 KiB
Makefile

# New ports collection makefile for: mod_accounting
# Date created: 15 November 2002
# Whom: Clément Laforêt <sheepkiller@cultdeadsheep.org>
#
# $FreeBSD$
#
PORTNAME= mod_accounting
PORTVERSION= 0.5
PORTREVISION= 8
CATEGORIES= www
MASTER_SITES= SF/mod-acct/mod-acct/${PORTVERSION}
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
MAINTAINER= apache@FreeBSD.org
COMMENT= An Apache module that records traffic statistics into a database
MAKE_JOBS_SAFE= yes
OPTIONS= MYSQL "Enable MySQL support" on \
PGSQL "Enable PGSQL support" off
DEPRECATED= apache13 is deprecated, migrate to 2.2.x+ now
EXPIRATION_DATE= 2011-11-01
USE_APACHE= 13
MAKE_ARGS+= APXS="${APXS}"
.include <bsd.port.options.mk>
.if defined(WITH_PGSQL)
USE_PGSQL= YES
AP_EXTRAS+= -DNEED_PGSQL
.endif
.if defined(WITH_MYSQL)
USE_MYSQL= YES
AP_EXTRAS+= -DNEED_MYSQL
.endif
AP_FAST_BUILD= yes
AP_GENPLIST= yes
PLIST_FILES+= %%DATADIR%%/schema.sql
PLIST_DIRS+= %%DATADIR%%
PORTDOCS= README FAQ.txt LICENSE
post-install:
@${MKDIR} ${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/schema.sql ${DATADIR}/
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}/
.for doc in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}/
.endfor
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>