head	1.31;
access;
symbols
	pkgsrc-2026Q1:1.31.0.52
	pkgsrc-2026Q1-base:1.31
	pkgsrc-2025Q4:1.31.0.50
	pkgsrc-2025Q4-base:1.31
	pkgsrc-2025Q3:1.31.0.48
	pkgsrc-2025Q3-base:1.31
	pkgsrc-2025Q2:1.31.0.46
	pkgsrc-2025Q2-base:1.31
	pkgsrc-2025Q1:1.31.0.44
	pkgsrc-2025Q1-base:1.31
	pkgsrc-2024Q4:1.31.0.42
	pkgsrc-2024Q4-base:1.31
	pkgsrc-2024Q3:1.31.0.40
	pkgsrc-2024Q3-base:1.31
	pkgsrc-2024Q2:1.31.0.38
	pkgsrc-2024Q2-base:1.31
	pkgsrc-2024Q1:1.31.0.36
	pkgsrc-2024Q1-base:1.31
	pkgsrc-2023Q4:1.31.0.34
	pkgsrc-2023Q4-base:1.31
	pkgsrc-2023Q3:1.31.0.32
	pkgsrc-2023Q3-base:1.31
	pkgsrc-2023Q2:1.31.0.30
	pkgsrc-2023Q2-base:1.31
	pkgsrc-2023Q1:1.31.0.28
	pkgsrc-2023Q1-base:1.31
	pkgsrc-2022Q4:1.31.0.26
	pkgsrc-2022Q4-base:1.31
	pkgsrc-2022Q3:1.31.0.24
	pkgsrc-2022Q3-base:1.31
	pkgsrc-2022Q2:1.31.0.22
	pkgsrc-2022Q2-base:1.31
	pkgsrc-2022Q1:1.31.0.20
	pkgsrc-2022Q1-base:1.31
	pkgsrc-2021Q4:1.31.0.18
	pkgsrc-2021Q4-base:1.31
	pkgsrc-2021Q3:1.31.0.16
	pkgsrc-2021Q3-base:1.31
	pkgsrc-2021Q2:1.31.0.14
	pkgsrc-2021Q2-base:1.31
	pkgsrc-2021Q1:1.31.0.12
	pkgsrc-2021Q1-base:1.31
	pkgsrc-2020Q4:1.31.0.10
	pkgsrc-2020Q4-base:1.31
	pkgsrc-2020Q3:1.31.0.8
	pkgsrc-2020Q3-base:1.31
	pkgsrc-2020Q2:1.31.0.6
	pkgsrc-2020Q2-base:1.31
	pkgsrc-2020Q1:1.31.0.2
	pkgsrc-2020Q1-base:1.31
	pkgsrc-2019Q4:1.31.0.4
	pkgsrc-2019Q4-base:1.31
	pkgsrc-2019Q3:1.30.0.30
	pkgsrc-2019Q3-base:1.30
	pkgsrc-2019Q2:1.30.0.28
	pkgsrc-2019Q2-base:1.30
	pkgsrc-2019Q1:1.30.0.26
	pkgsrc-2019Q1-base:1.30
	pkgsrc-2018Q4:1.30.0.24
	pkgsrc-2018Q4-base:1.30
	pkgsrc-2018Q3:1.30.0.22
	pkgsrc-2018Q3-base:1.30
	pkgsrc-2018Q2:1.30.0.20
	pkgsrc-2018Q2-base:1.30
	pkgsrc-2018Q1:1.30.0.18
	pkgsrc-2018Q1-base:1.30
	pkgsrc-2017Q4:1.30.0.16
	pkgsrc-2017Q4-base:1.30
	pkgsrc-2017Q3:1.30.0.14
	pkgsrc-2017Q3-base:1.30
	pkgsrc-2017Q2:1.30.0.10
	pkgsrc-2017Q2-base:1.30
	pkgsrc-2017Q1:1.30.0.8
	pkgsrc-2017Q1-base:1.30
	pkgsrc-2016Q4:1.30.0.6
	pkgsrc-2016Q4-base:1.30
	pkgsrc-2016Q3:1.30.0.4
	pkgsrc-2016Q3-base:1.30
	pkgsrc-2016Q2:1.30.0.2
	pkgsrc-2016Q2-base:1.30
	pkgsrc-2016Q1:1.29.0.2
	pkgsrc-2016Q1-base:1.29
	pkgsrc-2015Q4:1.28.0.2
	pkgsrc-2015Q4-base:1.28
	pkgsrc-2015Q3:1.27.0.10
	pkgsrc-2015Q3-base:1.27
	pkgsrc-2015Q2:1.27.0.8
	pkgsrc-2015Q2-base:1.27
	pkgsrc-2015Q1:1.27.0.6
	pkgsrc-2015Q1-base:1.27
	pkgsrc-2014Q4:1.27.0.4
	pkgsrc-2014Q4-base:1.27
	pkgsrc-2014Q3:1.27.0.2
	pkgsrc-2014Q3-base:1.27
	pkgsrc-2014Q2:1.26.0.6
	pkgsrc-2014Q2-base:1.26
	pkgsrc-2014Q1:1.26.0.4
	pkgsrc-2014Q1-base:1.26
	pkgsrc-2013Q4:1.26.0.2
	pkgsrc-2013Q4-base:1.26
	pkgsrc-2013Q3:1.25.0.4
	pkgsrc-2013Q3-base:1.25
	pkgsrc-2013Q2:1.25.0.2
	pkgsrc-2013Q2-base:1.25
	pkgsrc-2013Q1:1.23.0.4
	pkgsrc-2013Q1-base:1.23
	pkgsrc-2012Q4:1.23.0.2
	pkgsrc-2012Q4-base:1.23
	pkgsrc-2012Q3:1.22.0.6
	pkgsrc-2012Q3-base:1.22
	pkgsrc-2012Q2:1.22.0.4
	pkgsrc-2012Q2-base:1.22
	pkgsrc-2012Q1:1.22.0.2
	pkgsrc-2012Q1-base:1.22
	pkgsrc-2011Q4:1.21.0.2
	pkgsrc-2011Q4-base:1.21
	pkgsrc-2011Q3:1.16.0.6
	pkgsrc-2011Q3-base:1.16
	pkgsrc-2011Q2:1.16.0.4
	pkgsrc-2011Q2-base:1.16
	pkgsrc-2011Q1:1.16.0.2
	pkgsrc-2011Q1-base:1.16
	pkgsrc-2010Q4:1.14.0.8
	pkgsrc-2010Q4-base:1.14
	pkgsrc-2010Q3:1.14.0.6
	pkgsrc-2010Q3-base:1.14
	pkgsrc-2010Q2:1.14.0.4
	pkgsrc-2010Q2-base:1.14
	pkgsrc-2010Q1:1.14.0.2
	pkgsrc-2010Q1-base:1.14
	pkgsrc-2009Q4:1.13.0.10
	pkgsrc-2009Q4-base:1.13
	pkgsrc-2009Q3:1.13.0.8
	pkgsrc-2009Q3-base:1.13
	pkgsrc-2009Q2:1.13.0.6
	pkgsrc-2009Q2-base:1.13
	pkgsrc-2009Q1:1.13.0.4
	pkgsrc-2009Q1-base:1.13
	pkgsrc-2008Q4:1.13.0.2
	pkgsrc-2008Q4-base:1.13
	pkgsrc-2008Q3:1.12.0.18
	pkgsrc-2008Q3-base:1.12
	cube-native-xorg:1.12.0.16
	cube-native-xorg-base:1.12
	pkgsrc-2008Q2:1.12.0.14
	pkgsrc-2008Q2-base:1.12
	cwrapper:1.12.0.12
	pkgsrc-2008Q1:1.12.0.10
	pkgsrc-2008Q1-base:1.12
	pkgsrc-2007Q4:1.12.0.8
	pkgsrc-2007Q4-base:1.12
	pkgsrc-2007Q3:1.12.0.6
	pkgsrc-2007Q3-base:1.12
	pkgsrc-2007Q2:1.12.0.4
	pkgsrc-2007Q2-base:1.12
	pkgsrc-2007Q1:1.12.0.2
	pkgsrc-2007Q1-base:1.12
	pkgsrc-2006Q4:1.10.0.8
	pkgsrc-2006Q4-base:1.10
	pkgsrc-2006Q3:1.10.0.6
	pkgsrc-2006Q3-base:1.10
	pkgsrc-2006Q2:1.10.0.4
	pkgsrc-2006Q2-base:1.10
	pkgsrc-2006Q1:1.10.0.2
	pkgsrc-2006Q1-base:1.10
	pkgsrc-2005Q4:1.9.0.6
	pkgsrc-2005Q4-base:1.9
	pkgsrc-2005Q3:1.9.0.4
	pkgsrc-2005Q3-base:1.9
	pkgsrc-2005Q2:1.9.0.2
	pkgsrc-2005Q2-base:1.9
	pkgsrc-2005Q1:1.7.0.10
	pkgsrc-2005Q1-base:1.7
	pkgsrc-2004Q4:1.7.0.8
	pkgsrc-2004Q4-base:1.7
	pkgsrc-2004Q3:1.7.0.6
	pkgsrc-2004Q3-base:1.7
	pkgsrc-2004Q2:1.7.0.4
	pkgsrc-2004Q2-base:1.7
	pkgsrc-2004Q1:1.7.0.2
	pkgsrc-2004Q1-base:1.7
	pkgsrc-2003Q4:1.6.0.2
	pkgsrc-2003Q4-base:1.6
	netbsd-1-6-1:1.5.0.6
	netbsd-1-6-1-base:1.5
	netbsd-1-6:1.5.0.8
	netbsd-1-6-RELEASE-base:1.5
	pkgviews:1.5.0.4
	pkgviews-base:1.5
	buildlink2:1.5.0.2
	buildlink2-base:1.5
	netbsd-1-5-PATCH003:1.5
	netbsd-1-5-PATCH001:1.5
	netbsd-1-5-RELEASE:1.2
	netbsd-1-4-PATCH003:1.2
	netbsd-1-4-PATCH002:1.2
	comdex-fall-1999:1.2
	netbsd-1-4-PATCH001:1.2
	netbsd-1-4-RELEASE:1.1
	netbsd-1-3-PATCH003:1.1;
