mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
85266fdd53
PR: ports/190565 Submitted by: maintainer
36 lines
789 B
Makefile
36 lines
789 B
Makefile
# Created by: jack
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= asmon
|
|
PORTVERSION= 0.61
|
|
PORTREVISION= 3
|
|
CATEGORIES= sysutils afterstep
|
|
MASTER_SITES= ${MASTER_SITE_AFTERSTEP}
|
|
MASTER_SITE_SUBDIR= apps/asmon
|
|
|
|
MAINTAINER= 5u623l20@gmail.com
|
|
COMMENT= Swallowable applet monitors the CPU usage, memory, and swap, etc
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USE_XORG= xpm x11
|
|
|
|
BUILD_WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/asmon
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
USES= gmake
|
|
USE_CSTD= gnu89
|
|
ALL_TARGET= asmon
|
|
MAKE_ARGS+= LIBDIR="-L${LOCALBASE}/lib" \
|
|
SOLARIS_LIBS=-lkvm
|
|
|
|
PLIST_FILES= bin/asmon
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's:gcc:${CC} ${CFLAGS}:' ${BUILD_WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/asmon/asmon ${STAGEDIR}${PREFIX}/bin
|
|
${CHGRP} kmem ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
|
|
.include <bsd.port.mk>
|