head	1.67;
access;
symbols
	pkgsrc-2026Q1:1.67.0.4
	pkgsrc-2026Q1-base:1.67
	pkgsrc-2025Q4:1.67.0.2
	pkgsrc-2025Q4-base:1.67
	pkgsrc-2025Q3:1.66.0.26
	pkgsrc-2025Q3-base:1.66
	pkgsrc-2025Q2:1.66.0.24
	pkgsrc-2025Q2-base:1.66
	pkgsrc-2025Q1:1.66.0.22
	pkgsrc-2025Q1-base:1.66
	pkgsrc-2024Q4:1.66.0.20
	pkgsrc-2024Q4-base:1.66
	pkgsrc-2024Q3:1.66.0.18
	pkgsrc-2024Q3-base:1.66
	pkgsrc-2024Q2:1.66.0.16
	pkgsrc-2024Q2-base:1.66
	pkgsrc-2024Q1:1.66.0.14
	pkgsrc-2024Q1-base:1.66
	pkgsrc-2023Q4:1.66.0.12
	pkgsrc-2023Q4-base:1.66
	pkgsrc-2023Q3:1.66.0.10
	pkgsrc-2023Q3-base:1.66
	pkgsrc-2023Q2:1.66.0.8
	pkgsrc-2023Q2-base:1.66
	pkgsrc-2023Q1:1.66.0.6
	pkgsrc-2023Q1-base:1.66
	pkgsrc-2022Q4:1.66.0.4
	pkgsrc-2022Q4-base:1.66
	pkgsrc-2022Q3:1.66.0.2
	pkgsrc-2022Q3-base:1.66
	pkgsrc-2022Q2:1.65.0.6
	pkgsrc-2022Q2-base:1.65
	pkgsrc-2022Q1:1.65.0.4
	pkgsrc-2022Q1-base:1.65
	pkgsrc-2021Q4:1.65.0.2
	pkgsrc-2021Q4-base:1.65
	pkgsrc-2021Q3:1.64.0.4
	pkgsrc-2021Q3-base:1.64
	pkgsrc-2021Q2:1.64.0.2
	pkgsrc-2021Q2-base:1.64
	pkgsrc-2021Q1:1.63.0.6
	pkgsrc-2021Q1-base:1.63
	pkgsrc-2020Q4:1.63.0.4
	pkgsrc-2020Q4-base:1.63
	pkgsrc-2020Q3:1.63.0.2
	pkgsrc-2020Q3-base:1.63
	pkgsrc-2020Q2:1.62.0.4
	pkgsrc-2020Q2-base:1.62
	pkgsrc-2020Q1:1.62.0.2
	pkgsrc-2020Q1-base:1.62
	pkgsrc-2019Q4:1.61.0.4
	pkgsrc-2019Q4-base:1.61
	pkgsrc-2019Q3:1.60.0.2
	pkgsrc-2019Q3-base:1.60
	pkgsrc-2019Q2:1.58.0.4
	pkgsrc-2019Q2-base:1.58
	pkgsrc-2019Q1:1.58.0.2
	pkgsrc-2019Q1-base:1.58
	pkgsrc-2018Q4:1.57.0.4
	pkgsrc-2018Q4-base:1.57
	pkgsrc-2018Q3:1.57.0.2
	pkgsrc-2018Q3-base:1.57
	pkgsrc-2018Q2:1.56.0.2
	pkgsrc-2018Q2-base:1.56
	pkgsrc-2018Q1:1.55.0.4
	pkgsrc-2018Q1-base:1.55
	pkgsrc-2017Q4:1.55.0.2
	pkgsrc-2017Q4-base:1.55
	pkgsrc-2017Q3:1.54.0.4
	pkgsrc-2017Q3-base:1.54
	pkgsrc-2017Q2:1.53.0.8
	pkgsrc-2017Q2-base:1.53
	pkgsrc-2017Q1:1.53.0.6
	pkgsrc-2017Q1-base:1.53
	pkgsrc-2016Q4:1.53.0.4
	pkgsrc-2016Q4-base:1.53
	pkgsrc-2016Q3:1.53.0.2
	pkgsrc-2016Q3-base:1.53
	pkgsrc-2016Q2:1.52.0.2
	pkgsrc-2016Q2-base:1.52
	pkgsrc-2016Q1:1.50.0.2
	pkgsrc-2016Q1-base:1.50
	pkgsrc-2015Q4:1.49.0.6
	pkgsrc-2015Q4-base:1.49
	pkgsrc-2015Q3:1.49.0.4
	pkgsrc-2015Q3-base:1.49
	pkgsrc-2015Q2:1.49.0.2
	pkgsrc-2015Q2-base:1.49
	pkgsrc-2015Q1:1.47.0.8
	pkgsrc-2015Q1-base:1.47
	pkgsrc-2014Q4:1.47.0.6
	pkgsrc-2014Q4-base:1.47
	pkgsrc-2014Q3:1.47.0.4
	pkgsrc-2014Q3-base:1.47
	pkgsrc-2014Q2:1.47.0.2
	pkgsrc-2014Q2-base:1.47
	pkgsrc-2014Q1:1.46.0.2
	pkgsrc-2014Q1-base:1.46
	pkgsrc-2013Q4:1.45.0.6
	pkgsrc-2013Q4-base:1.45
	pkgsrc-2013Q3:1.45.0.4
	pkgsrc-2013Q3-base:1.45
	pkgsrc-2013Q2:1.45.0.2
	pkgsrc-2013Q2-base:1.45
	pkgsrc-2013Q1:1.44.0.2
	pkgsrc-2013Q1-base:1.44
	pkgsrc-2012Q4:1.42.0.2
	pkgsrc-2012Q4-base:1.42
	pkgsrc-2012Q3:1.40.0.2
	pkgsrc-2012Q3-base:1.40
	pkgsrc-2012Q2:1.39.0.4
	pkgsrc-2012Q2-base:1.39
	pkgsrc-2012Q1:1.39.0.2
	pkgsrc-2012Q1-base:1.39
	pkgsrc-2011Q4:1.36.0.2
	pkgsrc-2011Q4-base:1.36
	pkgsrc-2011Q3:1.35.0.4
	pkgsrc-2011Q3-base:1.35
	pkgsrc-2011Q2:1.35.0.2
	pkgsrc-2011Q2-base:1.35
	pkgsrc-2011Q1:1.33.0.2
	pkgsrc-2011Q1-base:1.33
	pkgsrc-2010Q4:1.31.0.2
	pkgsrc-2010Q4-base:1.31
	pkgsrc-2010Q3:1.30.0.2
	pkgsrc-2010Q3-base:1.30
	pkgsrc-2010Q2:1.29.0.6
	pkgsrc-2010Q2-base:1.29
	pkgsrc-2010Q1:1.29.0.4
	pkgsrc-2010Q1-base:1.29
	pkgsrc-2009Q4:1.29.0.2
	pkgsrc-2009Q4-base:1.29
	pkgsrc-2009Q3:1.28.0.2
	pkgsrc-2009Q3-base:1.28
	pkgsrc-2009Q2:1.26.0.2
	pkgsrc-2009Q2-base:1.26
	pkgsrc-2009Q1:1.24.0.2
	pkgsrc-2009Q1-base:1.24
	pkgsrc-2008Q4:1.20.0.2
	pkgsrc-2008Q4-base:1.20
	pkgsrc-2008Q3:1.18.0.8
	pkgsrc-2008Q3-base:1.18
	cube-native-xorg:1.18.0.6
	cube-native-xorg-base:1.18
	pkgsrc-2008Q2:1.18.0.4
	pkgsrc-2008Q2-base:1.18
	cwrapper:1.18.0.2
	pkgsrc-2008Q1:1.17.0.2
	pkgsrc-2008Q1-base:1.17
	pkgsrc-2007Q4:1.13.0.2
	pkgsrc-2007Q4-base:1.13
	pkgsrc-2007Q3:1.12.0.2
	pkgsrc-2007Q3-base:1.12
	pkgsrc-2007Q2:1.10.0.18
	pkgsrc-2007Q2-base:1.10
	pkgsrc-2007Q1:1.10.0.16
	pkgsrc-2007Q1-base:1.10
	pkgsrc-2006Q4:1.10.0.14
	pkgsrc-2006Q4-base:1.10
	pkgsrc-2006Q3:1.10.0.12
	pkgsrc-2006Q3-base:1.10
	pkgsrc-2006Q2:1.10.0.10
	pkgsrc-2006Q2-base:1.10
	pkgsrc-2006Q1:1.10.0.8
	pkgsrc-2006Q1-base:1.10
	pkgsrc-2005Q4:1.10.0.6
	pkgsrc-2005Q4-base:1.10
	pkgsrc-2005Q3:1.10.0.4
	pkgsrc-2005Q3-base:1.10
	pkgsrc-2005Q2:1.10.0.2
	pkgsrc-2005Q2-base:1.10
	pkgsrc-2005Q1:1.8.0.4
	pkgsrc-2005Q1-base:1.8
	pkgsrc-2004Q4:1.8.0.2
	pkgsrc-2004Q4-base:1.8
	pkgsrc-2004Q3:1.7.0.4
	pkgsrc-2004Q3-base:1.7
	pkgsrc-2004Q2:1.7.0.2
	pkgsrc-2004Q2-base:1.7
	pkgsrc-2004Q1:1.4.0.4
	pkgsrc-2004Q1-base:1.4
	pkgsrc-2003Q4:1.4.0.2
	pkgsrc-2003Q4-base:1.4
	buildlink2-base:1.4
	pkgsrc-base:1.1.1.2
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.67
date	2025.10.23.20.39.22;	author wiz;	state Exp;
branches;
next	1.66;
commitid	1V2hBZn9ypXaCJfG;