locks; strict;
comment	@# @;


1.31
date	2019.11.03.11.45.37;	author rillig;	state Exp;
branches;
next	1.30;
commitid	llzTCvoTAgLcNoJB;

1.30
date	2016.04.24.10.34.44;	author wiz;	state Exp;
branches;
next	1.29;
commitid	ZmGs10ROhZ6LNR3z;

1.29
date	2016.02.25.16.20.51;	author jperkin;	state Exp;
branches;
next	1.28;
commitid	gwmv2ppEhRv5CjWy;

1.28
date	2015.11.08.21.41.25;	author dholland;	state Exp;
branches;
next	1.27;
commitid	GBax1IW1LKieTkIy;

1.27
date	2014.09.11.21.27.09;	author dholland;	state Exp;
branches;
next	1.26;
commitid	lJ1XzOfyT4nqpYPx;

1.26
date	2013.10.10.00.08.40;	author joerg;	state Exp;
branches;
next	1.25;
commitid	fl8PkfJoFPds8G8x;

1.25
date	2013.07.01.10.43.50;	author joerg;	state Exp;
branches;
next	1.24;
commitid	RgUjAaAgjp4yTKVw;

1.24
date	2013.04.06.14.58.20;	author rodent;	state Exp;
branches;
next	1.23;

