freebsd-ports/devel/libgtop/Makefile
Joe Marcus Clarke a4167bdece Fix build on -CURRENT by moving to a pure libkvm API. Thanks to julian for
pointing me in this direction.  This should hopefully be more portable
moving forward.  Bump PORTREVISION since the changes affect -stable as well.
2002-10-05 16:21:50 +00:00

38 lines
916 B
Makefile

# New ports collection makefile for: libgtop
# Date Created: 26 Sep 1998
# Whom: Vanilla I. Shu <vanilla@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= libgtop
PORTVERSION= 1.0.13
PORTREVISION= 2
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/libgtop/1.0
MAINTAINER= gnome@FreeBSD.org
LIB_DEPENDS= guile.10:${PORTSDIR}/lang/guile
USE_PERL5= yes
USE_GMAKE= yes
USE_REINPLACE= yes
USE_GNOMENG= yes
USE_GNOME= gnomelibs
INSTALLS_SHLIB= yes
USE_LIBTOOL= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
post-install:
install-info --section="Programming \& development tools" \
--entry="* libgtop: (libgtop). libgtop programming manual" \
${PREFIX}/info/libgtop.info ${PREFIX}/info/dir
.include <bsd.port.mk>