- Add STAGE support
PR: ports/190565 Submitted by: maintainer
This commit is contained in:
parent
b689f50b01
commit
85266fdd53
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356427
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= asmon
|
||||
PORTVERSION= 0.61
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= sysutils afterstep
|
||||
MASTER_SITES= ${MASTER_SITE_AFTERSTEP}
|
||||
MASTER_SITE_SUBDIR= apps/asmon
|
||||
@ -11,6 +11,8 @@ 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
|
||||
@ -23,11 +25,11 @@ MAKE_ARGS+= LIBDIR="-L${LOCALBASE}/lib" \
|
||||
|
||||
PLIST_FILES= bin/asmon
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's:gcc:${CC} ${CFLAGS}:' ${BUILD_WRKSRC}/Makefile
|
||||
|
||||
do-install:
|
||||
${INSTALL} ${COPY} ${STRIP} -o ${BINOWN} -g kmem -m 2755 ${WRKSRC}/asmon/asmon ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/asmon/asmon ${STAGEDIR}${PREFIX}/bin
|
||||
${CHGRP} kmem ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user