mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
38308bbce8
- Remove FLAVOR from py-docutils dependency in comms/uhd, in this case it needs the rst2html command, not the docutils module - Mark some ports as not compatible with python3
60 lines
2.0 KiB
Makefile
60 lines
2.0 KiB
Makefile
# Created by: Yinghong Liu <relaxbsd@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= emesene
|
|
PORTVERSION= 2.12.9
|
|
PORTREVISION= 1
|
|
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@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}dnspython>0:dns/py-dnspython@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}dbus>0:devel/py-dbus@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}notify>0:devel/py-notify@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}openssl>0:security/py-openssl@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pycrypto>0:security/py-pycrypto@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}webkitgtk>0:www/py-webkitgtk@${PY_FLAVOR} \
|
|
xprop:x11/xprop
|
|
|
|
NO_ARCH= yes
|
|
NO_BUILD= yes
|
|
|
|
USE_GITHUB= yes
|
|
|
|
USES= desktop-file-utils gettext-runtime python:2.7 shebangfix
|
|
USE_GNOME= pygtk2:run
|
|
USE_GSTREAMER= python
|
|
INSTALLS_ICONS= yes
|
|
SHEBANG_FILES= emesene/emesene
|
|
|
|
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>
|