freebsd-ports/sysutils/lookupd/Makefile
Pav Lucistnik a6bc5f8f2b - Unbreak on 6.X
PR:		ports/84780
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br>
Approved by:	portmgr (marcus)
2005-08-11 22:17:34 +00:00

37 lines
957 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
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>