aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_roaming2/Makefile
blob: 56bba8352c5b012a2f29de7943841f0ee1d1ac93 (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
# New ports collection makefile for:    mod_roaming2
# Date created:         15 May 2002
# Whom:             Vivek Khera <vivek@khera.org>
#
# based on mod_roaming port
#
# $FreeBSD$
#

PORTNAME=   mod_roaming2
PORTVERSION=    2.0.0
CATEGORIES= www
MASTER_SITES=   http://www.klomp.org/mod_roaming/
DISTNAME=   ${PORTNAME:S/2$//}-${PORTVERSION}

MAINTAINER= vivek@kciLink.com
COMMENT=    An Apache module that works as a Netscape Roaming Access server

BUILD_DEPENDS=  ${APXS}:${PORTSDIR}/www/apache2
RUN_DEPENDS=    ${APXS}:${PORTSDIR}/www/apache2

APXS=       ${LOCALBASE}/sbin/apxs

DOCS=       CHANGES INSTALL LICENSE README

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

do-install:
    ${APXS} -i -n roaming ${WRKSRC}/mod_roaming.la
    ${INSTALL_DATA} ${FILESDIR}/httpd.conf.${PORTNAME:S/2$//} ${PREFIX}/etc/apache2/
.if !defined(NOPORTDOCS)
    ${MKDIR} ${PREFIX}/share/doc/${PORTNAME:S/2$//}
.for f in ${DOCS}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/${PORTNAME:S/2$//}/
.endfor
.endif
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>