aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2014-01-04 16:26:00 +0800
committersunpoet <sunpoet@FreeBSD.org>2014-01-04 16:26:00 +0800
commitf9b000523d36e5a27fb1f99b42eef279205e670c (patch)
treec5ed2b348f8757fd9e2368f0cde2c217090b6334 /sysutils
parent243e8cc55e24ff2e3d52e96138f055e2214735f8 (diff)
downloadfreebsd-ports-gnome-f9b000523d36e5a27fb1f99b42eef279205e670c.tar.gz
freebsd-ports-gnome-f9b000523d36e5a27fb1f99b42eef279205e670c.tar.zst
freebsd-ports-gnome-f9b000523d36e5a27fb1f99b42eef279205e670c.zip
- Fix package
- While I'm here, cleanup and simplify Makefile PR: ports/185408 Submitted by: Gasol Wu <gasol.wu@gmail.com> (maintainer)
Diffstat (limited to 'sysutils')
-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>