1.23
date	2012.10.23.17.18.28;	author asau;	state Exp;
branches;
next	1.22;

1.22
date	2012.03.05.04.18.14;	author dholland;	state Exp;
branches;
next	1.21;

1.21
date	2011.11.23.16.25.07;	author is;	state Exp;
branches;
next	1.20;

1.20
date	2011.11.22.09.44.18;	author is;	state Exp;
branches;
next	1.19;

1.19
date	2011.11.22.09.04.49;	author is;	state Exp;
branches;
next	1.18;

1.18
date	2011.11.15.13.04.46;	author is;	state Exp;
branches;
next	1.17;

1.17
date	2011.11.10.09.59.53;	author is;	state Exp;
branches;
next	1.16;

1.16
date	2011.02.11.17.16.03;	author is;	state Exp;
branches
	1.16.6.1;
next	1.15;

1.15
date	2011.01.18.12.28.25;	author is;	state Exp;
branches;
next	1.14;

1.14
date	2010.03.03.11.59.57;	author is;	state Exp;
branches;
next	1.13;

1.13
date	2008.12.15.15.37.56;	author is;	state Exp;
branches;
next	1.12;

1.12
date	2007.03.17.19.29.58;	author joerg;	state Exp;
branches;
next	1.11;

1.11
date	2007.02.06.18.36.18;	author joerg;	state Exp;
branches;
next	1.10;

1.10
date	2006.02.05.23.10.25;	author joerg;	state Exp;
branches;
next	1.9;

1.9
date	2005.06.17.03.50.25;	author jlam;	state Exp;
branches;
next	1.8;

1.8
date	2005.06.01.18.03.07;	author jlam;	state Exp;
branches;
next	1.7;

1.7
date	2004.01.20.12.22.19;	author agc;	state Exp;
branches;
next	1.6;

1.6
date	2003.07.17.22.51.14;	author grant;	state Exp;
branches;
next	1.5;

1.5
date	2001.02.23.22.13.01;	author is;	state Exp;
branches;
next	1.4;

1.4
date	2001.02.17.18.18.58;	author wiz;	state Exp;
branches;
next	1.3;

1.3
date	2001.01.29.11.34.35;	author wiz;	state Exp;
branches;
next	1.2;

1.2
date	99.07.05.20.45.43;	author tron;	state Exp;
branches;
next	1.1;

1.1
date	98.07.22.12.08.23;	author is;	state Exp;
branches;
next	;

1.16.6.1
date	2011.12.08.04.01.09;	author sbd;	state Exp;
branches;
next	;


desc
@@


1.31
log
@net: align variable assignments

pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
@
text
@# $NetBSD: Makefile,v 1.30 2016/04/24 10:34:44 wiz Exp $

DISTNAME=	icsi-finger-1.0.29
CATEGORIES=	net
MASTER_SITES=	ftp://ftp.icsi.berkeley.edu/pub/ai/stolcke/software/
EXTRACT_SUFX=	.tar.Z

