2002-05-09 00:19:41 +02:00
|
|
|
# New ports collection makefile for: libgtop2
|
|
|
|
# Date Created: 29 April 2002
|
|
|
|
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
|
1998-09-30 15:49:17 +02:00
|
|
|
#
|
1999-08-25 07:57:29 +02:00
|
|
|
# $FreeBSD$
|
2007-10-25 01:37:25 +02:00
|
|
|
# $MCom: ports/devel/libgtop/Makefile,v 1.24 2007/09/16 17:22:25 ahze Exp $
|
2007-01-25 18:58:31 +01:00
|
|
|
#
|
1998-09-30 15:49:17 +02:00
|
|
|
|
2006-05-28 07:04:56 +02:00
|
|
|
PORTNAME= libgtop
|
2008-01-08 06:08:51 +01:00
|
|
|
PORTVERSION= 2.20.1
|
2008-02-14 18:28:19 +01:00
|
|
|
PORTREVISION= 1
|
1999-01-31 20:03:49 +01:00
|
|
|
CATEGORIES= devel gnome
|
1999-02-25 02:17:23 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
2006-05-28 07:04:56 +02:00
|
|
|
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
|
2002-05-09 00:19:41 +02:00
|
|
|
DIST_SUBDIR= gnome2
|
1998-09-30 15:49:17 +02:00
|
|
|
|
2001-05-11 18:36:50 +02:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2003-05-16 07:46:01 +02:00
|
|
|
COMMENT= GNOME 2 top library
|
1998-09-30 15:49:17 +02:00
|
|
|
|
2003-10-23 21:41:20 +02:00
|
|
|
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
|
2007-10-25 01:37:25 +02:00
|
|
|
RUN_DEPENDS= lsof:${PORTSDIR}/sysutils/lsof
|
2003-10-23 21:41:20 +02:00
|
|
|
|
2002-05-09 00:19:41 +02:00
|
|
|
USE_BZIP2= yes
|
2006-04-30 02:47:21 +02:00
|
|
|
USE_PERL5_BUILD=yes
|
|
|
|
USE_GETTEXT= yes
|
1999-03-09 02:13:40 +01:00
|
|
|
USE_GMAKE= yes
|
2006-07-28 08:50:38 +02:00
|
|
|
USE_GNOME= gnomehack glib20 ltverhack intlhack
|
2006-10-14 10:35:50 +02:00
|
|
|
USE_LDCONFIG= yes
|
2006-04-30 02:47:21 +02:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2007-07-23 11:36:51 +02:00
|
|
|
CONFIGURE_ARGS= --disable-gtk-doc \
|
2006-12-03 20:52:29 +01:00
|
|
|
--with-html-dir=${PREFIX}/share/doc
|
1999-05-30 05:45:40 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2003-05-16 07:46:01 +02:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
1998-09-30 15:49:17 +02:00
|
|
|
|
2003-08-14 00:59:24 +02:00
|
|
|
INFO= libgtop2
|
|
|
|
|
2005-06-10 05:17:18 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} >= 600000
|
|
|
|
PKGMESSAGE= ${FILESDIR}/pkg-message
|
|
|
|
.endif
|
|
|
|
|
2000-06-01 18:10:38 +02:00
|
|
|
post-install:
|
2002-05-09 07:52:01 +02:00
|
|
|
@${CHGRP} kmem ${PREFIX}/bin/libgtop_server2
|
|
|
|
@${CHMOD} 2555 ${PREFIX}/bin/libgtop_server2
|
2005-06-10 05:17:18 +02:00
|
|
|
.if ${OSVERSION} >= 600000
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.endif
|
2000-06-01 18:10:38 +02:00
|
|
|
|
2005-06-10 05:17:18 +02:00
|
|
|
.include <bsd.port.post.mk>
|