diff options
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/atop/Makefile | 30 | ||||
-rw-r--r-- | sysutils/atop/distinfo | 4 | ||||
-rw-r--r-- | sysutils/atop/pkg-plist | 6 |
3 files changed, 19 insertions, 21 deletions
diff --git a/sysutils/atop/Makefile b/sysutils/atop/Makefile index 1d44d47e4a6d..9f074415b719 100644 --- a/sysutils/atop/Makefile +++ b/sysutils/atop/Makefile @@ -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> diff --git a/sysutils/atop/distinfo b/sysutils/atop/distinfo index 57eb999d46f0..f5bdc357f32f 100644 --- a/sysutils/atop/distinfo +++ b/sysutils/atop/distinfo @@ -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 diff --git a/sysutils/atop/pkg-plist b/sysutils/atop/pkg-plist index 0a1e2e78fc90..68beb26a6614 100644 --- a/sysutils/atop/pkg-plist +++ b/sysutils/atop/pkg-plist @@ -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 |