2002-11-04 01:48:32 +01:00
|
|
|
# $NetBSD: Makefile,v 1.64 2002/11/04 00:48:32 rh Exp $
|
1998-10-07 15:11:35 +02:00
|
|
|
|
2002-11-04 01:48:32 +01:00
|
|
|
DISTNAME= libgtop-1.0.13
|
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
|
|
|
|
1999-10-23 01:47:58 +02:00
|
|
|
MAINTAINER= tron@netbsd.org
|
2002-11-04 01:48:32 +01:00
|
|
|
HOMEPAGE= http://www.gnome.org/
|
2001-02-16 15:38:16 +01: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"
|
|
|
|
.if ${OPSYS} == NetBSD
|
2000-11-26 10:32:11 +01:00
|
|
|
.if (${MACHINE_ARCH} != alpha) && (${MACHINE_ARCH} != arm32) && \
|
|
|
|
(${MACHINE_ARCH} != i386) && (${MACHINE_ARCH} != m68k) && \
|
|
|
|
(${MACHINE_ARCH} != mipsel) && (${MACHINE_ARCH} != powerpc) && \
|
2002-01-01 10:57:03 +01:00
|
|
|
(${MACHINE_ARCH} != sparc) && (${MACHINE_ARCH} != sparc64)
|
2000-08-21 23:01:29 +02:00
|
|
|
IGNORE= "${PKGNAME} has not yet been ported to ${MACHINE_ARCH}."
|
2000-06-24 18:40:57 +02:00
|
|
|
IGNORE+= "Please look at /usr/include/${MACHINE_ARCH}/pcb.h"
|
|
|
|
IGNORE+= "and update patches/patch-al appropriately."
|
|
|
|
IGNORE+= "(More information can be found in libgtop.info.)"
|
|
|
|
.endif
|
|
|
|
.endif
|
1999-11-14 19:49:52 +01:00
|
|
|
|
2002-11-04 01:48:32 +01:00
|
|
|
USE_PERL5= build
|
|
|
|
USE_BUILDLINK2= yes
|
2001-04-06 23:52:11 +02:00
|
|
|
USE_X11BASE= YES
|
|
|
|
USE_GMAKE= YES
|
|
|
|
USE_LIBTOOL= YES
|
2002-11-04 01:48:32 +01:00
|
|
|
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
|
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}"
|
2002-11-04 01:48:32 +01:00
|
|
|
CONFIGURE_ENV+= PKGLOCALEDIR="${PKGLOCALEDIR}"
|
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"
|
2002-02-18 16:14:00 +01:00
|
|
|
.include "../../mk/texinfo.mk"
|
1998-10-07 15:11:35 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|