1.66
date	2022.06.28.11.35.57;	author wiz;	state Exp;
branches;
next	1.65;
commitid	D2UoJrTHpoHEANJD;

1.65
date	2021.12.08.16.02.39;	author adam;	state Exp;
branches;
next	1.64;
commitid	2PyWjHx5T8rqARjD;

1.64
date	2021.05.24.19.54.12;	author wiz;	state Exp;
branches;
next	1.63;
commitid	qokaiStTApGMcrUC;

1.63
date	2020.08.31.18.11.28;	author wiz;	state Exp;
branches;
next	1.62;
commitid	7zxRbfOkDOoxbfmC;

1.62
date	2020.03.08.16.48.12;	author wiz;	state Exp;
branches;
next	1.61;
commitid	rcNYzTQo8icypCZB;

1.61
date	2019.11.04.21.28.47;	author rillig;	state Exp;
branches;
next	1.60;
commitid	P8zvC5DaquV1ZzJB;

1.60
date	2019.08.19.05.59.56;	author gutteridge;	state Exp;
branches;
next	1.59;
commitid	jYxCiHEiAREOgBzB;

1.59
date	2019.08.11.13.23.09;	author wiz;	state Exp;
branches;
next	1.58;
commitid	Ifet9Pg6Qt99ZByB;

1.58
date	2019.01.21.03.31.05;	author youri;	state Exp;
branches;
next	1.57;
commitid	gTiFAnnSNS2qfB8B;

1.57
date	2018.08.22.09.46.35;	author wiz;	state Exp;
branches;
next	1.56;
commitid	YLub8g3ofvFGb6PA;

1.56
date	2018.05.28.15.16.55;	author youri;	state Exp;
branches;
next	1.55;
commitid	VnaUVrjAIOd3O4EA;

1.55
date	2017.11.28.14.56.09;	author wiz;	state Exp;
branches;
next	1.54;
commitid	vhqXtK3JY6ajvOgA;

1.54
date	2017.07.30.22.47.56;	author wiz;	state Exp;
branches;
next	1.53;
commitid	lqeIJZqGPZFA0j1A;

1.53
date	2016.07.09.06.39.01;	author wiz;	state Exp;
branches;
next	1.52;
commitid	dlqnocGpOoXV2Cdz;

1.52
date	2016.04.28.22.18.58;	author jperkin;	state Exp;
branches;
next	1.51;
commitid	Q6fEfhHlXXMnzr4z;

1.51
date	2016.04.07.11.54.57;	author youri;	state Exp;
branches;
next	1.50;
commitid	qsueaqH8j1SdNG1z;

1.50
date	2016.02.26.10.24.13;	author jperkin;	state Exp;
branches;
next	1.49;
commitid	HAQLapcZyQ1MBpWy;

1.49
date	2015.06.12.10.51.14;	author wiz;	state Exp;
branches;
next	1.48;
commitid	B4JmCfaVUbiY38py;

1.48
date	2015.06.06.10.59.57;	author prlw1;	state Exp;
branches;
next	1.47;
commitid	SexiaTS6CpXUjmoy;

1.47
date	2014.05.29.23.37.29;	author wiz;	state Exp;
branches;
next	1.46;
commitid	laryHfkCalgYtuCx;

