2004-02-14 18:21:32 +01:00
|
|
|
# $NetBSD: Makefile,v 1.78 2004/02/14 17:21:38 jlam Exp $
|
1998-10-07 15:11:35 +02:00
|
|
|
|
2002-11-04 01:48:32 +01:00
|
|
|
DISTNAME= libgtop-1.0.13
|
2004-01-03 19:49:33 +01:00
|
|
|
PKGREVISION= 4
|
1999-05-24 22:39:35 +02:00
|
|
|
CATEGORIES= devel gnome
|
2002-10-19 12:54:42 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libgtop/1.0/}
|
2002-11-04 01:48:32 +01:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
1998-10-07 15:11:35 +02:00
|
|
|
|
2003-07-17 23:31:04 +02:00
|
|
|
MAINTAINER= tron@NetBSD.org
|
2002-11-04 01:48:32 +01:00
|
|
|
HOMEPAGE= http://www.gnome.org/
|
2003-07-21 18:35:12 +02:00
|
|
|
COMMENT= Library to retrieve system information, used in GNOME
|
1998-10-07 15:11:35 +02:00
|
|
|
|
2001-03-27 05:19:43 +02:00
|
|
|
BUILD_USES_MSGFMT= yes
|
1998-10-07 15:11:35 +02:00
|
|
|
|
2000-11-26 10:32:11 +01:00
|
|
|
NOT_FOR_PLATFORM= SunOS-*-*
|
2000-11-25 13:42:48 +01:00
|
|
|
OSVERSION_SPECIFIC= yes
|
2000-06-24 18:40:57 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
2002-12-07 03:38:52 +01:00
|
|
|
|
2000-06-24 18:40:57 +02:00
|
|
|
.if ${OPSYS} == NetBSD
|
2004-01-22 09:47:32 +01:00
|
|
|
. 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)
|
2002-12-07 03:38:52 +01:00
|
|
|
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.)"
|
2004-01-22 09:47:32 +01:00
|
|
|
. endif
|
2000-06-24 18:40:57 +02:00
|
|
|
.endif
|
1999-11-14 19:49:52 +01:00
|
|
|
|
2002-11-04 01:48:32 +01:00
|
|
|
USE_PERL5= build
|
|
|
|
USE_BUILDLINK2= yes
|
2002-12-01 00:21:32 +01:00
|
|
|
USE_PKGLOCALEDIR= yes
|
2001-04-06 23:52:11 +02:00
|
|
|
USE_X11BASE= YES
|
2004-01-22 09:24:28 +01:00
|
|
|
USE_GNU_TOOLS+= make
|
2001-04-06 23:52:11 +02:00
|
|
|
USE_LIBTOOL= YES
|
2003-06-23 13:23:25 +02:00
|
|
|
USE_MAKEINFO= YES
|
|
|
|
INFO_FILES= libgtop.info
|
1999-08-30 10:54:03 +02:00
|
|
|
|
2000-07-30 04:52:20 +02:00
|
|
|
# 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
|
1999-08-30 10:54:03 +02:00
|
|
|
|
2001-04-06 23:52:11 +02:00
|
|
|
GNU_CONFIGURE= YES
|
2002-10-21 16:59:59 +02:00
|
|
|
CONFIGURE_ARGS+= --with-glib-prefix=${BUILDLINK_PREFIX.glib} \
|
2002-08-26 22:55:03 +02:00
|
|
|
--with-catgets --with-libgtop-guile=no
|
|
|
|
CONFIGURE_ENV+= AWK="${AWK}" LN_S="${LN} -s" PERL="${PERL5}"
|
1998-10-07 15:11:35 +02:00
|
|
|
|
2002-10-21 16:59:59 +02:00
|
|
|
.include "../../devel/gettext-lib/buildlink2.mk"
|
|
|
|
.include "../../x11/gnome-libs/buildlink2.mk"
|
1998-10-07 15:11:35 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|