freebsd-ports/sysutils/py-glances/Makefile
Pawel Pekala f20d17a7cd - Update to version 2.1 [1]
- Remove run dependency on devel/py-Jinja2 [1]
- Convert to USES=python
- Remove uneeded PLIST_DIRS

PR:		193843 [1]
Submitted by:	maintainer
2014-10-14 19:18:47 +00:00

40 lines
1 KiB
Makefile

# Created by: Gasol Wu <gasol.wu@gmail.com>
# $FreeBSD$
PORTNAME= glances
PORTVERSION= 2.1
CATEGORIES= sysutils python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= gasol.wu@gmail.com
COMMENT= CLI curses based monitoring tool for GNU/Linux and BSD OS
LICENSE= LGPL3
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psutil>=2.1.1:${PORTSDIR}/sysutils/py-psutil
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
USE_GITHUB= yes
GH_ACCOUNT= nicolargo
GH_TAGNAME= v${PORTVERSION}
GH_COMMIT= 5e2dadb
USES= python
USE_PYTHON= autoplist distutils
PLIST_FILES= %%ETCDIR%%/glances.conf.sample \
man/man1/glances.1.gz \
%%NLS%%share/locale/de/LC_MESSAGES/glances.mo
NLS_USES= gettext
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/glances
${INSTALL_DATA} ${WRKSRC}/conf/glances.conf ${STAGEDIR}${PREFIX}/etc/glances/glances.conf.sample
${INSTALL_MAN} ${WRKSRC}/man/glances.1 ${STAGEDIR}${MANPREFIX}/man/man1/
${INSTALL_DATA} ${WRKSRC}/i18n/de/LC_MESSAGES/glances.mo \
${STAGEDIR}${PREFIX}/share/locale/de/LC_MESSAGES/
.include <bsd.port.mk>