Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F138016005
D16488.id46036.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
4 KB
Referenced Files
None
Subscribers
None
D16488.id46036.diff
View Options
Index: misc/Makefile
===================================================================
--- misc/Makefile
+++ misc/Makefile
@@ -377,6 +377,7 @@
SUBDIR += p5-Zen-Koans
SUBDIR += p5-asterisk-perl
SUBDIR += pantry
+ SUBDIR += paperwork
SUBDIR += parley
SUBDIR += parley-kde4
SUBDIR += pastebinit
Index: misc/paperwork/Makefile
===================================================================
--- /dev/null
+++ misc/paperwork/Makefile
@@ -0,0 +1,51 @@
+# $FreeBSD$
+
+PORTNAME= paperwork
+DISTVERSION= 1.2.4
+CATEGORIES= misc python
+PKGNAMESUFFIX= -${FLAVOR}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Tool to make papers searchable - scan & forget
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/../LICENSE
+
+FLAVORS= gtk backend
+FLAVOR?= ${FLAVORS:[1]}
+
+USES= gmake python:3.4+
+USE_GITLAB= yes
+GL_SITE= https://gitlab.gnome.org/World
+GL_ACCOUNT= OpenPaperwork
+GL_COMMIT= 36c00eaac636c6fa6db58f2f86a01e1c1abf2398
+USE_PYTHON= distutils autoplist noflavors
+
+.if ${FLAVOR} == gtk
+RUN_DEPENDS= paperwork-backend>0:misc/paperwork@backend \
+ ${PYTHON_PKGNAMEPREFIX}country>0:devel/py-country@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyinsane2>0:graphics/py-pyinsane2@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyocr>0:graphics/py-pyocr@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pypillowfight>0:graphics/py-pypillowfight@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}python-Levenshtein>0:devel/py-python-Levenshtein@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}termcolor>0:devel/py-termcolor@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg@${PY_FLAVOR}
+.else
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}country>0:devel/py-country@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}natsort>0:devel/py-natsort@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyocr>0:graphics/py-pyocr@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}simplebayes>0:textproc/py-simplebayes@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}termcolor>0:devel/py-termcolor@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}whoosh>0:textproc/py-whoosh@${PY_FLAVOR}
+.endif
+
+PATCHDIR= ${MASTERDIR}/files.${FLAVOR}
+WRKSRC_SUBDIR= paperwork-${FLAVOR}
+
+pre-configure:
+ @cd ${WRKSRC} && ${MAKE_CMD} version
+
+.include <bsd.port.mk>
Index: misc/paperwork/distinfo
===================================================================
--- /dev/null
+++ misc/paperwork/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1532970988
+SHA256 (OpenPaperwork-paperwork-36c00eaac636c6fa6db58f2f86a01e1c1abf2398_GL0.tar.gz) = d6fa18a6dc5a2593098ef5f2ce8a37278960a2c097c15de866d9c7bafa1a83ed
+SIZE (OpenPaperwork-paperwork-36c00eaac636c6fa6db58f2f86a01e1c1abf2398_GL0.tar.gz) = 8206219
Index: misc/paperwork/files.gtk/patch-Makefile
===================================================================
--- /dev/null
+++ misc/paperwork/files.gtk/patch-Makefile
@@ -0,0 +1,19 @@
+--- Makefile.orig 2018-07-28 06:41:34 UTC
++++ Makefile
+@@ -17,13 +17,13 @@ version: ${VERSION_FILE}
+ ${VERSION_FILE}:
+ echo "# -*- coding: utf-8 -*-" >| $@
+ echo -n "version = \"" >> $@
+- echo -n $(shell git describe --always) >> $@
+- $(eval branch_name = $(shell git symbolic-ref HEAD 2>/dev/null))
++ #echo -n $(shell git describe --always) >> $@
++ #$(eval branch_name = $(shell git symbolic-ref HEAD 2>/dev/null))
+ if [ "${branch_name}" != "refs/heads/master" ] ; then echo -n "-${branch_name}" >> $@ ; fi
+ echo "\"" >> $@
+ echo "authors_code = \"\"\"" >> $@
+ echo " Code contributors:" >> $@
+- git shortlog -sne >> $@
++ #git shortlog -sne >> $@
+ echo "\"\"\"" >> $@
+ echo >> $@
+ cat ../AUTHORS.py >> $@
Index: misc/paperwork/pkg-descr
===================================================================
--- /dev/null
+++ misc/paperwork/pkg-descr
@@ -0,0 +1,7 @@
+Paperwork is a personal document manager. It manages scanned documents and PDFs.
+
+It's designed to be easy and fast to use. The idea behind Paperwork is
+"scan & forget": You can just scan a new document and forget about it until the
+day you need it again.
+
+WWW: https://openpaper.work/en-us/
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 29, 4:33 AM (18 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26317748
Default Alt Text
D16488.id46036.diff (4 KB)
Attached To
Mode
D16488: New port: misc/paperwork: Need portmgr approval for flavors
Attached
Detach File
Event Timeline
Log In to Comment