1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/net-im/emesene/Makefile
Mathieu Arnold 8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00

58 lines
1.9 KiB
Makefile

# Created by: Yinghong Liu <relaxbsd@gmail.com>
# $FreeBSD$
PORTNAME= emesene
PORTVERSION= 2.12.9
DISTVERSIONPREFIX= v
CATEGORIES= net-im python
MAINTAINER= ports@FreeBSD.org
COMMENT= Instant messenging client written in python
LICENSE= GPLv3+
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3 \
${PYTHON_PKGNAMEPREFIX}dnspython>0:dns/py-dnspython \
${PYTHON_PKGNAMEPREFIX}dbus>0:devel/py-dbus \
${PYTHON_PKGNAMEPREFIX}notify>0:devel/py-notify \
${PYTHON_PKGNAMEPREFIX}openssl>0:security/py-openssl \
${PYTHON_PKGNAMEPREFIX}pycrypto>0:security/py-pycrypto \
${PYTHON_PKGNAMEPREFIX}webkitgtk>0:www/py-webkitgtk \
xprop:x11/xprop
NO_ARCH= yes
NO_BUILD= yes
USE_GITHUB= yes
USES= desktop-file-utils gettext-runtime python
USE_GNOME= pygtk2:run
USE_GSTREAMER= python
INSTALLS_ICONS= yes
do-install:
@${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/emesene
(cd ${WRKSRC}/emesene && ${INSTALL_SCRIPT} emesene \
${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/emesene)
(cd ${WRKSRC}/emesene && ${INSTALL_DATA} *.py \
${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/emesene)
(cd ${WRKSRC}/emesene && ${COPYTREE_SHARE} \
"e3 gui interfaces plugins po test themes" \
${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/emesene)
${LN} -sf ${PYTHONPREFIX_SITELIBDIR}/emesene/emesene \
${STAGEDIR}${PREFIX}/bin
(cd ${WRKSRC}/docs/man && ${INSTALL_MAN} emesene.1 \
${STAGEDIR}${MANPREFIX}/man/man1)
(cd ${WRKSRC}/emesene/data && ${COPYTREE_SHARE} "icons pixmaps" \
${STAGEDIR}${PREFIX}/share)
(cd ${WRKSRC}/emesene/data/share/applications && ${INSTALL_DATA} \
emesene.desktop ${STAGEDIR}${PREFIX}/share/applications)
(cd ${STAGEDIR}${PREFIX} && ${PYTHON_CMD} -m compileall \
-d ${PYTHONPREFIX_SITELIBDIR} \
-f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;})
(cd ${STAGEDIR}${PREFIX} && ${PYTHON_CMD} -O -m compileall \
-d ${PYTHONPREFIX_SITELIBDIR} \
-f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;})
.include <bsd.port.mk>