MAINTAINER=	is@@NetBSD.org
COMMENT=	Distributed finger service

WRKSRC=		${WRKDIR}/finger

# the following only used as installation destinations!
XMPLD=		${DESTDIR}${PREFIX}/share/examples/icsi-finger
XMPLDT=		${XMPLD}/targets

INSTALLATION_DIRS=	bin libexec sbin
INSTALLATION_DIRS+=	${PKGMANDIR}/man1 ${PKGMANDIR}/man5 ${PKGMANDIR}/man8
INSTALLATION_DIRS+=	share/examples/icsi-finger/targets

TOOL_DEPENDS+=	tradcpp-[0-9]*:../../devel/tradcpp

.include "../../mk/compiler.mk"

.if !empty(PKGSRC_COMPILER:Mclang)
CPPFLAGS+=	-Wno-error=return-type
.endif

MAKE_ENV.SunOS+=	CPP_ARGS=-DSVR4

pre-configure:
	chmod +w ${WRKSRC}/config.h
	${ECHO} \#define ManDir ${PREFIX}/${PKGMANDIR} >> \
		${WRKSRC}/config.h
	${ECHO} \#define TARGETDIR \"${PKG_SYSCONFDIR}/fingerdir/targets\"\
		>> ${WRKSRC}/config.h
	${ECHO} \#define TargetDir ${PKG_SYSCONFDIR}/fingerdir/targets \
		>> ${WRKSRC}/config.h
	${ECHO} \#define TTYLOCFILE \"${PKG_SYSCONFDIR}/fingerdir/ttylocs\" \
		>> ${WRKSRC}/config.h
	${ECHO} \#define HOSTCONFIGFILE \"${PKG_SYSCONFDIR}/fingerdir/hostconfig\" \
		>> ${WRKSRC}/config.h
	${MV} -f ${WRKSRC}/support/inetd.conf-add \
		${WRKSRC}/support/inetd.conf-add.bak
	${SED}	-e s@@/usr/local/etc@@${PREFIX}/libexec@@      \
		-e s@@/usr/local/etc@@${PREFIX}/libexec@@      \
		${WRKSRC}/support/inetd.conf-add.bak > \
		${WRKSRC}/support/inetd.conf-add
	${MV} -f ${WRKSRC}/support/rc.local-add \
		${WRKSRC}/support/rc.local-add.bak
	${SED}  -e s@@/usr/local/bin/@@${PREFIX}/sbin/g@@      \
		${WRKSRC}/support/rc.local-add.bak > \
		${WRKSRC}/support/rc.local-add
	for i in ${WRKSRC}/src/targets/x-.busy \
		${WRKSRC}/src/targets/x-.down; do \
		${MV} $$i $$i.bak; ${SED} -e s@@nawk@@awk@@ \
			-e s@@/usr/local/etc@@${PREFIX}/libexec@@ \
			$$i.bak > $$i ; \
		${RM} -f $$i.bak ; \
	done

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/src/finger ${DESTDIR}${PREFIX}/bin/gfinger
	${INSTALL_PROGRAM} ${WRKSRC}/src/fingerd ${DESTDIR}${PREFIX}/sbin/gfingerd
	${INSTALL_SCRIPT} ${WRKSRC}/src/vifinger ${DESTDIR}${PREFIX}/sbin
	${INSTALL_PROGRAM} ${WRKSRC}/src/packet2ascii ${DESTDIR}${PREFIX}/sbin
	${LN} -sf packet2ascii ${DESTDIR}${PREFIX}/sbin/ascii2packet
	${INSTALL_PROGRAM} ${WRKSRC}/src/in.fingerd ${DESTDIR}${PREFIX}/libexec
	${INSTALL_PROGRAM} ${WRKSRC}/src/in.cfingerd ${DESTDIR}${PREFIX}/libexec
	${INSTALL_PROGRAM} ${WRKSRC}/src/in.cfingerd ${DESTDIR}${PREFIX}/libexec
	${INSTALL_SCRIPT_DIR} ${DESTDIR}${PREFIX}/etc/fingerdir/targets
	${INSTALL_DATA} ${WRKSRC}/support/ttylocs ${XMPLD}
	${INSTALL_DATA} ${WRKSRC}/support/hostconfig ${XMPLD}
	${INSTALL_DATA} ${WRKSRC}/support/rc.local-add ${XMPLD}
	${INSTALL_DATA} ${WRKSRC}/support/services-add ${XMPLD}
	${INSTALL_DATA} ${WRKSRC}/support/inetd.conf-add ${XMPLD}
	(cd ${WRKSRC}/src; ${MAKE} install.man DESTDIR=${DESTDIR} \
		INSTALLMAN=${INSTALL_MAN:Q})
	(cd ${WRKSRC}/src; ${MAKE} TARGETD=${XMPLDT} install.targets \
		INSTALLSCRIPT=${INSTALL_SCRIPT:Q})