1.46
date	2014.02.21.20.32.12;	author joerg;	state Exp;
branches;
next	1.45;
commitid	BuK8VGWns5oXA0qx;

1.45
date	2013.05.31.12.42.01;	author wiz;	state Exp;
branches;
next	1.44;
commitid	hIeXGcx6VfKHwMRw;

1.44
date	2013.02.26.15.54.16;	author jperkin;	state Exp;
branches;
next	1.43;

1.43
date	2013.01.22.21.57.45;	author wiz;	state Exp;
branches;
next	1.42;

1.42
date	2012.10.23.19.51.10;	author asau;	state Exp;
branches;
next	1.41;

1.41
date	2012.10.03.21.57.39;	author wiz;	state Exp;
branches;
next	1.40;

1.40
date	2012.09.15.10.06.29;	author obache;	state Exp;
branches;
next	1.39;

1.39
date	2012.03.03.00.11.55;	author wiz;	state Exp;
branches;
next	1.38;

1.38
date	2012.02.06.12.41.36;	author wiz;	state Exp;
branches;
next	1.37;

1.37
date	2012.01.19.19.43.56;	author drochner;	state Exp;
branches;
next	1.36;

1.36
date	2011.11.12.00.40.34;	author dholland;	state Exp;
branches;
next	1.35;

1.35
date	2011.04.22.13.42.02;	author obache;	state Exp;
branches;
next	1.34;

1.34
date	2011.04.13.17.05.20;	author drochner;	state Exp;
branches;
next	1.33;

1.33
date	2011.01.19.16.43.38;	author jmmv;	state Exp;
branches;
next	1.32;

1.32
date	2011.01.18.13.46.38;	author jmmv;	state Exp;
branches;
next	1.31;

1.31
date	2010.11.28.12.55.46;	author drochner;	state Exp;
branches;
next	1.30;

1.30
date	2010.08.09.10.07.10;	author drochner;	state Exp;
branches;
next	1.29;

1.29
date	2009.10.22.17.11.44;	author drochner;	state Exp;
branches;
next	1.28;

1.28
date	2009.08.27.20.03.17;	author ahoka;	state Exp;
branches;
next	1.27;

1.27
date	2009.07.11.13.14.13;	author hasso;	state Exp;
branches;
next	1.26;

1.26
date	2009.05.26.18.49.04;	author drochner;	state Exp;
branches;
next	1.25;

1.25
date	2009.04.07.11.26.48;	author drochner;	state Exp;
branches;
next	1.24;

1.24
date	2009.03.22.19.57.08;	author wiz;	state Exp;
branches;
next	1.23;

1.23
date	2009.03.22.19.53.15;	author wiz;	state Exp;
branches;
next	1.22;

1.22
date	2009.02.16.17.51.07;	author drochner;	state Exp;
branches;
next	1.21;

1.21
date	2009.01.13.13.53.13;	author wiz;	state Exp;
branches;
next	1.20;

1.20
date	2008.11.16.20.31.09;	author wiz;	state Exp;
branches;
next	1.19;

1.19
date	2008.11.15.19.34.11;	author wiz;	state Exp;
branches;
next	1.18;

1.18
date	2008.04.12.22.43.12;	author jlam;	state Exp;
branches;
next	1.17;

1.17
date	2008.03.18.17.46.27;	author drochner;	state Exp;
branches;
next	1.16;

1.16
date	2008.03.12.21.43.30;	author drochner;	state Exp;
branches;
next	1.15;

1.15
date	2008.03.06.14.53.54;	author wiz;	state Exp;
branches;
next	1.14;

1.14
date	2008.01.11.12.50.36;	author drochner;	state Exp;
branches;
next	1.13;

1.13
date	2007.11.05.19.06.02;	author drochner;	state Exp;
branches;
next	1.12;

1.12
date	2007.09.21.13.04.19;	author wiz;	state Exp;
branches;
next	1.11;

1.11
date	2007.09.20.21.12.04;	author wiz;	state Exp;
branches;
next	1.10;

1.10
date	2005.05.18.22.02.21;	author wiz;	state dead;
branches;
next	1.9;

1.9
date	2005.04.11.21.47.25;	author tv;	state Exp;
branches;
next	1.8;

1.8
date	2004.10.03.00.18.15;	author tv;	state Exp;
branches;
next	1.7;

1.7
date	2004.04.26.05.44.05;	author snj;	state Exp;
branches;
next	1.6;

1.6
date	2004.04.05.09.07.56;	author tron;	state Exp;
branches;
next	1.5;

1.5
date	2004.04.02.12.13.57;	author jmmv;	state Exp;
branches;
next	1.4;

1.4
date	98.11.01.23.24.17;	author tron;	state dead;
branches;
next	1.3;

1.3
date	98.10.18.22.34.00;	author tron;	state Exp;
branches;
next	1.2;

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

1.1
date	98.10.07.13.11.35;	author agc;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	98.10.07.13.11.35;	author agc;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2004.04.02.12.10.12;	author jmmv;	state Exp;
branches;
next	;


desc
@@


1.67
log
@*: recursive bump for pcre2

Running an old binary against the new pcre doesn't work:
/usr/pkg/lib/libpcre2-8.so.0: version PCRE2_10.47 required by /usr/pkg/lib/libglib-2.0.so.0 not defined
@
text
@# $NetBSD: Makefile,v 1.66 2022/06/28 11:35:57 wiz Exp $

DISTNAME=		libgtop-2.28.4
PKGREVISION=		22
CATEGORIES=		sysutils gnome
MASTER_SITES=		${MASTER_SITE_GNOME:=sources/libgtop/2.28/}
EXTRACT_SUFX=		.tar.bz2

MAINTAINER=		pkgsrc-users@@NetBSD.org
HOMEPAGE=		https://www.gnome.org/
COMMENT=		Library to retrieve system information, used in GNOME2
LICENSE=		gnu-gpl-v2

OSVERSION_SPECIFIC=	YES

GNU_CONFIGURE=		YES
CONFIG_SHELL=		bash
INFO_FILES=		YES
PKGCONFIG_OVERRIDE=	libgtop-2.0.pc.in
TEXINFO_REQD=		4.6
USE_LIBTOOL=		YES
USE_PKGLOCALEDIR=	YES
USE_TOOLS+=		bash gmake makeinfo msgfmt perl pkg-config intltool

CONFIGURE_ARGS+=	--disable-gtk-doc
CONFIGURE_ARGS+=	--without-x
CONFIGURE_ENV+=		LN_S="${LN} -s"

CONFLICTS+=		libgtop2-[0-9]*

