1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:24:52 +00:00
freebsd-ports/net/pfinger/Makefile
Ed Schouten 698213be72 Use the proper file to test for ut_* fields.
Even pfinger properly detects utmpx, it uses <utmp.h> to figure out
whether the implementation supports ut_*. Regex the configure script to
check for these fields in <utmpx.h>.

Approved by:	miwi (portmgr, implicit)
2010-01-20 16:23:18 +00:00

42 lines
873 B
Makefile

# ex:ts=8
# New ports collection makefile for: pfinger
# Date created: Apr 25, 2001
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= pfinger
PORTVERSION= 0.7.10
PORTREVISION= 4
CATEGORIES= net
MASTER_SITES= http://www.xelia.ch/unix/pfinger/
MAINTAINER= ports@FreeBSD.org
COMMENT= Highly configurable, secure and portable finger daemon
CONFLICTS= gnu-finger-1.*
GNU_CONFIGURE= yes
.if !defined(WITHOUT_X11)
USE_GNOME= gtk12
PLIST_SUB+= WITHOUT_X11=""
.else
CONFIGURE_ARGS+=--without-client
PLIST_SUB+= WITHOUT_X11="@comment "
.endif
MAN1= finger.1 pfinger.1
MAN5= fingerconf.5
MAN8= in.fingerd.8
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/src/configfile.c
.if ${OSVERSION} >= 900007
@${REINPLACE_CMD} -e 's|<utmp.h>|<utmpx.h>|' ${WRKSRC}/configure
.endif
.include <bsd.port.post.mk>