blob: 3cb1178e1db556da7d9aff815d35a1b3ff1eac20 (
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
48
49
50
51
52
53
54
|
# 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= 6
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= mod-acct
MAINTAINER= apache@FreeBSD.org
COMMENT= An Apache module that records traffic statistics into a database
MAKE_JOBS_SAFE= yes
USE_APACHE= 13
MAKE_ARGS+= APXS="${APXS}"
.if defined(WITHOUT_PGSQL)
MAKE_ARGS+= WITHOUT_PGSQL=YES
.else
USE_PGSQL= YES
.endif
.if defined(WITHOUT_MYSQL)
MAKE_ARGS+= WITHOUT_MYSQL=YES
.else
USE_MYSQL= YES
.endif
DOCS= README FAQ.txt LICENSE
pre-everything::
@${ECHO} ""
@${ECHO} " WITHOUT_MYSQL Disable MySQL support"
@${ECHO} " WITHOUT_PGSQL Disable PostgreSQL support"
@${ECHO} ""
post-install:
@${MKDIR} ${PREFIX}/share/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/schema.sql ${PREFIX}/share/${PORTNAME}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for doc in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
.endfor
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|