.include "../../mk/bsd.pkg.mk"
@


1.30
log
@sunet.se stopped mirroring lots of stuff, remove/comment out references to it
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2016/02/25 16:20:51 jperkin Exp $
d32 29
a60 29
		chmod +w ${WRKSRC}/config.h
		${ECHO} \#define ManDir ${PREFIX}/${PKGMANDIR} >> \
			${WRKSRC}/config.h
		${ECHO} \#define TARGETDIR \"${PKG_SYSCONFDIR}/fingerdir/targets\"\
			>> ${WRKSRC}/config.h
		${ECHO} \#define TargetDir ${PKG_SYSCONFDIR}/fingerdir/targets \
			>> ${WRKSRC}/config.h
		${ECHO} \#define TTYLOCFILE \"${PKG_SYSCONFDIR}/fingerdir/ttylocs\" \
			>> ${WRKSRC}/config.h
		${ECHO} \#define HOSTCONFIGFILE \"${PKG_SYSCONFDIR}/fingerdir/hostconfig\" \
			>> ${WRKSRC}/config.h
		${MV} -f ${WRKSRC}/support/inetd.conf-add \
			${WRKSRC}/support/inetd.conf-add.bak
		${SED}	-e s@@/usr/local/etc@@${PREFIX}/libexec@@      \
			-e s@@/usr/local/etc@@${PREFIX}/libexec@@      \
			${WRKSRC}/support/inetd.conf-add.bak > \
			${WRKSRC}/support/inetd.conf-add
		${MV} -f ${WRKSRC}/support/rc.local-add \
			${WRKSRC}/support/rc.local-add.bak
		${SED}  -e s@@/usr/local/bin/@@${PREFIX}/sbin/g@@      \
			${WRKSRC}/support/rc.local-add.bak > \
			${WRKSRC}/support/rc.local-add
		for i in ${WRKSRC}/src/targets/x-.busy \
			${WRKSRC}/src/targets/x-.down; do \
			${MV} $$i $$i.bak; ${SED} -e s@@nawk@@awk@@ \
				-e s@@/usr/local/etc@@${PREFIX}/libexec@@ \
				$$i.bak > $$i ; \
			${RM} -f $$i.bak ; \
		done
d63 18
a80 18
		${INSTALL_PROGRAM} ${WRKSRC}/src/finger ${DESTDIR}${PREFIX}/bin/gfinger
		${INSTALL_PROGRAM} ${WRKSRC}/src/fingerd ${DESTDIR}${PREFIX}/sbin/gfingerd
		${INSTALL_SCRIPT} ${WRKSRC}/src/vifinger ${DESTDIR}${PREFIX}/sbin
		${INSTALL_PROGRAM} ${WRKSRC}/src/packet2ascii ${DESTDIR}${PREFIX}/sbin
		${LN} -sf packet2ascii ${DESTDIR}${PREFIX}/sbin/ascii2packet
		${INSTALL_PROGRAM} ${WRKSRC}/src/in.fingerd ${DESTDIR}${PREFIX}/libexec
		${INSTALL_PROGRAM} ${WRKSRC}/src/in.cfingerd ${DESTDIR}${PREFIX}/libexec
		${INSTALL_PROGRAM} ${WRKSRC}/src/in.cfingerd ${DESTDIR}${PREFIX}/libexec
		${INSTALL_SCRIPT_DIR} ${DESTDIR}${PREFIX}/etc/fingerdir/targets
		${INSTALL_DATA} ${WRKSRC}/support/ttylocs ${XMPLD}
		${INSTALL_DATA} ${WRKSRC}/support/hostconfig ${XMPLD}
		${INSTALL_DATA} ${WRKSRC}/support/rc.local-add ${XMPLD}
		${INSTALL_DATA} ${WRKSRC}/support/services-add ${XMPLD}
		${INSTALL_DATA} ${WRKSRC}/support/inetd.conf-add ${XMPLD}
		(cd ${WRKSRC}/src; ${MAKE} install.man DESTDIR=${DESTDIR} \
			INSTALLMAN=${INSTALL_MAN:Q})
		(cd ${WRKSRC}/src; ${MAKE} TARGETD=${XMPLDT} install.targets \
			INSTALLSCRIPT=${INSTALL_SCRIPT:Q})
@


1.29
log
@Use OPSYSVARS.
@
text
@d1 1
a1 2
# $NetBSD: Makefile,v 1.28 2015/11/08 21:41:25 dholland Exp $
#
a5 1
MASTER_SITES+=	http://ftp.sunet.se/pub/nir/finger/icsi-finger/
@


1.28
log
@Move bsd.prefs.mk earlier before uses of PKGMANDIR, which is I think
why the openbsd build failed.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2014/09/11 21:27:09 dholland Exp $
a18 3
.include "../../mk/compiler.mk"
.include "../../mk/bsd.prefs.mk"

