aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_uid/Makefile
blob: db640966620bfd07f840c31034f004f46b453271 (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
# New ports collection makefile for:    mod_uid
# Date created:             02 December 2003
# Whom:                 Yen-Ming Lee <leeym@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   mod_uid
PORTVERSION=    1.1.0
CATEGORIES= www
MASTER_SITES=   ftp://ftp.lexa.ru/pub/apache-rus/contrib/

MAINTAINER= leeym@FreeBSD.org
COMMENT=    A module issuing the "correct" cookies for counting the site visitors

USE_APACHE= yes
DOCS=       README.html

.if defined(WITH_APACHE2)
MOD=        mod_uid2
.else
MOD=        mod_uid
.endif

do-build:
    @cd ${WRKSRC} && ${APXS} -c ${MOD}.c

do-install:
    ${APXS} -i -A -n uid ${WRKSRC}/${MOD}.so
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for f in ${DOCS}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>