aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/lookupd/Makefile
blob: 312fe83ab2cb4bef5adb26a5f7693df1551f1b7b (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:    lookupd
# Date created:             3 July 2004
# Whom:                 Michael Bushkov <bushman@rsu.ru>
#
# $FreeBSD$

PORTNAME=   lookupd
PORTVERSION=    0.3.c
CATEGORIES= sysutils
MASTER_SITES=   http://www.rsu.ru/~bushman/lookupd/downloads/

MAINTAINER= bushman@rsu.ru
COMMENT=    Lookupd daemon - IPC nsswitch implementation with system-wide caching

INSTALLS_SHLIB= yes
USE_RC_SUBR=    yes

PKGMESSAGE= ${WRKDIR}/pkg-message
STARTUPSCRIPT=  ${WRKDIR}/lookupd.sh
MAKE_ENV=   WARNS=0

MAN5=       lookupd.conf.5
MAN8=       lookupd.8

post-install:
    @${SED} -e 's|%%PREFIX%%|${PREFIX}|g' ${FILESDIR}/lookupd.sh > ${STARTUPSCRIPT}
    ${INSTALL_SCRIPT} ${STARTUPSCRIPT} ${PREFIX}/etc/rc.d/lookupd.sh
    @${SED} -e "s|%%PREFIX%%|${PREFIX}|g" ${.CURDIR}/pkg-message > ${PKGMESSAGE}
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500112
IGNORE=     This version of lookupd is only supported on FreeBSD 5.1 or later
.endif

.include <bsd.port.post.mk>