|
Lines 6-27
Link Here
|
| 6 |
# |
6 |
# |
| 7 |
|
7 |
|
| 8 |
PORTNAME= mod_tsunami |
8 |
PORTNAME= mod_tsunami |
| 9 |
PORTVERSION= 1.0 |
9 |
PORTVERSION= 1.1 |
| 10 |
CATEGORIES= www |
10 |
CATEGORIES= www |
| 11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
| 12 |
MASTER_SITE_SUBDIR= mod-tsunami |
12 |
MASTER_SITE_SUBDIR= mod-tsunami |
| 13 |
|
13 |
|
| 14 |
MAINTAINER= ports@FreeBSD.org |
14 |
MAINTAINER= sysadmin@alexdupre.com |
| 15 |
|
15 |
|
| 16 |
BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 |
16 |
BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 |
| 17 |
RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 |
17 |
RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 |
| 18 |
|
18 |
|
| 19 |
APXS?= ${LOCALBASE}/sbin/apxs |
19 |
APXS?= ${LOCALBASE}/sbin/apxs |
| 20 |
|
20 |
|
|
|
21 |
DOCS= AUTHORS Changelog INSTALL LICENSE README |
| 22 |
|
| 21 |
do-build: |
23 |
do-build: |
| 22 |
@cd ${WRKSRC} && ${APXS} -c ${PORTNAME}.c |
24 |
@cd ${WRKSRC} && ${APXS} -c mod_tsunami.c |
| 23 |
|
25 |
|
| 24 |
do-install: |
26 |
do-install: |
| 25 |
${APXS} -i -A -n ${PORTNAME:S/_//g} ${WRKSRC}/${PORTNAME}.so |
27 |
${APXS} -i -A -n tsunami ${WRKSRC}/mod_tsunami.so |
|
|
28 |
.if !defined(NOPORTDOCS) |
| 29 |
@${MKDIR} ${DOCSDIR} |
| 30 |
.for f in ${DOCS} |
| 31 |
@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} |
| 32 |
.endfor |
| 33 |
.endif |
| 34 |
|
| 35 |
post-install: |
| 36 |
@${CAT} ${PKGMESSAGE} |
| 26 |
|
37 |
|
| 27 |
.include <bsd.port.mk> |
38 |
.include <bsd.port.mk> |