post-patch:
	${CP} ${FILESDIR}/procaffinity.c ${WRKSRC}/sysdeps/bsd/

# The following flags are for debugging purposes.  They don't need to
# be used unless you are actively developing/debugging libgtop.
#CPPFLAGS+=		-DLIBGTOP_ENABLE_DEBUG -DLIBGTOP_FATAL_WARNINGS
#CFLAGS+=		-g
#LDFLAGS+=		-g

PRINT_PLIST_AWK+=	/^bin\/libgtop_server2$$/ \
				{ print "$${LIBGTOP_SERVER}" $$0; next }
PRINT_PLIST_AWK+=	/^include\/libgtop-2.0\/glibtop_suid.h$$/ \
				{ print "$${LIBGTOP_SUID_H}" $$0; next }

CONFIGURE_ENV.NetBSD+=	fu_cv_sys_mounted_getmntinfo=yes
# needed since about 6.99.16
CPPFLAGS.NetBSD+=	-D_KMEMUSER

.include "../../mk/bsd.prefs.mk"

INSTALL_MAKE_FLAGS+=	libgtop_postinstall=true
PLIST_VARS+=		server suid.h
.if ${OPSYS} == "AIX"
PLIST.server=		yes
PLIST.suid.h=		yes
SPECIAL_PERMS=		bin/libgtop_server2 ${REAL_ROOT_USER} system 2755
.elif ${OPSYS} == "DragonFly" || \
      ${OPSYS} == "FreeBSD" || ${OPSYS} == "NetBSD" || \
      ${OPSYS} == "OpenBSD"
PLIST.server=		yes
PLIST.suid.h=		yes
SPECIAL_PERMS=		bin/libgtop_server2 ${REAL_ROOT_USER} kmem 2755
.elif ${OPSYS} == "Linux"
#PLIST.server=		no
#PLIST.suid.h=		no
.elif ${OPSYS} == "SunOS"
PLIST.server=		yes
SPECIAL_PERMS=		bin/libgtop_server2 ${REAL_ROOT_USER} sys 2755
.elif ${OPSYS} == "Darwin"
PLIST.server=		yes
.else
PLIST.server=		yes
PLIST.suid.h=		yes
.endif

PLIST_VARS+=	glibtop_private.h
.if ${OPSYS} == "FreeBSD" || ${OPSYS} == "DragonFly"
PLIST.glibtop_private.h= yes
.endif

# XXX This needs a check in the configure script, which should be clean
# enough to be integrated in the mainstream sources.
statvfs_h=	/usr/include/sys/statvfs.h
.if exists(${statvfs_h})
reads_count!=	if ${GREP} f_syncreads ${statvfs_h} >/dev/null; then \
		${ECHO} yes; else ${ECHO} no; fi
.  if ${reads_count} == "yes"
CPPFLAGS+=	-DHAVE_STATVFS_READS_COUNT
.  endif
.  undef reads_count

writes_count!=	if ${GREP} f_syncwrites ${statvfs_h} >/dev/null; then \
		${ECHO} yes; else ${ECHO} no; fi
.  if ${writes_count} == "yes"
CPPFLAGS+=	-DHAVE_STATVFS_WRITES_COUNT
.  endif
.  undef writes_count
.endif
.undef statvfs_h

.include "../../devel/gettext-lib/buildlink3.mk"
BUILDLINK_API_DEPENDS.glib2+=	glib2>=2.6.0
.include "../../devel/glib2/buildlink3.mk"
.include "../../x11/libXau/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.66
log
@*: recursive bump for perl 5.36
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.65 2021/12/08 16:02:39 adam Exp $
d4 1
a4 1
PKGREVISION=		21
@


1.65
log
@revbump for icu and libffi
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.64 2021/05/24 19:54:12 wiz Exp $
d4 1
a4 1
PKGREVISION=		20
@


1.64
log
@*: recursive bump for perl 5.34
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.63 2020/08/31 18:11:28 wiz Exp $
d4 1
a4 1
PKGREVISION=		19
@


1.63
log
@*: bump PKGREVISION for perl-5.32.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.62 2020/03/08 16:48:12 wiz Exp $
d4 1
a4 1
PKGREVISION=		18
@


1.62
log
@*: recursive bump for libffi
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.61 2019/11/04 21:28:47 rillig Exp $
d4 1
a4 1
PKGREVISION=		17
@


1.61
log
@sysutils: align variable assignments

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

Manually excluded consolekit and dc-tools since pkglint didn't get the
formatting correct.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.60 2019/08/19 05:59:56 gutteridge Exp $
d4 1
a4 1
PKGREVISION=		16
@


1.60
log
@libgtop: fix build with Perl >= 5.30

As of Perl 5.30, it's no longer permitted to set $[ to a non-zero
value, which was causing the lib.pl script to fail. Adjust the script
to use zero-based indexing. (Upstream has also changed this script
accordingly in subsequent releases, but this isn't a straight lift from
there, as the ingoing features.def input file format has also changed
in intervening releases, and there were other, unrelated changes
applied too.) This is a workaround until this package is updated to a
newer release (that is non-trivial because of the number of local
patches, etc.). Addresses PR pkg/54475.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.59 2019/08/11 13:23:09 wiz Exp $
d52 1
a52 1
PLIST_VARS+=	server suid.h
d54 3
a56 3
PLIST.server=	yes
PLIST.suid.h=	yes
SPECIAL_PERMS=	bin/libgtop_server2 ${REAL_ROOT_USER} system 2755
d60 3
a62 3
PLIST.server=	yes
PLIST.suid.h=	yes
SPECIAL_PERMS=	bin/libgtop_server2 ${REAL_ROOT_USER} kmem 2755
d64 2
a65 2
#PLIST.server=	no
#PLIST.suid.h=	no
d67 2
a68 2
PLIST.server=	yes
SPECIAL_PERMS=	bin/libgtop_server2 ${REAL_ROOT_USER} sys 2755
d70 1
a70 1
PLIST.server=	yes
d72 2
a73 2
PLIST.server=	yes
PLIST.suid.h=	yes
d76 1
a76 1
PLIST_VARS+=    glibtop_private.h
@


1.59
log
@Bump PKGREVISIONs for perl 5.30.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.58 2019/01/21 03:31:05 youri Exp $
d4 1
a4 1
PKGREVISION=		15
@


1.58
log
@Implement multi-processor load calculations for NetBSD,
this fills the graphs in mate and gnome system monitors.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.57 2018/08/22 09:46:35 wiz Exp $
d4 1
a4 1
PKGREVISION=		14
@


