2006-01-04 17:09:55 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.24 2006/01/04 22:09:55 naddy Exp $
|
2001-09-13 16:45:46 -04:00
|
|
|
|
|
|
|
COMMENT= "portable library for obtaining system information"
|
2002-09-20 04:15:15 -04:00
|
|
|
|
|
|
|
DISTNAME= libgtop-1.0.13
|
2006-01-04 17:09:55 -05:00
|
|
|
PKGNAME= ${DISTNAME}p3
|
2006-01-03 13:07:27 -05:00
|
|
|
SHARED_LIBS= gtop 1.12 \
|
|
|
|
gtop_common 1.12 \
|
|
|
|
gtop_guile 1.12 \
|
|
|
|
gtop_guile_names 1.12 \
|
|
|
|
gtop_names 1.12 \
|
|
|
|
gtop_suid_common 1.12 \
|
|
|
|
gtop_sysdeps 1.12 \
|
|
|
|
gtop_sysdeps_suid 1.12 \
|
|
|
|
gnomesupport 0.0
|
|
|
|
MODGNU_SHARED_LIBS= gtop '' \
|
|
|
|
gtop_common '' \
|
|
|
|
gtop_guile '' \
|
|
|
|
gtop_guile_names '' \
|
|
|
|
gtop_names '' \
|
|
|
|
gtop_suid_common '' \
|
|
|
|
gtop_sysdeps '' \
|
|
|
|
gtop_sysdeps_suid '' \
|
|
|
|
gnomesupport ''
|
|
|
|
|
2001-09-13 16:45:46 -04:00
|
|
|
CATEGORIES= devel
|
2002-09-20 04:15:15 -04:00
|
|
|
|
2002-12-03 17:45:32 -05:00
|
|
|
MAINTAINER= Jim Geovedi <jim@corebsd.or.id>
|
2001-09-13 16:45:46 -04:00
|
|
|
|
2002-09-20 04:15:15 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libgtop/1.0/}
|
2001-09-13 16:45:46 -04:00
|
|
|
|
|
|
|
FLAVORS= gnome guile
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-11-23 16:34:27 -05:00
|
|
|
WANTLIB= c kvm
|
2001-09-13 16:45:46 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
2001-09-19 10:37:49 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2001-09-13 16:45:46 -04:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
2004-08-10 08:42:21 -04:00
|
|
|
MODULES= devel/gettext
|
2001-10-24 21:58:54 -04:00
|
|
|
LIB_DEPENDS= glib.1.2::devel/glib
|
2005-12-04 07:17:47 -05:00
|
|
|
USE_LIBTOOL= Yes
|
2001-10-07 16:55:10 -04:00
|
|
|
|
2001-09-13 16:45:46 -04:00
|
|
|
.if ${FLAVOR:L:Mgnome}
|
2005-12-04 07:17:47 -05:00
|
|
|
LIB_DEPENDS+= gnomesupport::x11/gnome/libs
|
2004-11-23 16:34:27 -05:00
|
|
|
WANTLIB+= m z
|
2001-09-13 16:45:46 -04:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-gnome
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mguile}
|
2002-06-09 01:31:40 -04:00
|
|
|
BUILD_DEPENDS+= :guile-*:lang/guile
|
|
|
|
RUN_DEPENDS+= :guile-*:lang/guile
|
2001-09-13 16:45:46 -04:00
|
|
|
CONFIGURE_ARGS+= --with-libgtop-guile=yes
|
2004-11-23 16:34:27 -05:00
|
|
|
WANTLIB+= m
|
2001-09-13 16:45:46 -04:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --with-libgtop-guile=no
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|