aboutsummaryrefslogtreecommitdiffstats
path: root/net/gnu-finger/Makefile
blob: b2e7706e6fc9e45f0dd97f36595c9e649d9070f3 (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
# New ports collection makefile for:    GNU finger
# Date created:         20 June 1996
# Whom:                 Yoshiro MIHIRA <sanpei@yy.cs.keio.ac.jp>
#
# $FreeBSD$
#

PORTNAME=   gnu-finger
PORTVERSION=    1.37
CATEGORIES= net
MASTER_SITES=   ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= finger
DISTNAME=   finger-1.37

MAINTAINER= ports@FreeBSD.org
COMMENT=    GNU version of finger

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 500000
BROKEN=     does not compile on 5.x
.endif

HAS_CONFIGURE=  yes
INSTALL_TARGET= server

post-install:
    ${MKDIR} ${PREFIX}/etc/fingerdir
    ${MKDIR} ${PREFIX}/etc/rc.d
    @${CP} ${WRKSRC}/support/ttylocs ${PREFIX}/etc/fingerdir/ttylocs.sample
    @${CP} ${FILESDIR}/clients.sample ${PREFIX}/etc/fingerdir/clients.sample
    @${INSTALL} ${COPY} -m 744 -o root ${FILESDIR}/fingerd.sh.sample ${PREFIX}/etc/rc.d/fingerd.sh.sample
    @${ECHO_CMD} "GNU.finger.server.hostname" > ${PREFIX}/etc/fingerdir/serverhost.sample
    @${ECHO_CMD} "mail.spool.server.hostname" > ${PREFIX}/etc/fingerdir/mailhost.sample

.include <bsd.port.post.mk>