1.57
log
@Recursive bump for perl5-5.28.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.56 2018/05/28 15:16:55 youri Exp $
d4 1
a4 1
PKGREVISION=		13
@


1.56
log
@Update because of runtime fix.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.55 2017/11/28 14:56:09 wiz Exp $
d4 1
a4 1
PKGREVISION=		12
@


1.55
log
@libgtop: disable use of gtk-doc

Only three png files are not installed any longer, so this
does not really seem to make the package worse, and it fixes
the build problem with gtk-doc-1.26, which removed gtkdoc-mktmpl.

Explicitly add bash to tools, it's the CONFIG_SHELL but was pulled in
indirectly.

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.54 2017/07/30 22:47:56 wiz Exp $
d4 1
a4 1
PKGREVISION=		11
@


1.54
log
@Use https for www.gnome.org HOMEPAGEs.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.53 2016/07/09 06:39:01 wiz Exp $
d4 1
a4 1
PKGREVISION=		10
d23 1
a23 1
USE_TOOLS+=		gmake makeinfo msgfmt perl pkg-config intltool
d25 1
a25 1
CONFIGURE_ARGS+=	--enable-gtk-doc
a103 2
BUILDLINK_API_DEPENDS.gtk-doc+=	gtk-doc>=1.20
.include "../../textproc/gtk-doc/buildlink3.mk"
@


1.53
log
@Bump PKGREVISION for perl-5.24.0 for everything mentioning perl.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.52 2016/04/28 22:18:58 jperkin Exp $
d10 1
a10 1
HOMEPAGE=		http://www.gnome.org/
@


1.52
log
@Fix SunOS cpu and network interface detection.  Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.51 2016/04/07 11:54:57 youri Exp $
d4 1
a4 1
PKGREVISION=		9
@


1.51
log
@Fix Darwin build.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.50 2016/02/26 10:24:13 jperkin Exp $
d4 1
a4 1
PKGREVISION=		8
@


1.50
log
@Use OPSYSVARS.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.49 2015/06/12 10:51:14 wiz Exp $
d57 1
a57 1
.elif ${OPSYS} == "Darwin" || ${OPSYS} == "DragonFly" || \
d69 2
@


1.49
log
@Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.48 2015/06/06 10:59:57 prlw1 Exp $
d45 4
a50 6
.if ${OPSYS} == NetBSD
CONFIGURE_ENV+=	fu_cv_sys_mounted_getmntinfo=yes
# needed since about 6.99.16
CPPFLAGS+=	-D_KMEMUSER
.endif

@


1.48
log
@Build fix from Kamil Rytarowski in PR pkg/49934.
While here set LICENSE.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.47 2014/05/29 23:37:29 wiz Exp $
d4 1
a4 1
PKGREVISION=		7
@


1.47
log
@Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.46 2014/02/21 20:32:12 joerg Exp $
d12 1
@


1.46
log
@Fix gtk-doc fallout.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.45 2013/05/31 12:42:01 wiz Exp $
d4 1
a4 1
PKGREVISION=		6
@


1.45
log
@Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.44 2013/02/26 15:54:16 jperkin Exp $
d4 1
a4 1
PKGREVISION=		5
d103 1
@


1.44
log
@Implement stubs for missing functions on Solaris.  This at least gets us a
working package - help fleshing them out with actual data is appreciated.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.43 2013/01/22 21:57:45 wiz Exp $
d4 1
a4 1
PKGREVISION=		4
@


1.43
log
@Fix build on NetBSD-current.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.42 2012/10/23 19:51:10 asau Exp $
a68 1
PLIST.suid.h=	yes
d76 1
a76 1
.if ${OPSYS} == "SunOS" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "DragonFly"
@


1.42
log
@Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.41 2012/10/03 21:57:39 wiz Exp $
d48 2
@


1.41
log
@Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.40 2012/09/15 10:06:29 obache Exp $
a12 2
PKG_DESTDIR_SUPPORT=	user-destdir

@


1.40
log
@recursive bump from libffi shlib major bump
(additionaly, reset PKGREVISION of qt4-* sub packages from base qt4 update)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.39 2012/03/03 00:11:55 wiz Exp $
d4 1
a4 1
PKGREVISION=		3
@


1.39
log
@Recursive bump for pcre-8.30* (shlib major change)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.38 2012/02/06 12:41:36 wiz Exp $
d4 1
a4 1
PKGREVISION=		2
@


1.38
log
@Revbump for
a) tiff update to 4.0 (shlib major change)
b) glib2 update 2.30.2 (adds libffi dependency to buildlink3.mk)

Enjoy.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.37 2012/01/19 19:43:56 drochner Exp $
d4 1
a4 1
PKGREVISION=		1
@


1.37
log
@update to 2.28.4
changes:
-Fix numerous bugs in the FreeBSD backend
-Split off OpenBSD code in its own backend, and fixes
-Updated translations
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.36 2011/11/12 00:40:34 dholland Exp $
d4 1
@


1.36
log
@No more libgtop.devhelp, update PLIST
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.35 2011/04/22 13:42:02 obache Exp $
d3 1
a3 2
DISTNAME=		libgtop-2.28.3
PKGREVISION=		2
@


1.35
log
@recursive bump from gettext-lib shlib bump.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.34 2011/04/13 17:05:20 drochner Exp $
d4 1
a4 1
PKGREVISION=		1
@


1.34
log
@update to 2.28.3
changes:
-bugfixes
-translation updates
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.33 2011/01/19 16:43:38 jmmv Exp $
d4 1
@


1.33
log
@Use SPECIAL_PERMS instead of relying on the package-specific Makefile from
doing the "right" thing (which it might not anyway because it does not check
error conditions).

Also set the package as 'user-destdir' because we don't need to do the install
as root any more.

Suggested by joerg@@.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.32 2011/01/18 13:46:38 jmmv Exp $
d3 1
a3 2
DISTNAME=		libgtop-2.28.2
PKGREVISION=		2
d17 1
@


1.32
log
@Fix the setting of permissions on libgtop_server2 when building with
destdir enabled (now the default)!  To do this, remove the logic from
our custom Makefile and make the logic shipped by the package do its
thing (which is smarter than us in this cse).

This lets libgtop work again, which in turn fixes stuff like the GNOME
system monitor or bug-buddy.

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.31 2010/11/28 12:55:46 drochner Exp $
d4 1
a4 1
PKGREVISION=		1
d13 1
a13 1
PKG_DESTDIR_SUPPORT=	destdir
d51 1
d53 13
a65 2
.if ${OPSYS} == "Linux"
#		nothing
d68 2
@


