Lines 13-35
Link Here
|
13 |
MAINTAINER= leeym@FreeBSD.org |
13 |
MAINTAINER= leeym@FreeBSD.org |
14 |
COMMENT= A module issuing the "correct" cookies for counting the site visitors |
14 |
COMMENT= A module issuing the "correct" cookies for counting the site visitors |
15 |
|
15 |
|
16 |
USE_APACHE= yes |
16 |
USE_APACHE= 1.3+ |
17 |
DOCS= README.html |
|
|
18 |
|
17 |
|
19 |
.if defined(WITH_APACHE2) |
18 |
PORTDOCS= README.html |
20 |
MOD= mod_uid2 |
19 |
|
|
|
20 |
.if !defined(APACHE_PORT) || ${APACHE_PORT} == "www/apache13" |
21 |
MODULENAME= mod_uid |
21 |
.else |
22 |
.else |
22 |
MOD= mod_uid |
23 |
MODULENAME= mod_uid2 |
23 |
.endif |
24 |
.endif |
24 |
|
25 |
|
25 |
do-build: |
26 |
AP_FAST_BUILD= yes |
26 |
@cd ${WRKSRC} && ${APXS} -c ${MOD}.c |
27 |
AP_GENPLIST= yes |
27 |
|
28 |
|
28 |
do-install: |
29 |
post-install: |
29 |
${APXS} -i -A -n uid ${WRKSRC}/${MOD}.so |
|
|
30 |
.if !defined(NOPORTDOCS) |
30 |
.if !defined(NOPORTDOCS) |
31 |
@${MKDIR} ${DOCSDIR} |
31 |
@${MKDIR} ${DOCSDIR} |
32 |
.for f in ${DOCS} |
32 |
.for f in ${PORTDOCS} |
33 |
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} |
33 |
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} |
34 |
.endfor |
34 |
.endfor |
35 |
.endif |
35 |
.endif |