d25 2
d31 1
a31 3
.if ${OPSYS} == "SunOS"
MAKE_ENV+=	CPP_ARGS=-DSVR4
.endif
@


1.27
log
@Fix Solaris detection; should fix Solaris build.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2013/10/10 00:08:40 joerg Exp $
d19 3
a27 3
.include "../../mk/compiler.mk"
.include "../../mk/bsd.prefs.mk"

@


1.26
log
@Spell TOOL_DEPENDS correctly.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2013/07/01 10:43:50 joerg Exp $
d26 1
d32 4
@


1.25
log
@Use tradcpp as preprocessor instead of second-guessing that cpp
-traditional will work.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2013/04/06 14:58:20 rodent Exp $
d23 1
a23 1
TOOLS_DEPENDS+=	tradcpp-[0-9]*:../../devel/tradcpp
@


1.24
log
@'Please use ${ECHO} instead of "echo".'
'Please use ${ECHO_N} instead of "echo -n".'
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2012/10/23 17:18:28 asau Exp $
d23 8
@


1.23
log
@Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2012/03/05 04:18:14 dholland Exp $
d25 1
a25 1
		echo \#define ManDir ${PREFIX}/${PKGMANDIR} >> \
d27 1
a27 1
		echo \#define TARGETDIR \"${PKG_SYSCONFDIR}/fingerdir/targets\"\
d29 1
a29 1
		echo \#define TargetDir ${PKG_SYSCONFDIR}/fingerdir/targets \
d31 1
a31 1
		echo \#define TTYLOCFILE \"${PKG_SYSCONFDIR}/fingerdir/ttylocs\" \
d33 1
a33 1
		echo \#define HOSTCONFIGFILE \"${PKG_SYSCONFDIR}/fingerdir/hostconfig\" \
@


1.22
log
@Pass ${INSTALL_MAN} and ${INSTALL_SCRIPT} to make install invocations.
Otherwise the package's own ${INSTALL} logic is used, which leads to
running /usr/bin/install on systems where it doesn't work, like
Solaris and Irix.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2011/11/23 16:25:07 is Exp $
a12 2
PKG_DESTDIR_SUPPORT= user-destdir

@


1.21
log
@Update to 1.0.29
No user visible changes - basically, half a patch we had is now in the
upstream sources (no more statical initializers using stderr).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2011/11/22 09:44:18 is Exp $
d71 4
a74 2
		(cd ${WRKSRC}/src; ${MAKE} install.man DESTDIR=${DESTDIR})
		(cd ${WRKSRC}/src; ${MAKE} TARGETD=${XMPLDT} install.targets)
@


1.20
log
@icsi-finger 1.0.28 (+ our old patches).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2011/11/15 13:04:46 is Exp $
d4 1
a4 1
DISTNAME=	icsi-finger-1.0.28
d7 1
@


1.19
log
@Remove a data-dependent case of segmentation fault in in.fingerd.
@
text
@d4 1
a4 2
DISTNAME=	icsi-finger-1.0.27
PKGREVISION=	7
@


1.18
log
@replace mktemp() by mkstemp(), updating net/icsi-finger to 1.0.27nb6
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2011/11/10 09:59:53 is Exp $
d5 1
a5 1
PKGREVISION=	6
@


1.17
log
@Missed part of the fix for 64bit time_t from 2011/01/18 12:28:25.
The maintainance program packet2ascii (actually, the ascii2packet part)
needed to be fixed, too.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2011/02/11 17:16:03 is Exp $
d5 1
a5 1
PKGREVISION=	5
@


1.16
log
@Move FingerDir back to /var/spool; this way it can be writable by a specific
unpriviledged user gfingerd can run as. (Otherwise somebody would need
to create that directory it at boot time).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2011/01/18 12:28:25 is Exp $
d5 1
a5 1
PKGREVISION=	4
@


1.16.6.1
log
@Pullup ticket #3616 - requested by is
net/icsi-finger security update

Revisions pulled up:
- doc/CHANGES-2011                                              1.2900
- net/icsi-finger/Makefile                                      1.17-1.19
- net/icsi-finger/distinfo                                      1.10-1.13
- net/icsi-finger/patches/patch-ak                              1.2-1.4
- net/icsi-finger/patches/patch-al                              1.2
- net/icsi-finger/patches/patch-an                              1.1
- net/icsi-finger/patches/patch-lib_util_c                      1.1

---
   Module Name:	pkgsrc
   Committed By:	is
   Date:		Thu Nov 10 09:42:22 UTC 2011

   Modified Files:
   	pkgsrc/net/icsi-finger: distinfo
   Added Files:
   	pkgsrc/net/icsi-finger/patches: patch-an

   Log Message:
   Missed part of the fix for 64bit time_t from 2011/01/18 12:28:25.
   The maintainance program packet2ascii (actually, the ascii2packet part)
   needed to be fixed, too.

