Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jun 2014 03:57:12 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r356427 - head/sysutils/asmon
Message-ID:  <201406040357.s543vCYx026998@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Wed Jun  4 03:57:11 2014
New Revision: 356427
URL: http://svnweb.freebsd.org/changeset/ports/356427
QAT: https://qat.redports.org/buildarchive/r356427/

Log:
  - Add STAGE support
  
  PR:		ports/190565
  Submitted by:	maintainer

Modified:
  head/sysutils/asmon/Makefile

Modified: head/sysutils/asmon/Makefile
==============================================================================
--- head/sysutils/asmon/Makefile	Wed Jun  4 03:56:51 2014	(r356426)
+++ head/sysutils/asmon/Makefile	Wed Jun  4 03:57:11 2014	(r356427)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406040357.s543vCYx026998>