aboutsummaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
authorbeech <beech@FreeBSD.org>2007-07-05 14:47:10 +0800
committerbeech <beech@FreeBSD.org>2007-07-05 14:47:10 +0800
commitfe32027ba4e15af4b768526501d00696b70611b1 (patch)
tree7575d182d2f1c9181b68172dad7c2a086c8762d4 /net-im
parentf2f4ce1018cc37655c63cf40dd4e3f30c0f0b2bb (diff)
downloadfreebsd-ports-gnome-fe32027ba4e15af4b768526501d00696b70611b1.tar.gz
freebsd-ports-gnome-fe32027ba4e15af4b768526501d00696b70611b1.tar.zst
freebsd-ports-gnome-fe32027ba4e15af4b768526501d00696b70611b1.zip
- Add py compile
- Add directory make - Fix pkg-plist PR: ports/113640 (based on) Requested by: pointyhat via pav, Yinghong Liu <relaxbsd@gmail.com> (maintainer) Approved by: sat (mentor)
Diffstat (limited to 'net-im')
-rw-r--r--net-im/emesene/Makefile11
-rw-r--r--net-im/emesene/pkg-plist132
2 files changed, 139 insertions, 4 deletions
diff --git a/net-im/emesene/Makefile b/net-im/emesene/Makefile
index ffa163c9e677..1ed4f2d5f36e 100644
--- a/net-im/emesene/Makefile
+++ b/net-im/emesene/Makefile
@@ -1,24 +1,24 @@
# New ports collection makefile for: emesene
# Date created: 31 May 2007
-# Whom: Yinghong Liu <liu_yinghong@yahoo.com.cn>
+# Whom: Yinghong Liu <relaxbsd@gmail.com>
#
# $FreeBSD$
#
PORTNAME= emesene
PORTVERSION= 0.20070523
+PORTREVISION= 1
CATEGORIES= net-im python
MASTER_SITES= SF
DISTNAME= ${PORTNAME}-230507
-MAINTAINER= liu_yinghong@yahoo.com.cn
+MAINTAINER= relaxbsd@gmail.com
COMMENT= MSN Messenger client
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/dbus/__init__.py:${PORTSDIR}/devel/py-dbus \
${PYTHON_SITELIBDIR}/gtk-2.0/pynotify/__init__.py:${PORTSDIR}/devel/py-notify
RUN_DEPENDS:= ${BUILD_DEPENDS}
-NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_ZIP= yes
@@ -35,8 +35,13 @@ post-patch:
@${ECHO_CMD} '#!/bin/sh' > ${WRKDIR}/${PORTNAME}.sh
@${ECHO_CMD} 'cd ${DATADIR}&&exec ./${PORTNAME}' >> ${WRKDIR}/${PORTNAME}.sh
+do-build:
+ @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKDIR}
+ @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKDIR}
+
do-install:
@${INSTALL} -d ${DATADIR}/
+ @${INSTALL} -d ${PREFIX}/share/applications/
@${CP} -R ${WRKSRC}/ ${DATADIR}/
@${INSTALL_DATA} ${WRKDIR}/emesene.desktop ${PREFIX}/share/applications/
@${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME}
diff --git a/net-im/emesene/pkg-plist b/net-im/emesene/pkg-plist
index 67d12f2e9d04..2e3592c539da 100644
--- a/net-im/emesene/pkg-plist
+++ b/net-im/emesene/pkg-plist
@@ -1,41 +1,107 @@
bin/emesene
share/applications/emesene.desktop
%%DATADIR%%/Avatar.py
+%%DATADIR%%/Avatar.pyc
+%%DATADIR%%/Avatar.pyo
%%DATADIR%%/AvatarChooser.py
+%%DATADIR%%/AvatarChooser.pyc
+%%DATADIR%%/AvatarChooser.pyo
%%DATADIR%%/COPYING
%%DATADIR%%/Config.py
+%%DATADIR%%/Config.pyc
+%%DATADIR%%/Config.pyo
%%DATADIR%%/Controller.py
+%%DATADIR%%/Controller.pyc
+%%DATADIR%%/Controller.pyo
%%DATADIR%%/Conversation.py
+%%DATADIR%%/Conversation.pyc
+%%DATADIR%%/Conversation.pyo
%%DATADIR%%/ConversationLayoutManager.py
+%%DATADIR%%/ConversationLayoutManager.pyc
+%%DATADIR%%/ConversationLayoutManager.pyo
%%DATADIR%%/ConversationManager.py
+%%DATADIR%%/ConversationManager.pyc
+%%DATADIR%%/ConversationManager.pyo
%%DATADIR%%/ConversationUI.py
+%%DATADIR%%/ConversationUI.pyc
+%%DATADIR%%/ConversationUI.pyo
%%DATADIR%%/ConversationWindow.py
+%%DATADIR%%/ConversationWindow.pyc
+%%DATADIR%%/ConversationWindow.pyo
%%DATADIR%%/Dialogs.py
+%%DATADIR%%/Dialogs.pyc
+%%DATADIR%%/Dialogs.pyo
%%DATADIR%%/FilterEntry.py
+%%DATADIR%%/FilterEntry.pyc
+%%DATADIR%%/FilterEntry.pyo
%%DATADIR%%/GroupMenu.py
+%%DATADIR%%/GroupMenu.pyc
+%%DATADIR%%/GroupMenu.pyo
%%DATADIR%%/Hotmail.py
+%%DATADIR%%/Hotmail.pyc
+%%DATADIR%%/Hotmail.pyo
%%DATADIR%%/ImageFileChooser.py
+%%DATADIR%%/ImageFileChooser.pyc
+%%DATADIR%%/ImageFileChooser.pyo
%%DATADIR%%/ListOfUsers.py
+%%DATADIR%%/ListOfUsers.pyc
+%%DATADIR%%/ListOfUsers.pyo
%%DATADIR%%/Loading.py
+%%DATADIR%%/Loading.pyc
+%%DATADIR%%/Loading.pyo
%%DATADIR%%/Log.py
+%%DATADIR%%/Log.pyc
+%%DATADIR%%/Log.pyo
%%DATADIR%%/Login.py
+%%DATADIR%%/Login.pyc
+%%DATADIR%%/Login.pyo
%%DATADIR%%/MainMenu.py
+%%DATADIR%%/MainMenu.pyc
+%%DATADIR%%/MainMenu.pyo
%%DATADIR%%/MainWindow.py
+%%DATADIR%%/MainWindow.pyc
+%%DATADIR%%/MainWindow.pyo
%%DATADIR%%/PluginManager.py
+%%DATADIR%%/PluginManager.pyc
+%%DATADIR%%/PluginManager.pyo
%%DATADIR%%/PluginManagerDialog.py
+%%DATADIR%%/PluginManagerDialog.pyc
+%%DATADIR%%/PluginManagerDialog.pyo
%%DATADIR%%/PreferenceWindow.py
+%%DATADIR%%/PreferenceWindow.pyc
+%%DATADIR%%/PreferenceWindow.pyo
%%DATADIR%%/SlashCommands.py
+%%DATADIR%%/SlashCommands.pyc
+%%DATADIR%%/SlashCommands.pyo
%%DATADIR%%/SmilieWindow.py
+%%DATADIR%%/SmilieWindow.pyc
+%%DATADIR%%/SmilieWindow.pyo
%%DATADIR%%/StatusMenu.py
+%%DATADIR%%/StatusMenu.pyc
+%%DATADIR%%/StatusMenu.pyo
%%DATADIR%%/Theme.py
+%%DATADIR%%/Theme.pyc
+%%DATADIR%%/Theme.pyo
%%DATADIR%%/TrayIcon.py
+%%DATADIR%%/TrayIcon.pyc
+%%DATADIR%%/TrayIcon.pyo
%%DATADIR%%/TreeViewTooltips.py
+%%DATADIR%%/TreeViewTooltips.pyc
+%%DATADIR%%/TreeViewTooltips.pyo
%%DATADIR%%/UserList.py
+%%DATADIR%%/UserList.pyc
+%%DATADIR%%/UserList.pyo
%%DATADIR%%/UserMenu.py
+%%DATADIR%%/UserMenu.pyc
+%%DATADIR%%/UserMenu.pyo
%%DATADIR%%/UserPanel.py
+%%DATADIR%%/UserPanel.pyc
+%%DATADIR%%/UserPanel.pyo
%%DATADIR%%/conversation_themes/default/theme
%%DATADIR%%/conversation_themes/irc/theme
%%DATADIR%%/desktop.py
+%%DATADIR%%/desktop.pyc
+%%DATADIR%%/desktop.pyo
%%DATADIR%%/docs/INSTALL
%%DATADIR%%/docs/TRANSLATORS
%%DATADIR%%/docs/emeseneUML.dia
@@ -44,39 +110,103 @@ share/applications/emesene.desktop
%%DATADIR%%/emesene.bak
%%DATADIR%%/emesene.bat
%%DATADIR%%/emesenecommon.py
+%%DATADIR%%/emesenecommon.pyc
+%%DATADIR%%/emesenecommon.pyo
%%DATADIR%%/emesenelib/ContactData.py
+%%DATADIR%%/emesenelib/ContactData.pyc
+%%DATADIR%%/emesenelib/ContactData.pyo
%%DATADIR%%/emesenelib/DefaultSignalHandler.py
+%%DATADIR%%/emesenelib/DefaultSignalHandler.pyc
+%%DATADIR%%/emesenelib/DefaultSignalHandler.pyo
%%DATADIR%%/emesenelib/MsnOIM.py
+%%DATADIR%%/emesenelib/MsnOIM.pyc
+%%DATADIR%%/emesenelib/MsnOIM.pyo
%%DATADIR%%/emesenelib/MsnP2P.py
+%%DATADIR%%/emesenelib/MsnP2P.pyc
+%%DATADIR%%/emesenelib/MsnP2P.pyo
%%DATADIR%%/emesenelib/Msnobj.py
+%%DATADIR%%/emesenelib/Msnobj.pyc
+%%DATADIR%%/emesenelib/Msnobj.pyo
%%DATADIR%%/emesenelib/SoapManager.py
+%%DATADIR%%/emesenelib/SoapManager.pyc
+%%DATADIR%%/emesenelib/SoapManager.pyo
%%DATADIR%%/emesenelib/Socket.py
+%%DATADIR%%/emesenelib/Socket.pyc
+%%DATADIR%%/emesenelib/Socket.pyo
%%DATADIR%%/emesenelib/Switchboard.py
+%%DATADIR%%/emesenelib/Switchboard.pyc
+%%DATADIR%%/emesenelib/Switchboard.pyo
%%DATADIR%%/emesenelib/XmlTemplates.py
+%%DATADIR%%/emesenelib/XmlTemplates.pyc
+%%DATADIR%%/emesenelib/XmlTemplates.pyo
%%DATADIR%%/emesenelib/__init__.py
+%%DATADIR%%/emesenelib/__init__.pyc
+%%DATADIR%%/emesenelib/__init__.pyo
%%DATADIR%%/emesenelib/core.py
+%%DATADIR%%/emesenelib/core.pyc
+%%DATADIR%%/emesenelib/core.pyo
%%DATADIR%%/emesenelib/uuid.py
+%%DATADIR%%/emesenelib/uuid.pyc
+%%DATADIR%%/emesenelib/uuid.pyo
%%DATADIR%%/hotmlog.htm
%%DATADIR%%/htmltextview.py
+%%DATADIR%%/htmltextview.pyc
+%%DATADIR%%/htmltextview.pyo
%%DATADIR%%/messages.po
%%DATADIR%%/msnPlusMarkup.py
+%%DATADIR%%/msnPlusMarkup.pyc
+%%DATADIR%%/msnPlusMarkup.pyo
%%DATADIR%%/plugins_base/Amarok.py
+%%DATADIR%%/plugins_base/Amarok.pyc
+%%DATADIR%%/plugins_base/Amarok.pyo
%%DATADIR%%/plugins_base/Dbus.py
+%%DATADIR%%/plugins_base/Dbus.pyc
+%%DATADIR%%/plugins_base/Dbus.pyo
%%DATADIR%%/plugins_base/Exaile.py
+%%DATADIR%%/plugins_base/Exaile.pyc
+%%DATADIR%%/plugins_base/Exaile.pyo
%%DATADIR%%/plugins_base/LibNotify.py
+%%DATADIR%%/plugins_base/LibNotify.pyc
+%%DATADIR%%/plugins_base/LibNotify.pyo
%%DATADIR%%/plugins_base/Listen.py
+%%DATADIR%%/plugins_base/Listen.pyc
+%%DATADIR%%/plugins_base/Listen.pyo
%%DATADIR%%/plugins_base/MPD.py
+%%DATADIR%%/plugins_base/MPD.pyc
+%%DATADIR%%/plugins_base/MPD.pyo
%%DATADIR%%/plugins_base/Notification.py
+%%DATADIR%%/plugins_base/Notification.pyc
+%%DATADIR%%/plugins_base/Notification.pyo
%%DATADIR%%/plugins_base/PersonalMessage.py
+%%DATADIR%%/plugins_base/PersonalMessage.pyc
+%%DATADIR%%/plugins_base/PersonalMessage.pyo
%%DATADIR%%/plugins_base/Plugin.py
+%%DATADIR%%/plugins_base/Plugin.pyc
+%%DATADIR%%/plugins_base/Plugin.pyo
%%DATADIR%%/plugins_base/QuodLibet.py
+%%DATADIR%%/plugins_base/QuodLibet.pyc
+%%DATADIR%%/plugins_base/QuodLibet.pyo
%%DATADIR%%/plugins_base/Rhythmbox.py
+%%DATADIR%%/plugins_base/Rhythmbox.pyc
+%%DATADIR%%/plugins_base/Rhythmbox.pyo
%%DATADIR%%/plugins_base/Sound.py
+%%DATADIR%%/plugins_base/Sound.pyc
+%%DATADIR%%/plugins_base/Sound.pyo
%%DATADIR%%/plugins_base/Spell.py
+%%DATADIR%%/plugins_base/Spell.pyc
+%%DATADIR%%/plugins_base/Spell.pyo
%%DATADIR%%/plugins_base/Winamp.py
+%%DATADIR%%/plugins_base/Winamp.pyc
+%%DATADIR%%/plugins_base/Winamp.pyo
%%DATADIR%%/plugins_base/WindowTremblingNudge.py
+%%DATADIR%%/plugins_base/WindowTremblingNudge.pyc
+%%DATADIR%%/plugins_base/WindowTremblingNudge.pyo
%%DATADIR%%/plugins_base/Xmms.py
+%%DATADIR%%/plugins_base/Xmms.pyc
+%%DATADIR%%/plugins_base/Xmms.pyo
%%DATADIR%%/plugins_base/__init__.py
+%%DATADIR%%/plugins_base/__init__.pyc
+%%DATADIR%%/plugins_base/__init__.pyo
%%DATADIR%%/po/ar/LC_MESSAGES/emesen.mo
%%DATADIR%%/po/ar/LC_MESSAGES/emesen.po
%%DATADIR%%/po/de/LC_MESSAGES/emesene.mo
@@ -302,6 +432,7 @@ share/applications/emesene.desktop
%%DATADIR%%/themes/tango/trayicon.png
%%DATADIR%%/themes/tango/typing.png
%%DATADIR%%/themes/tango/userPanel.png
+@dirrmtry share/applications
@dirrm %%DATADIR%%/themes/tango/sounds
@dirrm %%DATADIR%%/themes/tango
@dirrm %%DATADIR%%/themes/defaultSmall/sounds
@@ -346,4 +477,3 @@ share/applications/emesene.desktop
@dirrm %%DATADIR%%/conversation_themes/default
@dirrm %%DATADIR%%/conversation_themes
@dirrm %%DATADIR%%
-@dirrmtry share/applications