diff options
author | Thomas Zander <riggs@FreeBSD.org> | 2015-02-08 19:17:24 +0000 |
---|---|---|
committer | Thomas Zander <riggs@FreeBSD.org> | 2015-02-08 19:17:24 +0000 |
commit | d8aadb310aa8bc027e2dd289211aea7eff8039b3 (patch) | |
tree | 91a8e646a4bbfb6f4a102b872a81e95c14cc51ed /deskutils/anamnesis | |
parent | 4c5e367e0cbc61e8f8a6edc01933def5cda81cef (diff) | |
download | ports-d8aadb310aa8bc027e2dd289211aea7eff8039b3.tar.gz ports-d8aadb310aa8bc027e2dd289211aea7eff8039b3.zip |
Notes
Diffstat (limited to 'deskutils/anamnesis')
-rw-r--r-- | deskutils/anamnesis/Makefile | 49 | ||||
-rw-r--r-- | deskutils/anamnesis/distinfo | 2 | ||||
-rw-r--r-- | deskutils/anamnesis/pkg-descr | 5 | ||||
-rw-r--r-- | deskutils/anamnesis/pkg-plist | 32 |
4 files changed, 88 insertions, 0 deletions
diff --git a/deskutils/anamnesis/Makefile b/deskutils/anamnesis/Makefile new file mode 100644 index 000000000000..54ba5fc90acc --- /dev/null +++ b/deskutils/anamnesis/Makefile @@ -0,0 +1,49 @@ +# Created by: Yuri Victorovich <yuri@rawbw.com> +# $FreeBSD$ + +PORTNAME= anamnesis +PORTVERSION= 1.0.4 +CATEGORIES= deskutils +MASTER_SITES= SF + +MAINTAINER= yuri@rawbw.com +COMMENT= Clipboard manager that stores all clipboard history + +LICENSE= GPLv3 + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 \ + ${PYTHON_PKGNAMEPREFIX}gtk2>0:${PORTSDIR}/x11-toolkits/py-gtk2 \ + ${PYTHON_PKGNAMEPREFIX}xdg>0:${PORTSDIR}/devel/py-xdg + +USES= python +PORTDOCS= ChangeLog README +OPTIONS_DEFINE= DOCS + +.include <bsd.port.options.mk> + +post-patch: + @${REINPLACE_CMD} 's|cfg_files.reverse()|cfg_files += [os.path.join("'${PREFIX}/etc/'",cfg_filename)]; cfg_files.reverse()|' \ + ${WRKSRC}/source/config.py +do-build: + @(cd ${WRKSRC} && \ + ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ + -d ${WRKSRC} -f ${WRKSRC} && \ + ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \ + -d ${WRKSRC} -f ${WRKSRC}) +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/share/anamnesis +.for f in anamnesis browser config clipboard clipboard_gtk clipboard_gtk_xclip daemon db db_sqlite3fts + ${INSTALL_DATA} ${WRKSRC}/source/${f}.py ${STAGEDIR}${PREFIX}/share/anamnesis + ${INSTALL_DATA} ${WRKSRC}/source/${f}.pyc ${STAGEDIR}${PREFIX}/share/anamnesis + ${INSTALL_DATA} ${WRKSRC}/source/${f}.pyo ${STAGEDIR}${PREFIX}/share/anamnesis +.endfor + ${LN} -sf ${PREFIX}/share/anamnesis/anamnesis.py ${STAGEDIR}${PREFIX}/bin/anamnesis + ${INSTALL_DATA} ${WRKSRC}/anamnesis.cfg ${STAGEDIR}${PREFIX}/etc/anamnesis.cfg.sample + ${INSTALL_MAN} ${WRKSRC}/man/anamnesis.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/deskutils/anamnesis/distinfo b/deskutils/anamnesis/distinfo new file mode 100644 index 000000000000..abfa1834467d --- /dev/null +++ b/deskutils/anamnesis/distinfo @@ -0,0 +1,2 @@ +SHA256 (anamnesis-1.0.4.tar.gz) = 6785cbf09b333947ce031fa8a0e370b3e8a81a52a28221efef3f08f71bdb6f88 +SIZE (anamnesis-1.0.4.tar.gz) = 23438 diff --git a/deskutils/anamnesis/pkg-descr b/deskutils/anamnesis/pkg-descr new file mode 100644 index 000000000000..713cb3ce8f1c --- /dev/null +++ b/deskutils/anamnesis/pkg-descr @@ -0,0 +1,5 @@ +Anamnesis is a clipboard manager. It stores all clipboard history +and offers an easy interface to do a full-text search on the items +of its history. + +WWW: http://sourceforge.net/projects/anamnesis/ diff --git a/deskutils/anamnesis/pkg-plist b/deskutils/anamnesis/pkg-plist new file mode 100644 index 000000000000..d57bb8a1a45e --- /dev/null +++ b/deskutils/anamnesis/pkg-plist @@ -0,0 +1,32 @@ +bin/anamnesis +@mode 0755 +%%DATADIR%%/anamnesis.py +@mode +%%DATADIR%%/anamnesis.pyc +%%DATADIR%%/anamnesis.pyo +%%DATADIR%%/browser.py +%%DATADIR%%/browser.pyc +%%DATADIR%%/browser.pyo +%%DATADIR%%/clipboard.py +%%DATADIR%%/clipboard.pyc +%%DATADIR%%/clipboard.pyo +%%DATADIR%%/clipboard_gtk.py +%%DATADIR%%/clipboard_gtk.pyc +%%DATADIR%%/clipboard_gtk.pyo +%%DATADIR%%/clipboard_gtk_xclip.py +%%DATADIR%%/clipboard_gtk_xclip.pyc +%%DATADIR%%/clipboard_gtk_xclip.pyo +%%DATADIR%%/config.py +%%DATADIR%%/config.pyc +%%DATADIR%%/config.pyo +%%DATADIR%%/daemon.py +%%DATADIR%%/daemon.pyc +%%DATADIR%%/daemon.pyo +%%DATADIR%%/db.py +%%DATADIR%%/db.pyc +%%DATADIR%%/db.pyo +%%DATADIR%%/db_sqlite3fts.py +%%DATADIR%%/db_sqlite3fts.pyc +%%DATADIR%%/db_sqlite3fts.pyo +man/man1/anamnesis.1.gz +@sample etc/anamnesis.cfg.sample |