freebsd-ports/sysutils/atop/Makefile
Julien Laffaye 577d93bf4d - Update to 1.26.b7
- Add USE_NCURSES
- Make portlint happy

PR:		ports/159212
Submitted by:	Alex Samorukov <samm@os2.kiev.ua> (maintainer)
2011-07-27 19:23:02 +00:00

49 lines
1.2 KiB
Makefile

# New ports collection makefile for: atop
# Date created: 2011-06-30
# Whom: Alex Samorukov <samm@os2.kiev.ua>
#
# $FreeBSD$
#
PORTNAME= atop
PORTVERSION= 1.26.b7
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_BERLIOS}
MASTER_SITE_SUBDIR=atop-freebsd
DISTNAME= ${PORTNAME}-${PORTVERSION:C|b|fbsd.beta|}
MAINTAINER= samm@os2.kiev.ua
COMMENT= ASCII Monitor for system resources and process activity
LICENSE= GPLv2
USE_BZIP2= yes
USE_NCURSES= yes
MAKEFILE= Makefile.fbsd
MAN1= atop.1 atopsar.1
MAN5= atoprc.5
LOGDIR?= /var/log/atop
USE_RC_SUBR= atop
PLIST_SUB+= LOGDIR="${LOGDIR}"
SUB_FILES= pkg-message
SUB_LIST= LOGDIR="${LOGDIR}"
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/
.endfor
@${INSTALL_MAN} ${WRKSRC}/man/${MAN5} ${MAN5PREFIX}/man/man5/
@${MKDIR} ${LOGDIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/AUTHOR ${WRKSRC}/ChangeLog \
${WRKSRC}/ChangeLog.FreeBSD ${WRKSRC}/README.FreeBSD \
${WRKSRC}/README ${DOCSDIR}
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>