1.31
log
@update to 2.28.2
changes: translation updates
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2010/08/09 10:07:10 drochner Exp $
d4 1
a60 5
.if defined(PLIST.server)
post-install:
	${CHMOD} g+s ${DESTDIR}${PREFIX}/bin/libgtop_server2
.endif

@


1.30
log
@update to 2.28.1
changes: translation updates
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2009/10/22 17:11:44 drochner Exp $
d3 1
a3 1
DISTNAME=		libgtop-2.28.1
@


1.29
log
@update to 2.28.0
This switches to the gnome-2.28 release branch.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2009/08/27 20:03:17 ahoka Exp $
d3 1
a3 1
DISTNAME=		libgtop-2.28.0
@


1.28
log
@Add "model name" to the sysinfo hash table.
Fixes "Unknown CPU model" bug in gnome-system-monitor.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2009/07/11 13:14:13 hasso Exp $
d3 1
a3 2
DISTNAME=		libgtop-2.26.1
PKGREVISION=		2
d5 1
a5 1
MASTER_SITES=		${MASTER_SITE_GNOME:=sources/libgtop/2.26/}
d66 1
a66 1
.if ${OPSYS} == "Linux" || ${OPSYS} == "SunOS" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "DragonFly"
@


1.27
log
@Add support for DragonFly (incomplete, but builds). Fix PLIST for Linux,
Solaris and FreeBSD. Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2009/05/26 18:49:04 drochner Exp $
d4 1
a4 1
PKGREVISION=		1
@


1.26
log
@update to 2.26.1
change: (linux specific) also hide "none" fs
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2009/04/07 11:26:48 drochner Exp $
d4 1
d66 5
@


1.25
log
@minor fix for NetBSD: get netmask in the right byteorder
(this is ugly code, should use ioctl instead of kvm)
bump PKGREVISION
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2009/03/22 19:57:08 wiz Exp $
d3 1
a3 2
DISTNAME=		libgtop-2.26.0
PKGREVISION=		1
@


1.24
log
@Convert to destdir (not user-destdir, because of libgtop_server2).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2009/03/22 19:53:15 wiz Exp $
d4 1
@


1.23
log
@Update to 2.26.0:

1 Mars 2009: Overview of changes in 2.26.0
==========================================
* Nothing.

17 February 2009: Overview of changes in 2.25.91
================================================
* Synced with gnome-2-24.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2009/02/16 17:51:07 drochner Exp $
d12 2
d62 1
a62 1
	${CHMOD} g+s ${PREFIX}/bin/libgtop_server2
@


1.22
log
@update to 2.24.4
change: replaced GPL3 by GPL2
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2009/01/13 13:53:13 wiz Exp $
d3 1
a3 1
DISTNAME=		libgtop-2.24.4
d5 1
a5 1
MASTER_SITES=		${MASTER_SITE_GNOME:=sources/libgtop/2.24/}
@


1.21
log
@Update to 2.24.3:

12 January 2009: Overview of changes in 2.24.3
==============================================
* linux:
  - fixed potential memory leak. Vincent Untz.
  - fixed read(2) usage. Should fix the missing cpus bug in system-monitor.
* darwin:
  - fixed build. "paul".
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2008/11/16 20:31:09 wiz Exp $
d3 1
a3 1
DISTNAME=		libgtop-2.24.3
@


1.20
log
@Add processor affinity support, from Juan Romero Pardines -- thank you!
Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2008/11/15 19:34:11 wiz Exp $
d3 1
a3 2
DISTNAME=		libgtop-2.24.0
PKGREVISION=		1
@


1.19
log
@Update to 2.24.0.
New cpu affinity code (see changes for 2.23.2 below) is ifdef'd out.

22 Septembre 2008: Overview of changes in 2.24.0
================================================
* Translation updates.

18 August 2008: Overview of changes in 2.23.90
==============================================
* freebsd:
  - updated port by Joe Marcus Clarke.

23 June 2008: Overview of changes in 2.23.4
===========================================
* linux:
  - Fixed and improved glibtop_get_fsusage with kernel >= 2.6.25.
    Closes #539360.

24 May 2008: Overview of changes in 2.23.2
==========================================
* glibtop_get_proc_open_files API can also lists IPv6 TCP sockets.
* glibtop_get_proc_affinity : new API to retrieve process CPU affinity.

(Let's hope one day i'll find the gtk-doc documentation ...)

* linux:
  - fixed parsing of big /proc/stat for uptime.

04 April 2008: Overview of changes in 2.22.1
============================================
* Fixed compilation/dist for !linux.
  Closes #525953.

10 Mars 2008: Overview of changes in 2.22.0
===========================================
* linux:
  - fixed proc_kernel.

25 February 2008: Overview of changes in 2.21.92
================================================
* linux:
  - fixed smaps parsing on >= 2.6.24.x.

14 January 2008: Overview of changes in 2.21.5
==============================================
* freebsd:
  - fixed build on GNU/kfreebsd. Petr Salinger.
  - fixed procmem units. Kuang-che Wu.

28 October 2007: Overview of changes in 2.21.1
==============================================
* don't export _p/_s private symbols anymore. This is not an API/ABI breakage.
* darwin implementation by Benjamin Reed.
* linux:
  - splitted fsusage and mountlist implementations;
  - smarter mountlist(allfs = False);
  - fixed some compile warning on 64bit;
* solaris:
  - fixed netload build by Henry Zhang.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2008/04/12 22:43:12 jlam Exp $
d4 1
d30 1
a30 2
	cd ${WRKSRC}/sysdeps && \
		${CP} freebsd/procaffinity.c bsd/procaffinity.c
@


1.18
log
@Convert to use PLIST_VARS instead of manually passing "@@comment "
through PLIST_SUBST to the plist module.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2008/03/18 17:46:27 drochner Exp $
d3 1
a3 1
DISTNAME=		libgtop-2.20.2
d5 1
a5 1
MASTER_SITES=		${MASTER_SITE_GNOME:=sources/libgtop/2.20/}
d14 5
d21 5
a25 5
USE_LIBTOOL=		YES
PKGCONFIG_OVERRIDE=	libgtop-2.0.pc.in
PKGCONFIG_OVERRIDE+=	support/gnome-support-2.0.pc.in
INFO_FILES=		YES
TEXINFO_REQD=		4.6
d28 4
a37 6
GNU_CONFIGURE=		YES
CONFIGURE_ARGS+=	--with-glib-prefix=${BUILDLINK_PREFIX.glib2}
CONFIGURE_ARGS+=	--with-catgets --with-libgtop-guile=no
CONFIGURE_ARGS+=	--without-x
CONFIGURE_ENV+=		LN_S="${LN} -s"

