1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00
freebsd-ports/sysutils/asmon/Makefile
Mark Linimon a3973d3826 These ports now build on powerpc64.
While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
2018-12-05 20:01:10 +00:00

38 lines
1.0 KiB
Makefile

# Created by: jack
# $FreeBSD$
PORTNAME= asmon
PORTVERSION= 0.61
PORTREVISION= 3
CATEGORIES= sysutils afterstep
MASTER_SITES= AFTERSTEP/apps/asmon
MAINTAINER= bofh@FreeBSD.org
COMMENT= Swallowable applet monitors the CPU usage, memory, and swap, etc
LICENSE= GPLv2
BROKEN_FreeBSD_12= fails to compile: read_mem.c: invalid use of undefined type 'struct vmmeter'
BROKEN_FreeBSD_13= fails to compile: read_mem.c: invalid use of undefined type 'struct vmmeter'
BROKEN_mips= fails to compile: asmon.c: storage size of 'sum' isn't known
BROKEN_mips64= fails to compile: asmon.c: storage size of 'sum' isn't known
BUILD_WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/asmon
CFLAGS+= -I${LOCALBASE}/include
USES= gmake
USE_CSTD= gnu89
USE_XORG= xpm x11
ALL_TARGET= asmon
MAKE_ARGS+= LIBDIR="-L${LOCALBASE}/lib" \
SOLARIS_LIBS=-lkvm
PLIST_FILES= "@(,kmem,) bin/asmon"
post-patch:
${REINPLACE_CMD} -e 's:gcc:${CC} ${CFLAGS}:' ${BUILD_WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/asmon/asmon ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>