Date: Sun, 19 Jan 2014 00:09:37 +0000 (UTC) From: Danilo Egea Gondolfo <danilo@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r340224 - head/sysutils/atop Message-ID: <201401190009.s0J09bGs011233@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danilo Date: Sun Jan 19 00:09:37 2014 New Revision: 340224 URL: http://svnweb.freebsd.org/changeset/ports/340224 QAT: https://qat.redports.org/buildarchive/r340224/ Log: - Update from 2.0.2.b2 to 2.0.2.b3 while here - Add stage support PR: ports/185806 Submitted by: Alex Samorukov <samm@os2.kiev.ua> (maintainer) Modified: head/sysutils/atop/Makefile head/sysutils/atop/distinfo head/sysutils/atop/pkg-plist Modified: head/sysutils/atop/Makefile ============================================================================== --- head/sysutils/atop/Makefile Sat Jan 18 22:57:42 2014 (r340223) +++ head/sysutils/atop/Makefile Sun Jan 19 00:09:37 2014 (r340224) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= atop -PORTVERSION= 2.0.2.b2 +PORTVERSION= 2.0.2.b3 CATEGORIES= sysutils MAINTAINER= samm@os2.kiev.ua @@ -14,18 +14,16 @@ USE_GITHUB= yes GH_ACCOUNT= samm-git GH_PROJECT= atop-freebsd GH_TAGNAME= ${PORTNAME}-${PORTVERSION:C|b|fbsd.beta|} -GH_COMMIT= f9357ca +GH_COMMIT= 840de1c USES= ncurses MAKEFILE= BSDmakefile -MAN1= atop.1 atopsar.1 -MAN5= atoprc.5 LOGDIR?= /var/log/atop +PLIST_SUB+= LOGDIR="${LOGDIR}" +SUB_LIST= LOGDIR="${LOGDIR}" USE_RC_SUBR= atop -PLIST_SUB+= LOGDIR="${LOGDIR}" SUB_FILES= pkg-message -SUB_LIST= LOGDIR="${LOGDIR}" PORTDOCS= AUTHOR \ ChangeLog \ @@ -33,21 +31,17 @@ PORTDOCS= AUTHOR \ README \ README.FreeBSD -NO_STAGE= yes do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/atop ${PREFIX}/bin - @${LN} -sf ${PREFIX}/bin/atop ${PREFIX}/bin/atopsar -.for manpage in ${MAN1} - @${INSTALL_MAN} ${WRKSRC}/man/${manpage} ${MAN1PREFIX}/man/man1/ + ${INSTALL_PROGRAM} ${WRKSRC}/atop ${STAGEDIR}${PREFIX}/bin + ${LN} -sf atop ${STAGEDIR}${PREFIX}/bin/atopsar +.for manpage in atop.1 atopsar.1 + ${INSTALL_MAN} ${WRKSRC}/man/${manpage} ${STAGEDIR}${MAN1PREFIX}/man/man1/ .endfor - @${INSTALL_MAN} ${WRKSRC}/man/${MAN5} ${MAN5PREFIX}/man/man5/ - @${MKDIR} ${LOGDIR} -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/man/atoprc.5 ${STAGEDIR}${MAN5PREFIX}/man/man5/ + @${MKDIR} ${STAGEDIR}${LOGDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor -.endif - @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> Modified: head/sysutils/atop/distinfo ============================================================================== --- head/sysutils/atop/distinfo Sat Jan 18 22:57:42 2014 (r340223) +++ head/sysutils/atop/distinfo Sun Jan 19 00:09:37 2014 (r340224) @@ -1,2 +1,2 @@ -SHA256 (atop-2.0.2.b2.tar.gz) = 119d92437ec66aaffeb518956d6b92d31e7e303493717991a59ef060a22fedb0 -SIZE (atop-2.0.2.b2.tar.gz) = 179124 +SHA256 (atop-2.0.2.b3.tar.gz) = 48a451438327318d5b7eca39fc7674145c212f6c0a016bb7b7519677840657d5 +SIZE (atop-2.0.2.b3.tar.gz) = 179260 Modified: head/sysutils/atop/pkg-plist ============================================================================== --- head/sysutils/atop/pkg-plist Sat Jan 18 22:57:42 2014 (r340223) +++ head/sysutils/atop/pkg-plist Sun Jan 19 00:09:37 2014 (r340224) @@ -1,3 +1,7 @@ bin/atop bin/atopsar -@dirrmtry %%LOGDIR%% +man/man1/atop.1.gz +man/man1/atopsar.1.gz +man/man5/atoprc.5.gz +@exec if [ ! -d %%LOGDIR%% ] ; then mkdir %%LOGDIR%% ; fi +@unexec rmdir %%LOGDIR%% || true
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401190009.s0J09bGs011233>