- Regenerate python bytecode to fix references to stagedir
- Remove USES=desktop-file-utils as suggested by stage-qa - Add NO_ARCH Approved by: portmgr blanket
This commit is contained in:
parent
1886402f79
commit
d33a1b4d3b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=398648
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= hotssh
|
||||
PORTVERSION= 0.2.7
|
||||
PORTREVISION= 5
|
||||
PORTREVISION= 6
|
||||
CATEGORIES= security gnome
|
||||
MASTER_SITES= GNOME
|
||||
|
||||
@ -24,8 +24,9 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>0:${PORTSDIR}/devel/py-dbus \
|
||||
${PYTHON_SITELIBDIR}/gtk-2.0/vtemodule.so:${PORTSDIR}/x11-toolkits/py-vte
|
||||
|
||||
USE_GNOME= pygtk2 gnomedocutils libxslt glib20 intltool
|
||||
USES= gettext python tar:bzip2 waf desktop-file-utils
|
||||
USES= gettext python tar:bzip2 waf
|
||||
INSTALLS_ICONS= yes
|
||||
NO_ARCH= yes
|
||||
|
||||
B64DECODE?= /usr/bin/b64decode
|
||||
BSPATCH?= /usr/bin/bspatch
|
||||
@ -36,4 +37,8 @@ post-extract:
|
||||
@cd ${WRKSRC} && ${B64DECODE} -o waf.diff ${FILESDIR}/waf.diff && ${BSPATCH} waf.beforepatch waf waf.diff && ${CHMOD} 755 waf
|
||||
@${GREP} -Rl '%%LOCALBASE%%' ${WRKSRC} |${XARGS} ${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g"
|
||||
|
||||
post-install:
|
||||
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -d ${PYTHONPREFIX_SITELIBDIR} -f ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
||||
${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py -d ${PYTHONPREFIX_SITELIBDIR} -f ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user