2003-10-16 09:34:30 +00:00
|
|
|
# New ports collection makefile for: GNU finger
|
|
|
|
# Date created: 20 June 1996
|
|
|
|
# Whom: Yoshiro MIHIRA <sanpei@yy.cs.keio.ac.jp>
|
1996-07-10 22:33:14 +00:00
|
|
|
#
|
1999-08-30 14:24:37 +00:00
|
|
|
# $FreeBSD$
|
1996-07-10 22:33:14 +00:00
|
|
|
#
|
|
|
|
|
2003-10-16 09:34:30 +00:00
|
|
|
PORTNAME= finger
|
2000-04-09 18:14:07 +00:00
|
|
|
PORTVERSION= 1.37
|
2003-10-16 09:34:30 +00:00
|
|
|
PORTREVISION= 1
|
2001-01-16 17:33:20 +00:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
1999-01-27 07:41:29 +00:00
|
|
|
MASTER_SITE_SUBDIR= finger
|
2003-10-16 09:34:30 +00:00
|
|
|
PKGNAMEPREFIX= gnu-
|
1996-07-10 22:33:14 +00:00
|
|
|
|
2002-04-02 09:02:37 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 19:00:52 +00:00
|
|
|
COMMENT= GNU version of finger
|
1996-07-10 22:33:14 +00:00
|
|
|
|
2003-10-11 14:30:28 +00:00
|
|
|
CONFLICTS= pfinger-0.*
|
|
|
|
|
2003-10-16 09:34:30 +00:00
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e 's,DEFS="$$DEFS -D_ANSI_SOURCE",,' \
|
|
|
|
${WRKSRC}/configure
|
|
|
|
${REINPLACE_CMD} -e 's,extern char \*sys_errlist,//extern char \*sys_errlist,' \
|
|
|
|
${WRKSRC}/lib/os.c ${WRKSRC}/lib/error.c
|
|
|
|
${REINPLACE_CMD} -e 's,longjmperror (),void longjmperror (void),' \
|
|
|
|
${WRKSRC}/lib/error.c
|
|
|
|
${REINPLACE_CMD} -e 's,\, sys_nerr,,' \
|
|
|
|
${WRKSRC}/lib/error.c
|
|
|
|
${REINPLACE_CMD} -e 's,char \*source,const char \*source,' \
|
|
|
|
${WRKSRC}/lib/savedir.c
|
2003-06-30 02:03:17 +00:00
|
|
|
|
1996-07-10 22:33:14 +00:00
|
|
|
HAS_CONFIGURE= yes
|
2001-01-16 17:33:20 +00:00
|
|
|
INSTALL_TARGET= server
|
1996-07-10 22:33:14 +00:00
|
|
|
|
|
|
|
post-install:
|
1996-12-01 01:23:27 +00:00
|
|
|
${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
|
1997-01-06 07:24:43 +00:00
|
|
|
@${INSTALL} ${COPY} -m 744 -o root ${FILESDIR}/fingerd.sh.sample ${PREFIX}/etc/rc.d/fingerd.sh.sample
|
2002-01-29 11:48:57 +00:00
|
|
|
@${ECHO_CMD} "GNU.finger.server.hostname" > ${PREFIX}/etc/fingerdir/serverhost.sample
|
|
|
|
@${ECHO_CMD} "mail.spool.server.hostname" > ${PREFIX}/etc/fingerdir/mailhost.sample
|
1996-07-10 22:33:14 +00:00
|
|
|
|
2003-10-16 09:34:30 +00:00
|
|
|
.include <bsd.port.mk>
|