aboutsummaryrefslogtreecommitdiffstats
path: root/www/web500gw/Makefile
blob: fc328622b135faa772d6513f5a0b307aed53f55a (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
# New ports collection makefile for:    web500gw
# Date created:         30 July 1998
# Whom:                 Brent J. Nordquist <bjn@visi.com>
#
# $FreeBSD$
#

PORTNAME=   web500gw
PORTVERSION=    2.1b3
CATEGORIES= www
MASTER_SITES=   ftp://ftp.tu-chemnitz.de/pub/Local/urz/web500gw/ \
        http://www.tu-chemnitz.de/ftp-home/pub/Local/urz/web500gw/ \
        ftp://ftp.ntua.gr/pub/net/ldap/web500gw/ \
        ftp://ftp.imms.de/pub/unix/networking/ldap/

PATCH_SITES=    http://www.tu-chemnitz.de/~fri/web500gw/
PATCHFILES= modtmpl.patch

MAINTAINER= ports@FreeBSD.org
COMMENT=    HTTP gateway to LDAP-based directories

FORBIDDEN=      "Depends on net/openldap12, which is no more"
DEPRECATED=     ${FORBIDDEN}
EXPIRATION_DATE=    2004-04-18

BUILD_DEPENDS=  ${LOCALBASE}/lib/libldap.a:${PORTSDIR}/net/openldap12

INSTDIR=    ${PREFIX}/bin

MAKE_ENV=   PLATFORMCFLAGS="${CFLAGS} -DUSE_SYSCONF -I${PREFIX}/include" \
        LDFLAGS=-L${PREFIX}/lib \
        INSTDIR=${INSTDIR} \
        WEB500GWDIR=${WEB500GWDIR} \
        MANDIR=${MANPREFIX}/man/man8 \
        INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
        INSTALL_DATA="${INSTALL_DATA}" \
        INSTALL_MAN="${INSTALL_MAN}"
MAN8=       web500gw.8

WEB500GWDIR=    ${PREFIX}/etc/web500gw

post-install:
    ${STRIP_CMD} ${INSTDIR}/web500gw
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>