summaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-11 09:24:19 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-11 09:24:19 +0800
commit54a79b55717c8b69ffd753c7309ab789a1688d3a (patch)
tree23464940f1d5945997187d416be2d1d7821f6d7d /deskutils
parentfb0ab2e60ee2ef7652929d5e5c3a9761475d3b18 (diff)
downloadmarcuscom-ports-54a79b55717c8b69ffd753c7309ab789a1688d3a.tar
marcuscom-ports-54a79b55717c8b69ffd753c7309ab789a1688d3a.tar.gz
marcuscom-ports-54a79b55717c8b69ffd753c7309ab789a1688d3a.tar.bz2
marcuscom-ports-54a79b55717c8b69ffd753c7309ab789a1688d3a.tar.lz
marcuscom-ports-54a79b55717c8b69ffd753c7309ab789a1688d3a.tar.xz
marcuscom-ports-54a79b55717c8b69ffd753c7309ab789a1688d3a.tar.zst
marcuscom-ports-54a79b55717c8b69ffd753c7309ab789a1688d3a.zip
- Add conduit
Synchronization application for GNOME. It allows you to synchronize your data between online web services (Gmail, backpackit.com, etc) and your computer. WWW: http://www.conduit-project.org/ git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7706 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/conduit/Makefile38
-rw-r--r--deskutils/conduit/distinfo3
-rw-r--r--deskutils/conduit/files/patch-Makefile52
-rw-r--r--deskutils/conduit/pkg-descr4
-rw-r--r--deskutils/conduit/pkg-plist64
5 files changed, 161 insertions, 0 deletions
diff --git a/deskutils/conduit/Makefile b/deskutils/conduit/Makefile
new file mode 100644
index 000000000..ed4e75dc3
--- /dev/null
+++ b/deskutils/conduit/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: conduit
+# Date created: 2006-10-10
+# Whom: Michael Johnson <ahze@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+
+PORTNAME= conduit
+PORTVERSION= 0.2.0
+CATEGORIES= deskutils
+MASTER_SITES= http://files.conduit-project.org/releases/
+
+MAINTAINER= ahze@FreeBSD.org
+COMMENT= Synchronization application for GNOME
+
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/goocanvasmodule.so:${PORTSDIR}/deskutils/conduit \
+ ${PYTHON_SITELIBDIR}/elementtree/__init__.py:${PORTSDIR}/devel/py-elementtree \
+ ${LOCALBASE}/lib/${PYTHON_VERSION}/site-packages/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3 \
+ xmlproc_parse:${PORTSDIR}/textproc/py-xml
+
+NO_WRKSUBDIR= yes
+USE_PYTHON= 2.5+
+MAKE_ENV= DESTDIR=""
+USE_GNOME= pygnome2
+DESKTOP_ENTRIES= "Conduit" "${COMMENT}" "conduit-icon.png" \
+ "${PORTNAME}" "GNOME;Application;Office;" true
+
+.include <bsd.port.pre.mk>
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|; \
+ s|%%PYTHON_SITELIBDIR%%|${PYTHON_SITELIBDIR:S/${LOCALBASE}/${PREFIX}/}|' \
+ ${WRKSRC}/Makefile
+
+pre-install:
+ ${MKDIR} ${PREFIX}/share/applications
+
+.include <bsd.port.post.mk>
diff --git a/deskutils/conduit/distinfo b/deskutils/conduit/distinfo
new file mode 100644
index 000000000..f0440d950
--- /dev/null
+++ b/deskutils/conduit/distinfo
@@ -0,0 +1,3 @@
+MD5 (conduit-0.2.0.tar.gz) = 4f27b6ae1c416da186e58cf27175f598
+SHA256 (conduit-0.2.0.tar.gz) = 01b74297d701858fd800161facea5682f6e03b7bc7320140c8e236c98a8587ce
+SIZE (conduit-0.2.0.tar.gz) = 211110
diff --git a/deskutils/conduit/files/patch-Makefile b/deskutils/conduit/files/patch-Makefile
new file mode 100644
index 000000000..d04224688
--- /dev/null
+++ b/deskutils/conduit/files/patch-Makefile
@@ -0,0 +1,52 @@
+--- Makefile.orig Wed Sep 20 05:08:31 2006
++++ Makefile Tue Oct 10 21:01:22 2006
+@@ -2,13 +2,13 @@
+ VERSION=`cat conduit/__init__.py | grep 'APPVERSION=\"' | sed -e 's/APPVERSION=//' -e 's/\"//g'`
+
+ #Install prefix, can be overridden by setting DESTDIR
+-PREFIX=/usr
++PREFIX=%%PREFIX%%
+ CWD=`pwd`
+
+ #Python version for installation into python dir
+ PYTHON_VERSION=2.4
+ #PYTHON_VERSION=`python -V 2>&1 | sed -e "s/Python //" | cut --bytes=1-3`
+-PYTHON_PATH=$(DESTDIR)$(PREFIX)/lib/python$(PYTHON_VERSION)/site-packages
++PYTHON_PATH=%%PYTHON_SITELIBDIR%%
+
+ #Source Files
+ SRC=conduit/*.py conduit/dataproviders/*.py conduit/datatypes/*.py
+@@ -40,8 +40,8 @@
+ mkdir -p $(DESTDIR)$(PREFIX)/share/conduit/dataproviders
+ mkdir -p $(PYTHON_PATH)/conduit
+ mkdir -p $(PYTHON_PATH)/conduit/datatypes
+- mkdir -p ~/.conduit
+- mkdir -p ~/.conduit/modules
++ mkdir -p .conduit
++ mkdir -p .conduit/modules
+ @for i in `ls contrib`; do \
+ ( mkdir -p $(DESTDIR)$(PREFIX)/share/conduit/contrib/$$i ) \
+ done
+@@ -52,14 +52,14 @@
+ install -m 644 conduit/data/conduit-icon.png $(DESTDIR)$(PREFIX)/share/pixmaps
+ install -m 644 conduit/data/conduit.glade $(DESTDIR)$(PREFIX)/share/conduit/data
+ install -m 644 conduit/dataproviders/*.py $(DESTDIR)$(PREFIX)/share/conduit/dataproviders
+- install -m 644 conduit.desktop $(DESTDIR)$(PREFIX)/share/applications/
++# install -m 644 conduit.desktop $(DESTDIR)$(PREFIX)/share/applications/
+ install -m 644 conduit/*.py $(PYTHON_PATH)/conduit
+ install -m 644 conduit/datatypes/*.py $(PYTHON_PATH)/conduit/datatypes
+ install -m 755 conduit/start_conduit.py $(DESTDIR)$(PREFIX)/bin/conduit
+ @for i in `ls contrib`; do \
+ ( install -m 644 contrib/$$i/*.py $(DESTDIR)$(PREFIX)/share/conduit/contrib/$$i ) \
+ done
+- ln -sf $(CWD)/doc/ExampleModule.py ~/.conduit/modules/MoinModule.py
++ ln -sf $(CWD)/doc/ExampleModule.py .conduit/modules/MoinModule.py
+
+ clean: clean-bin
+ -rm dist-stamp
+@@ -101,4 +101,4 @@
+ rm -r $(DESTDIR)$(PREFIX)/share/applications/conduit.desktop
+ rm -r $(PYTHON_PATH)/conduit
+ rm -r $(DESTDIR)$(PREFIX)/bin/conduit
+- rm ~/.conduit/modules/MoinModule.py
++ rm .conduit/modules/MoinModule.py
diff --git a/deskutils/conduit/pkg-descr b/deskutils/conduit/pkg-descr
new file mode 100644
index 000000000..24e280e72
--- /dev/null
+++ b/deskutils/conduit/pkg-descr
@@ -0,0 +1,4 @@
+Synchronization application for GNOME. It allows you to synchronize your data
+between online web services (Gmail, backpackit.com, etc) and your computer.
+
+WWW: http://www.conduit-project.org/
diff --git a/deskutils/conduit/pkg-plist b/deskutils/conduit/pkg-plist
new file mode 100644
index 000000000..bf5c39d8f
--- /dev/null
+++ b/deskutils/conduit/pkg-plist
@@ -0,0 +1,64 @@
+bin/conduit
+%%PYTHON_SITELIBDIR%%/conduit/Canvas.py
+%%PYTHON_SITELIBDIR%%/conduit/Conduit.py
+%%PYTHON_SITELIBDIR%%/conduit/DataProvider.py
+%%PYTHON_SITELIBDIR%%/conduit/Exceptions.py
+%%PYTHON_SITELIBDIR%%/conduit/MainWindow.py
+%%PYTHON_SITELIBDIR%%/conduit/Module.py
+%%PYTHON_SITELIBDIR%%/conduit/Settings.py
+%%PYTHON_SITELIBDIR%%/conduit/Synchronization.py
+%%PYTHON_SITELIBDIR%%/conduit/TypeConverter.py
+%%PYTHON_SITELIBDIR%%/conduit/Utils.py
+%%PYTHON_SITELIBDIR%%/conduit/__init__.py
+%%PYTHON_SITELIBDIR%%/conduit/datatypes/DataType.py
+%%PYTHON_SITELIBDIR%%/conduit/datatypes/Email.py
+%%PYTHON_SITELIBDIR%%/conduit/datatypes/Feed.py
+%%PYTHON_SITELIBDIR%%/conduit/datatypes/File.py
+%%PYTHON_SITELIBDIR%%/conduit/datatypes/Note.py
+%%PYTHON_SITELIBDIR%%/conduit/datatypes/Text.py
+%%PYTHON_SITELIBDIR%%/conduit/datatypes/__init__.py
+%%PYTHON_SITELIBDIR%%/conduit/start_conduit.py
+%%DATADIR%%/contrib/EXIF-15-FEB-04/EXIF.py
+%%DATADIR%%/contrib/FlickrAPI-8/flickrapi.py
+%%DATADIR%%/contrib/FlickrAPI-8/setup.py
+%%DATADIR%%/contrib/backpack-1.1/backpack.py
+%%DATADIR%%/contrib/backpack-1.1/bptest.py
+%%DATADIR%%/contrib/backpack-1.1/wapsupport.py
+%%DATADIR%%/contrib/httplib2/__init__.py
+%%DATADIR%%/contrib/libgmail-0.1.5/lgconstants.py
+%%DATADIR%%/contrib/libgmail-0.1.5/libgmail.py
+%%DATADIR%%/contrib/libgmail-0.1.5/setup.py
+%%DATADIR%%/contrib/python-opml-0.5/OPML.py
+%%DATADIR%%/data/backpack.png
+%%DATADIR%%/data/conduit-icon.png
+%%DATADIR%%/data/conduit-splash.png
+%%DATADIR%%/data/conduit.glade
+%%DATADIR%%/data/f-spot.png
+%%DATADIR%%/data/feed-icon.png
+%%DATADIR%%/data/liferea.png
+%%DATADIR%%/data/tomboy.png
+%%DATADIR%%/dataproviders/BackpackModule.py
+%%DATADIR%%/dataproviders/FeedModule.py
+%%DATADIR%%/dataproviders/FileModule.py
+%%DATADIR%%/dataproviders/FlickrModule.py
+%%DATADIR%%/dataproviders/FspotModule.py
+%%DATADIR%%/dataproviders/GmailModule.py
+%%DATADIR%%/dataproviders/LifereaModule.py
+%%DATADIR%%/dataproviders/NotesModule.py
+%%DATADIR%%/dataproviders/TestModule.py
+%%DATADIR%%/dataproviders/TextConverterModule.py
+%%DATADIR%%/dataproviders/__init__.py
+share/pixmaps/conduit-icon.png
+@dirrm %%DATADIR%%/dataproviders
+@dirrm %%DATADIR%%/data
+@dirrm %%DATADIR%%/contrib/python-opml-0.5
+@dirrm %%DATADIR%%/contrib/libgmail-0.1.5
+@dirrm %%DATADIR%%/contrib/httplib2
+@dirrm %%DATADIR%%/contrib/backpack-1.1
+@dirrm %%DATADIR%%/contrib/FlickrAPI-8
+@dirrm %%DATADIR%%/contrib/EXIF-15-FEB-04
+@dirrm %%DATADIR%%/contrib
+@dirrm %%DATADIR%%
+@dirrmtry share/applications
+@dirrm %%PYTHON_SITELIBDIR%%/conduit/datatypes
+@dirrm %%PYTHON_SITELIBDIR%%/conduit