---
   Module Name:	pkgsrc
   Committed By:	is
   Date:		Thu Nov 10 09:59:53 UTC 2011

   Modified Files:
   	pkgsrc/net/icsi-finger: Makefile

   Log Message:
   Missed part of the fix for 64bit time_t from 2011/01/18 12:28:25.
   The maintainance program packet2ascii (actually, the ascii2packet part)
   needed to be fixed, too.

---
   Module Name:	pkgsrc
   Committed By:	dholland
   Date:		Tue Nov 15 00:11:07 UTC 2011

   Modified Files:
   	pkgsrc/net/icsi-finger: distinfo
   	pkgsrc/net/icsi-finger/patches: patch-ak patch-al
   Added Files:
   	pkgsrc/net/icsi-finger/patches: patch-lib_util_c

   Log Message:
   Use stdlib.h instead of private decls of malloc; remove union wait. Should
   fix build with newer gcc and maybe also clang.

---
   Module Name:	pkgsrc
   Committed By:	is
   Date:		Tue Nov 15 13:04:47 UTC 2011

   Modified Files:
   	pkgsrc/doc: CHANGES-2011
   	pkgsrc/net/icsi-finger: Makefile distinfo
   	pkgsrc/net/icsi-finger/patches: patch-ak

   Log Message:
   replace mktemp() by mkstemp(), updating net/icsi-finger to 1.0.27nb6

---
   Module Name:	pkgsrc
   Committed By:	is
   Date:		Tue Nov 22 09:04:49 UTC 2011

   Modified Files:
   	pkgsrc/net/icsi-finger: Makefile distinfo
   	pkgsrc/net/icsi-finger/patches: patch-ak

   Log Message:
   Remove a data-dependent case of segmentation fault in in.fingerd.
@
text
@d1 1
a1 1
# $NetBSD$
d5 1
a5 1
PKGREVISION=	7
@


1.15
log
@Fix for 64bit time_t:
- make the packet contain explicit 32bit data for compatibility with
  clients on machines with 32bit time_t.
- replace ctime() calls on such changed former time_t values by a
  shim that does the translation.
This does not start to work after 2038 yet - that would need a change
of the collection protocol.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2010/03/03 11:59:57 is Exp $
d5 1
a5 1
PKGREVISION=	3
@


1.14
log
@DESTDIR support.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2008/12/15 15:37:56 is Exp $
d5 1
a5 1
PKGREVISION=	2
@


1.13
log
@Make this compile and run on non-NetBSD; tested (as client) on Solaris 10
in addition to NetBSD.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2007/03/17 19:29:58 joerg Exp $
d13 2
d17 2
a18 1
XMPLD=		${PREFIX}/share/examples/icsi-finger
d21 3
a23 2
INSTALLATION_DIRS=	bin libexec ${PKGMANDIR}/man1 ${PKGMANDIR}/man5 \
			${PKGMANDIR}/man8 sbin
d26 1
d57 9
a65 10
		${INSTALL_PROGRAM} ${WRKSRC}/src/finger ${PREFIX}/bin/gfinger
		${INSTALL_PROGRAM} ${WRKSRC}/src/fingerd ${PREFIX}/sbin/gfingerd
		${INSTALL_SCRIPT} ${WRKSRC}/src/vifinger ${PREFIX}/sbin
		${INSTALL_PROGRAM} ${WRKSRC}/src/packet2ascii ${PREFIX}/sbin
		${LN} -sf packet2ascii ${PREFIX}/sbin/ascii2packet
		${INSTALL_PROGRAM} ${WRKSRC}/src/in.fingerd ${PREFIX}/libexec
		${INSTALL_PROGRAM} ${WRKSRC}/src/in.cfingerd ${PREFIX}/libexec
		${INSTALL_PROGRAM} ${WRKSRC}/src/in.cfingerd ${PREFIX}/libexec
		${INSTALL_SCRIPT_DIR} ${PREFIX}/etc/fingerdir/targets
		${INSTALL_DATA_DIR} ${XMPLDT}
d71 1
a71 1
		(cd ${WRKSRC}/src; ${MAKE} install.man)
@


1.12
log
@Don't depend on mtree to provide man page directories. Sort PLIST.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2007/02/06 18:36:18 joerg Exp $
d5 1
a5 1
PKGREVISION=	1
d22 10
a31 4
		${RM} -f ${WRKSRC}/config.h
		${SED}	-e s@@/usr/local@@${PREFIX}@@	\
			-e s@@/usr/pkg@@${PREFIX}@@	\
			files/config.h.netbsd > ${WRKSRC}/config.h
@


1.11
log
@No need for x11.b3.mk here.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2006/02/05 23:10:25 joerg Exp $
d18 2
a19 1
INSTALLATION_DIRS=	bin libexec sbin
@


1.10
log
@Recursive revision bump / recommended bump for gettext ABI change.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2005/06/17 03:50:25 jlam Exp $
a19 2
.include "../../mk/x11.buildlink3.mk"