d84 1
a85 2

.include "../../devel/gettext-lib/buildlink3.mk"
d87 2
a88 2
.include "../../devel/libgnome/buildlink3.mk"
.include "../../devel/popt/buildlink3.mk"
@


1.17
log
@remove a check which allows only selected NetBSD archs tu build.
There is no machine dependency in the NetBSD support code, and even
if there is some left, a compiler error message is more helpful than
"make" rejecting it from the beginnng.
in response to PR pkg/38252 by Stuart Shelton
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2008/03/12 21:43:30 drochner Exp $
d46 1
d48 1
a48 2
PLIST_SUBST+=	LIBGTOP_SERVER="@@comment "
PLIST_SUBST+=	LIBGTOP_SUID_H="@@comment "
d50 1
a50 2
PLIST_SUBST+=	LIBGTOP_SERVER=""
PLIST_SUBST+=	LIBGTOP_SUID_H="@@comment "
d52 2
a53 2
PLIST_SUBST+=	LIBGTOP_SERVER=""
PLIST_SUBST+=	LIBGTOP_SUID_H=""
d56 1
a56 1
.if ${OPSYS} != "Linux"
@


1.16
log
@update to 2.20.2
mostly cosmetical, just fix a linux specific issue
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2008/03/06 14:53:54 wiz Exp $
a42 1

a43 12

.  if (${MACHINE_ARCH} != alpha) && \
	(${MACHINE_ARCH} != arm) && (${MACHINE_ARCH} != arm32) && \
	(${MACHINE_ARCH} != i386) && (${MACHINE_ARCH} != m68k) && \
	(${MACHINE_ARCH} != mipsel) && (${MACHINE_ARCH} != powerpc) && \
	(${MACHINE_ARCH} != sparc) && (${MACHINE_ARCH} != sparc64) && \
	(${MACHINE_ARCH} != x86_64)
PKG_FAIL_REASON+=	"${PKGNAME} has not yet been ported to ${MACHINE_ARCH}."
PKG_FAIL_REASON+=	"Please look at /usr/include/${MACHINE_ARCH}/pcb.h"
PKG_FAIL_REASON+=	"and update ${WRKSRC}/sysdeps/freebsd/prockernel.c appropriately."
PKG_FAIL_REASON+=	"(More information can be found in libgtop.info.)"
.  endif
@


1.15
log
@Recursive PKGREVISION bump for gnutls-2.2.2 update with shlib major bump.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2008/01/11 12:50:36 drochner Exp $
d3 1
a3 2
DISTNAME=		libgtop-2.20.1
PKGREVISION=		1
@


1.14
log
@update to 2.20.1
changes: minor fixes for FreeBSD
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2007/11/05 19:06:02 drochner Exp $
d4 1
@


1.13
log
@update to 2.20.0
This switches to the new gnome-2.20 branch.

pkgsrc notes:
-System dependant parts were reorganized upstream, in particular there
 if a subtree for FreeBSD now, and one for the other BSDs. I didn't
 pull in the DragonFly patches because I can't decide whether to base
 them on the freebsd or the rest.
-I've changed the NetBSD code to use kinfo_proc2 almost completely.
 Some vm statistics reporting might be less accurate now because
 some fields in proc2 seem to be unmaintained by the current kernel
 (eg ixrss).
-Also, some libgtop functions might be able to run in the non-privileged
 part now, but dealing with this would require even more #ifdefs, so
 we should consider setting up a private subtree as FreeBSD did.
-I didn't verify with older NetBSDs; kvm_getproc2() has been in the
 tree for quite some time so I hope it will just work without the need
 for excessive "#if __NetBSD_Version__ > t".
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2007/09/21 13:04:19 wiz Exp $
d3 1
a3 1
DISTNAME=		libgtop-2.20.0
@


1.12
log
@Fix paths for GConf, libglade, libart, libsigc++, lablgtk moves.
Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2007/09/20 21:12:04 wiz Exp $
d3 1
a3 2
DISTNAME=		libgtop-2.14.2
PKGREVISION=		6
d5 1
a5 1
MASTER_SITES=		${MASTER_SITE_GNOME:=sources/libgtop/2.14/}
d43 3
@


1.11
log
@Rename libgtop2 to libgtop, to match upstream name.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.43 2007/09/19 23:19:08 wiz Exp $
d4 1
a4 1
PKGREVISION=		5
@


1.10
log
@Remove gnome1 packages except as needed for gnucash.
Ok'd by jmmv@@ and rh@@ (gnome 1 maintainers).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2005/04/11 21:47:25 tv Exp $
d3 1
a3 1
DISTNAME=		libgtop-1.0.13
d6 1
a6 1
MASTER_SITES=		${MASTER_SITE_GNOME:=sources/libgtop/1.0/}
d9 1
a9 1
MAINTAINER=		jmmv@@NetBSD.org
d11 1
a11 1
COMMENT=		Library to retrieve system information, used in GNOME
d13 1
a13 1
BUILD_USES_MSGFMT=	yes
d15 25
a39 2
NOT_FOR_PLATFORM=	SunOS-*-*
OSVERSION_SPECIFIC=	yes
d44 1
a44 1
.  if (${MACHINE_ARCH} != alpha) && (${MACHINE_ARCH} != x86_64) && \
d48 3
a50 2
	(${MACHINE_ARCH} != sparc) && (${MACHINE_ARCH} != sparc64)
PKG_FAIL_REASON=	"${PKGNAME} has not yet been ported to ${MACHINE_ARCH}."
d52 1
a52 1
PKG_FAIL_REASON+=	"and update patches/patch-al appropriately."
d57 26
a82 7
USE_PERL5=		build
USE_PKGLOCALEDIR=	yes
USE_X11BASE=		YES
USE_GNU_TOOLS+=		make
USE_LIBTOOL=		YES
USE_MAKEINFO=		YES
INFO_FILES=		libgtop.info
d84 8
a91 5
# The following flags are for debugging purposes.  They don't need to
# be used unless you are actively developing/debugging libgtop.
#CPPFLAGS+=		-DLIBGTOP_ENABLE_DEBUG -DLIBGTOP_FATAL_WARNINGS
#CFLAGS+=		-g
#LDFLAGS+=		-g
d93 1
a93 4
GNU_CONFIGURE=		YES
CONFIGURE_ARGS+=	--with-glib-prefix=${BUILDLINK_PREFIX.glib} \
			--with-catgets --with-libgtop-guile=no
