2000-06-23 15:14:38 +02:00
|
|
|
# New ports collection makefile for: asmon
|
1999-10-05 18:30:00 +02:00
|
|
|
# Date created: 27 Sep 1999
|
|
|
|
# Whom: jack
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-09 21:09:11 +02:00
|
|
|
PORTNAME= asmon
|
2000-04-22 12:14:11 +02:00
|
|
|
PORTVERSION= 0.60
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 2
|
1999-10-05 18:30:00 +02:00
|
|
|
CATEGORIES= sysutils afterstep
|
2000-06-23 15:14:38 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_AFTERSTEP}
|
|
|
|
MASTER_SITE_SUBDIR= apps/asmon
|
1999-10-05 18:30:00 +02:00
|
|
|
|
2003-11-19 20:28:40 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 14:28:59 +01:00
|
|
|
COMMENT= A swallowable applet monitors the CPU usage, memory and swap, etc
|
1999-10-05 18:30:00 +02:00
|
|
|
|
2008-03-25 23:44:48 +01:00
|
|
|
USE_XORG= xpm x11
|
2000-08-03 09:59:31 +02:00
|
|
|
|
2005-04-20 16:18:31 +02:00
|
|
|
BUILD_WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/asmon
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
1999-10-05 18:30:00 +02:00
|
|
|
USE_GMAKE= yes
|
2009-03-24 16:08:17 +01:00
|
|
|
ALL_TARGET= asmon
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
MAKE_ARGS+= LIBDIR="-L${LOCALBASE}/lib" \
|
2005-04-20 16:18:31 +02:00
|
|
|
SOLARIS_LIBS=-lkvm
|
|
|
|
|
|
|
|
PLIST_FILES= bin/asmon
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e 's:gcc:${CC} ${CFLAGS}:' ${BUILD_WRKSRC}/Makefile
|
2009-03-24 16:08:17 +01:00
|
|
|
${RM} ${WRKSRC}/wmgeneral/*.o $(BUILD_WRKSRC}/asmon
|
1999-10-05 18:30:00 +02:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL} ${COPY} ${STRIP} -o ${BINOWN} -g kmem -m 2755 ${WRKSRC}/asmon/asmon ${PREFIX}/bin
|
|
|
|
|
2005-04-20 16:18:31 +02:00
|
|
|
.include <bsd.port.mk>
|