@


1.9
log
@Create directories before installing files into them.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2005/06/01 18:03:07 jlam Exp $
d5 1
@


1.8
log
@Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
Several changes are involved since they are all interrelated.  These
changes affect about 1000 files.

The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk.  bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files.  Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred.  This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.

The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages.  Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc.  This modification is a nod toward LOCALBASE=/usr.  The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.

The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc.  The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.

The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files.  Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories.  These files are used as input
to imake since imake can't use stdin for that purpose.

The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead.  This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed.  Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries.  Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2004/01/20 12:22:19 agc Exp $
d17 2
@


1.7
log
@Move WRKSRC definition away from the first paragraph in a Makefile.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2003/07/17 22:51:14 grant Exp $
a12 1
USE_X11=	yes
d17 2
@


1.6
log
@s/netbsd.org/NetBSD.org/
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2001/02/23 22:13:01 is Exp $
a4 1
WRKSRC=		${WRKDIR}/finger
d12 1
@


1.5
log
@Package cleanup, as requested by Hubertf.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2001/02/17 18:18:58 wiz Exp $
d10 1
a10 1
MAINTAINER=	is@@netbsd.org
@


1.4
log
@Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2001/01/29 11:34:35 wiz Exp $
d42 18
a59 19
do-${INSTALL}:
		${INSTALL} -c -m 755 ${WRKSRC}/src/finger ${PREFIX}/bin/gfinger
		${INSTALL} -c -m 755 ${WRKSRC}/src/fingerd ${PREFIX}/sbin/gfingerd
		${INSTALL} -c -m 755 ${WRKSRC}/src/vifinger ${PREFIX}/sbin
		${INSTALL} -c -m 755 ${WRKSRC}/src/packet2ascii ${PREFIX}/sbin
		${LN} -sf ${PREFIX}/sbin/packet2ascii \
			${PREFIX}/sbin/ascii2packet
		${INSTALL} -c -m 755 ${WRKSRC}/src/in.fingerd ${PREFIX}/libexec
		${INSTALL} -c -m 755 ${WRKSRC}/src/in.cfingerd ${PREFIX}/libexec
		${INSTALL} -c -m 755 ${WRKSRC}/src/in.cfingerd ${PREFIX}/libexec
		-${MKDIR} ${PREFIX}/etc/fingerdir/targets
		-${MKDIR} ${XMPLDT}
		${INSTALL} -c -m 644 ${WRKSRC}/support/ttylocs ${XMPLD}
		${INSTALL} -c -m 644 ${WRKSRC}/support/hostconfig ${XMPLD}
		${INSTALL} -c -m 644 ${WRKSRC}/support/rc.local-add ${XMPLD}
		${INSTALL} -c -m 644 ${WRKSRC}/support/services-add ${XMPLD}
		${INSTALL} -c -m 644 ${WRKSRC}/support/inetd.conf-add ${XMPLD}
		(cd ${WRKSRC}/src; ${MAKE} ${INSTALL}.man)
		(cd ${WRKSRC}/src; ${MAKE} TARGETD=${XMPLDT} ${INSTALL}.targets )
@


1.3
log
@Add automatic ${VARIABLE} handling for MESSAGE files.
Convert most MESSAGE files to new syntax (${VARIABLE} gets replaced,
not @@VARIABLE@@, nor @@@@VARIABLE@@@@).
By default, substitutions are done for LOCALBASE, PKGNAME, PREFIX,
X11BASE, X11PREFIX; additional patterns can be added via MESSAGE_SUBST.
Clean up some packages while I'm there; add RCS tags to most MESSAGEs.
Remove some uninteresting MESSAGEs.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 1999/07/05 20:45:43 tron Exp $
d11 1
@


1.2
log
@Remove ugly hack used to build message file.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 1998/07/22 12:08:23 is Exp $
a13 2
MESSAGE_FILE=	${WRKDIR}/MESSAGE

a39 2
		${SED} -e s@@/usr/pkg@@${PREFIX}@@g ${PKGDIR}/MESSAGE | \
			fmt >${WRKDIR}/MESSAGE
@


1.1
log
@ICSI version of GNU finger, a distributed finger system for workstation
pools and similar setups.
The mugshot support was left out as much as easily possible - nowadays people
use the WWW for this functionality.
@
text
@d1 1
a1 1
# $NetBSD$
d12 4
d20 1
a20 1
		-${RM} -f ${WRKSRC}/config.h
d32 1
a32 1
		${SED}     -e s@@/usr/local/bin/@@${PREFIX}/sbin/g@@      \
d42 2
a43 2
		${SED} -e s@@/usr/pkg@@${PREFIX}@@g pkg/MESSAGE.pre | \
			fmt > pkg/MESSAGE
a64 2
pre-clean:
		-${RM} pkg/MESSAGE
@

