1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/sysutils/lookupd/Makefile
2004-12-13 06:32:30 +00:00

37 lines
939 B
Makefile

# 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
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>