aboutsummaryrefslogtreecommitdiff
path: root/sysutils/py-glances
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-01-04 08:26:00 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-01-04 08:26:00 +0000
commitfd68f4026ff06e3380e9f36b08c0cc2b4c25dffc (patch)
treec5ed2b348f8757fd9e2368f0cde2c217090b6334 /sysutils/py-glances
parent9c9a26bf61abb68d764110c992b9d02bb4ef36ae (diff)
downloadports-fd68f4026ff06e3380e9f36b08c0cc2b4c25dffc.tar.gz
ports-fd68f4026ff06e3380e9f36b08c0cc2b4c25dffc.zip
- Fix package
- While I'm here, cleanup and simplify Makefile PR: ports/185408 Submitted by: Gasol Wu <gasol.wu@gmail.com> (maintainer)
Notes
Notes: svn path=/head/; revision=338631
Diffstat (limited to 'sysutils/py-glances')
-rw-r--r--sysutils/py-glances/Makefile9
1 files changed, 1 insertions, 8 deletions
diff --git a/sysutils/py-glances/Makefile b/sysutils/py-glances/Makefile
index 4b4e4e41ab2c..de293bbe58c0 100644
--- a/sysutils/py-glances/Makefile
+++ b/sysutils/py-glances/Makefile
@@ -21,27 +21,20 @@ OPTIONS_SUB= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_PYTHON= yes
-USE_PYDISTUTILS=yes
+USE_PYDISTUTILS=easy_install
PYDISTUTILS_PKGNAME= Glances
-#NO_STAGE= yes
MANPAGES_MAN1= glances.1
NLS_TRANSLATIONS= es fr it pt_BR zh_CN
NLS_USES= gettext
-.include <bsd.port.options.mk>
-
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/glances
${INSTALL_DATA} ${WRKSRC}/conf/glances.conf ${STAGEDIR}${PREFIX}/etc/glances/glances.conf.sample
-.if ${PORT_OPTIONS:MMANPAGES}
${INSTALL_MAN} ${WRKSRC}/man/glances.1 ${STAGEDIR}${MANPREFIX}/man/man1/
-.endif
-.if ${PORT_OPTIONS:MNLS}
.for lang in ${NLS_TRANSLATIONS}
${INSTALL_DATA} ${WRKSRC}/i18n/${lang}/LC_MESSAGES/glances.mo \
${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES/
.endfor
-.endif
.include <bsd.port.mk>