Initial import of pebrot-0.8.2.

Pebrot is a text MSN messenger client implemented with Python.
This commit is contained in:
kevlo 2003-12-29 14:09:03 +00:00
parent cc269f5e63
commit eed6ba1103
6 changed files with 78 additions and 0 deletions

36
net/pebrot/Makefile Normal file
View File

@ -0,0 +1,36 @@
# $OpenBSD: Makefile,v 1.1.1.1 2003/12/29 14:09:03 kevlo Exp $
COMMENT= "text-based MSN messenger client"
DISTNAME= pebrot-0.8.2
PKGNAME= py-${DISTNAME}
CATEGORIES= net
HOMEPAGE= http://pebrot.sourceforge.net/
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pebrot/}
RUN_DEPENDS= :py-cjkcodecs-*:converters/py-cjkcodecs
NO_BUILD= Yes
NO_REGRESS= Yes
MODULES= python
DOCDIR= ${PREFIX}/share/doc/pebrot
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pebrot
${INSTALL_SCRIPT} ${WRKSRC}/pebrot ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/pebrotrc ${PREFIX}/share/examples/pebrot
${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
.include <bsd.port.mk>

3
net/pebrot/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (pebrot-0.8.2.tar.gz) = 2adb7169f94fdef158f9697b4f298d00
RMD160 (pebrot-0.8.2.tar.gz) = d333a22c8f9f80dd8b791a26cccd94e310ad6bdd
SHA1 (pebrot-0.8.2.tar.gz) = 38ad2ca3ac52e33c0e4f953d9bd12d909ee0ba19

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-pebrot_py,v 1.1.1.1 2003/12/29 14:09:03 kevlo Exp $
--- pebrot.py.orig 2003-12-29 21:53:09.000000000 +0000
+++ pebrot.py 2003-12-29 21:54:42.000000000 +0000
@@ -1809,7 +1809,7 @@ def main():
print _('I can\'t find %s, so I will copy the supplied pebrotrc there.') \
% CONFIG_FILE
raw_input( _('Press Enter to continue...') )
- shutil.copyfile( sys.path[0] + '/pebrotrc', CONFIG_FILE )
+ shutil.copyfile( '/usr/local/share/examples/pebrot/' + '/pebrotrc', CONFIG_FILE )
#os.chmod( CONFIG_FILE, 0600 )
print _('Please edit %s and specify your login and password.') \
% CONFIG_FILE

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-setup_py,v 1.1.1.1 2003/12/29 14:09:03 kevlo Exp $
--- /dev/null 2003-12-29 21:47:46.000000000 +0000
+++ setup.py 2003-12-29 21:47:46.000000000 +0000
@@ -0,0 +1,9 @@
+#!/usr/bin/env python
+
+from distutils.core import setup
+
+setup (name = "pebrot",
+ version = "0.8.2",
+ url = "http://pebrot.sourceforge.net/",
+ py_modules = ['pebrot', 'ui', 'MSN']
+ )

2
net/pebrot/pkg/DESCR Normal file
View File

@ -0,0 +1,2 @@
Pebrot is a text MSN messenger client implemented with Python.
It has also a pretty and colorful Curses-based interface.

12
net/pebrot/pkg/PLIST Normal file
View File

@ -0,0 +1,12 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/12/29 14:09:03 kevlo Exp $
bin/pebrot
lib/python${MODPY_VERSION}/site-packages/MSN.py
lib/python${MODPY_VERSION}/site-packages/MSN.pyc
lib/python${MODPY_VERSION}/site-packages/pebrot.py
lib/python${MODPY_VERSION}/site-packages/pebrot.pyc
lib/python${MODPY_VERSION}/site-packages/ui.py
lib/python${MODPY_VERSION}/site-packages/ui.pyc
share/doc/pebrot/README
share/examples/pebrot/pebrotrc
@dirrm share/examples/pebrot
@dirrm share/doc/pebrot