1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/security/hotssh/Makefile
Mathieu Arnold 597afc47ba Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:25:16 +00:00

45 lines
1.7 KiB
Makefile

# Created by: Ashish Shukla <wahjava@gmail.com>
# $FreeBSD$
PORTNAME= hotssh
PORTVERSION= 0.2.7
PORTREVISION= 6
CATEGORIES= security gnome
MASTER_SITES= GNOME
MAINTAINER= ashish@FreeBSD.org
COMMENT= HotSSH is an interface to Secure Shell, for GNOME and OpenSSH
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>0:devel/py-dbus \
${LOCALBASE}/libdata/pkgconfig/pygobject-2.0.pc:devel/py-gobject \
${LOCALBASE}/libdata/pkgconfig/dbus-glib-1.pc:devel/dbus-glib \
${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3 \
${PYTHON_SITELIBDIR}/gtk-2.0/vtemodule.so:x11-toolkits/py-vte
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>0:devel/py-dbus \
${LOCALBASE}/libdata/pkgconfig/pygobject-2.0.pc:devel/py-gobject \
${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3 \
${PYTHON_SITELIBDIR}/gtk-2.0/vtemodule.so:x11-toolkits/py-vte
USE_GNOME= pygtk2 gnomedocutils libxslt glib20 intltool
USES= gettext python tar:bzip2 waf
INSTALLS_ICONS= yes
NO_ARCH= yes
B64DECODE?= /usr/bin/b64decode
BSPATCH?= /usr/bin/bspatch
post-extract:
@${GREP} -Rl '^#!/usr/bin/python$$' ${WRKSRC} |${XARGS} ${REINPLACE_CMD} -e 's|^#!/usr/bin/python$$|#!/usr/bin/env python|g'
@${MV} ${WRKSRC}/waf ${WRKSRC}/waf.beforepatch
@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>