CONFIGURE_ENV+=		AWK="${AWK}" LN_S="${LN} -s" PERL="${PERL5}"
d96 3
a98 1
.include "../../x11/gnome-libs/buildlink3.mk"
@


1.9
log
@Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2004/10/03 00:18:15 tv Exp $
@


1.8
log
@Libtool fix for PR pkg/26633, and other issues.  Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2004/04/26 05:44:05 snj Exp $
a33 1
USE_BUILDLINK3=		yes
@


1.7
log
@Convert to buildlink3.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2004/04/05 09:07:56 tron Exp $
d4 1
a4 1
PKGREVISION=		4
@


1.6
log
@Julio M. Merino Vidal is now the maintainer of this package.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2004/04/02 12:13:57 jmmv Exp $
d34 1
a34 1
USE_BUILDLINK2=		yes
d53 2
a54 2
.include "../../devel/gettext-lib/buildlink2.mk"
.include "../../x11/gnome-libs/buildlink2.mk"
@


1.5
log
@Finish move of libgtop from devel to sysutils, incomplete due to conflicts...
So I now see the package was previously here; the reason for the move is to
lighten a bit the devel category, which has lots of packages.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.79 2004/03/01 03:39:56 kristerw Exp $
d9 1
a9 1
MAINTAINER=		tron@@NetBSD.org
@


1.4
log
@Move "libgtop" package to "devel" category.
@
text
@d1 1
a1 2
# $NetBSD: Makefile,v 1.3 1998/10/18 22:34:00 tron Exp $
#
d3 49
a51 25
DISTNAME=	libgtop-0.26.0
CATEGORIES=	sysutils
MASTER_SITES=	ftp://ftp.jimpick.com/pub/mirrors/gnome/sources/ \
		ftp://ftp.gnome.org/pub/GNOME/sources/ \
		ftp://ftp.geo.net/pub/gnome/sources/

MAINTAINER=	packages@@netbsd.org
HOMEPAGE=	http://www.gnome.org/

DEPENDS+=	gnome-libs-0.30.1:../../x11/gnome-libs
DEPENDS+=	guile-1.2:../../lang/guile
DEPENDS+=	gettext-0.10:../../misc/gettext

NOT_FOR_ARCHS=	alpha	# problems with gtk

GNU_CONFIGURE=	yes
USE_GMAKE=	yes
USE_LIBTOOL=	yes

CONFIGURE_ARGS+=	--with-glib-prefix=${LOCALBASE} \
			--with-libgtop-guile --with-catgets
CONFIGURE_ENV+=		LOCALBASE=${LOCALBASE} X11BASE=${X11BASE}

post-extract:
	@@${MV} ${WRKSRC}/sysdeps/freebsd ${WRKSRC}/sysdeps/bsd
d53 2
@


1.3
log
@Remove unnecessary remainders of the "gnome-libs" package.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 1998/10/18 22:12:40 tron Exp $
@


1.2
log
@Whoever is the maintainer of this package it is not me.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1.1.1 1998/10/07 13:11:35 agc Exp $
d23 1
a23 4
LOCALSTATEDIR=	/var/gnome

CONFIGURE_ARGS+=	--localstatedir=${LOCALSTATEDIR} \
			--with-glib-prefix=${LOCALBASE} \
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $NetBSD$
d10 1
a10 1
MAINTAINER=	tron@@netbsd.org
@


1.1.1.1
log
@Initial import of libgtop-0.26 into the Packages Collection.  This is
part of the GNOME project, and is used to retrieve system information,
such as CPU usage etc.
This is not yet complete, but is functional to the point where the
whole thing compiles and installs.  Someone else can pick this up and
run with it now.
@
text
@@


1.1.1.2
log
@Move libgtop to the sysutils category, coming from devel.
This is version 1.0.13nb4.
@
text
@d1 2
a2 1
# $NetBSD: Makefile,v 1.79 2004/03/01 03:39:56 kristerw Exp $
d4 28
a31 49
DISTNAME=		libgtop-1.0.13
PKGREVISION=		4
CATEGORIES=		sysutils gnome
MASTER_SITES=		${MASTER_SITE_GNOME:=sources/libgtop/1.0/}
EXTRACT_SUFX=		.tar.bz2

MAINTAINER=		tron@@NetBSD.org
HOMEPAGE=		http://www.gnome.org/
COMMENT=		Library to retrieve system information, used in GNOME

BUILD_USES_MSGFMT=	yes

NOT_FOR_PLATFORM=	SunOS-*-*
OSVERSION_SPECIFIC=	yes

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} == NetBSD
.  if (${MACHINE_ARCH} != alpha) && (${MACHINE_ARCH} != x86_64) && \
	(${MACHINE_ARCH} != arm) && (${MACHINE_ARCH} != arm32) && \
	(${MACHINE_ARCH} != i386) && (${MACHINE_ARCH} != m68k) && \
	(${MACHINE_ARCH} != mipsel) && (${MACHINE_ARCH} != powerpc) && \
	(${MACHINE_ARCH} != sparc) && (${MACHINE_ARCH} != sparc64)
PKG_FAIL_REASON=	"${PKGNAME} has not yet been ported to ${MACHINE_ARCH}."
PKG_FAIL_REASON+=	"Please look at /usr/include/${MACHINE_ARCH}/pcb.h"
PKG_FAIL_REASON+=	"and update patches/patch-al appropriately."
PKG_FAIL_REASON+=	"(More information can be found in libgtop.info.)"
.  endif
.endif

USE_PERL5=		build
USE_BUILDLINK2=		yes
USE_PKGLOCALEDIR=	yes
USE_X11BASE=		YES
USE_GNU_TOOLS+=		make
USE_LIBTOOL=		YES
USE_MAKEINFO=		YES
INFO_FILES=		libgtop.info

# The following flags are for debugging purposes.  They don't need to
# be used unless you are actively developing/debugging libgtop.
#CPPFLAGS+=		-DLIBGTOP_ENABLE_DEBUG -DLIBGTOP_FATAL_WARNINGS
#CFLAGS+=		-g
#LDFLAGS+=		-g

GNU_CONFIGURE=		YES
CONFIGURE_ARGS+=	--with-glib-prefix=${BUILDLINK_PREFIX.glib} \
			--with-catgets --with-libgtop-guile=no
CONFIGURE_ENV+=		AWK="${AWK}" LN_S="${LN} -s" PERL="${PERL5}"
a32 2
.include "../../devel/gettext-lib/buildlink2.mk"
.include "../../x11/gnome-libs/buildlink2.mk"
@

