diff options
author | ahze <ahze@FreeBSD.org> | 2006-10-14 08:57:22 +0000 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2006-10-14 08:57:22 +0000 |
commit | 6046adf360c595cc0c25f2c722247b26e3a53d40 (patch) | |
tree | 5fb3e6015682dfe7330cfef4950e6d7d14114829 /deskutils | |
parent | 163fd852ea4f9c1e244034cd673df7ad3cc06fed (diff) | |
download | FreeBSD-ports-6046adf360c595cc0c25f2c722247b26e3a53d40.zip FreeBSD-ports-6046adf360c595cc0c25f2c722247b26e3a53d40.tar.gz |
- 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/
Approved by: portmgr (marcus, kris)
Diffstat (limited to 'deskutils')
-rw-r--r-- | deskutils/Makefile | 1 | ||||
-rw-r--r-- | deskutils/conduit/Makefile | 39 | ||||
-rw-r--r-- | deskutils/conduit/distinfo | 3 | ||||
-rw-r--r-- | deskutils/conduit/files/patch-Makefile | 52 | ||||
-rw-r--r-- | deskutils/conduit/pkg-descr | 4 | ||||
-rw-r--r-- | deskutils/conduit/pkg-plist | 64 |
6 files changed, 163 insertions, 0 deletions
diff --git a/deskutils/Makefile b/deskutils/Makefile index df93c60..30f8bce 100644 --- a/deskutils/Makefile +++ b/deskutils/Makefile @@ -22,6 +22,7 @@ SUBDIR += charmap SUBDIR += checkrdf SUBDIR += chmsee + SUBDIR += conduit SUBDIR += contacts SUBDIR += cycle SUBDIR += dailystrips diff --git a/deskutils/conduit/Makefile b/deskutils/conduit/Makefile new file mode 100644 index 0000000..f35a49a9 --- /dev/null +++ b/deskutils/conduit/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: conduit +# Date created: 2006-10-10 +# Whom: Michael Johnson <ahze@FreeBSD.org> +# +# $FreeBSD$ +# $MCom: ports/deskutils/conduit/Makefile,v 1.3 2006/10/11 20:26:26 ahze Exp $ + +PORTNAME= conduit +PORTVERSION= 0.2.0 +PORTREVISION= 1 +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 \ + ${PYTHON_SITELIBDIR}/pysqlite2/__init__.py:${PORTSDIR}/databases/py-pysqlite23 \ + xmlproc_parse:${PORTSDIR}/textproc/py-xml + +NO_WRKSUBDIR= yes +USE_PYTHON= 2.4+ +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 0000000..f0440d9 --- /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 0000000..d042246 --- /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 0000000..24e280e --- /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 0000000..bf5c39d --- /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 |