1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/net/pfinger/Makefile
2014-03-09 14:25:30 +00:00

33 lines
723 B
Makefile

# Created by: 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
.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>