openbsd-ports/devel/libgtop/Makefile

57 lines
1.5 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.32 2007/03/15 11:30:07 jolan Exp $
COMMENT= "portable library for obtaining system information"
DISTNAME= libgtop-1.0.13
PKGNAME= ${DISTNAME}p6
2006-10-28 07:19:20 -04:00
SHARED_LIBS += gnomesupport 0.0 # .0.0
2006-10-31 03:41:54 -05:00
SHARED_LIBS += gtop_sysdeps 1.12 # .1.12
SHARED_LIBS += gtop_sysdeps_suid 1.12 # .1.12
2006-10-31 05:07:43 -05:00
SHARED_LIBS += gtop_common 1.12 # .1.12
SHARED_LIBS += gtop_suid_common 1.12 # .1.12
SHARED_LIBS += gtop_names 1.12 # .1.12
SHARED_LIBS += gtop_guile_names 1.12 # .1.12
SHARED_LIBS += gtop_guile 1.12 # .1.12
SHARED_LIBS += gtop 1.12 # .1.12
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libgtop/1.0/}
FLAVORS= gnome guile
FLAVOR?=
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c kvm Xau
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
2004-08-10 08:42:21 -04:00
MODULES= devel/gettext
2006-08-01 18:55:52 -04:00
LIB_DEPENDS= glib.>=1.2::devel/glib
USE_LIBTOOL= Yes
2006-11-11 16:04:27 -05:00
USE_X11= Yes
.if ${FLAVOR:L:Mgnome}
LIB_DEPENDS+= gnomesupport::x11/gnome/libs
2004-11-23 16:34:27 -05:00
WANTLIB+= m z
.else
CONFIGURE_ARGS+= --without-gnome
.endif
.if ${FLAVOR:L:Mguile}
BUILD_DEPENDS+= :guile-*:lang/guile
RUN_DEPENDS+= :guile-*:lang/guile
CONFIGURE_ARGS+= --with-libgtop-guile=yes
2004-11-23 16:34:27 -05:00
WANTLIB+= m
.else
CONFIGURE_ARGS+= --with-libgtop-guile=no
.endif
.include <bsd.port.mk>