aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-09-25 23:17:37 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-09-25 23:17:37 +0800
commitffd895c4411017867af3805aacae3bd7e9e27364 (patch)
treeff30a73dd4d5721674de713cb108fbd95f10bd6f /deskutils
parent15f9ab4621bfc91c302812fb90754c86722ee91b (diff)
downloadfreebsd-ports-graphics-ffd895c4411017867af3805aacae3bd7e9e27364.tar.gz
freebsd-ports-graphics-ffd895c4411017867af3805aacae3bd7e9e27364.tar.zst
freebsd-ports-graphics-ffd895c4411017867af3805aacae3bd7e9e27364.zip
- Add LICENSE
- Pet portlint - Regenerate patches with `make makepatch`
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/fbreader/Makefile30
-rw-r--r--deskutils/fbreader/files/patch-fbreader__src__fbreader__FBReaderActions.cpp4
-rw-r--r--deskutils/fbreader/files/patch-fbreader__src__fbreader__FBView.cpp4
-rw-r--r--deskutils/fbreader/files/patch-fbreader__src__formats__html__HtmlReader.cpp4
-rw-r--r--deskutils/fbreader/files/patch-zlibrary__src__text__ZLTextAreaStyle.cpp4
-rw-r--r--deskutils/fbreader/files/patch-zlibrary__src__unix__time__ZLUnixTime.cpp4
6 files changed, 25 insertions, 25 deletions
diff --git a/deskutils/fbreader/Makefile b/deskutils/fbreader/Makefile
index 43350e9d551..ec47b45fda2 100644
--- a/deskutils/fbreader/Makefile
+++ b/deskutils/fbreader/Makefile
@@ -10,39 +10,27 @@ CATEGORIES= deskutils
MAINTAINER= ports@FreeBSD.org
COMMENT= Powerful e-book reader
+LICENSE= GPLv2 # or later
+
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \
libexpat.so:${PORTSDIR}/textproc/expat2 \
libfribidi.so:${PORTSDIR}/converters/fribidi \
libunibreak.so:${PORTSDIR}/textproc/libunibreak
-OPTIONS_SINGLE= GUI
-OPTIONS_SINGLE_GUI= GTK2 QT4
-OPTIONS_DEFAULT= QT4
-OPTIONS_SUB= yes
-
-
USE_GITHUB= yes
GH_ACCOUNT= geometer
GH_PROJECT= FBReader
-
.if defined(WITH_DEBUG)
STATUS= debug
.else
STATUS= release
.endif
-USES= compiler iconv gmake pkgconfig tar:tgz
+USES= compiler gmake iconv pkgconfig tar:tgz
USE_LDCONFIG= yes
USE_SQLITE= yes
-GTK2_USE= gnome=gtk20
-GTK2_MAKE_ENV= UI_TYPE=gtk
-
-QT4_USE= qt4=gui,corelib,imageformats,network,moc_build
-QT4_LDFLAGS= -L${QT_LIBDIR}
-QT4_MAKE_ENV= UI_TYPE=qt4
-
INSTALL_TARGET= do_install
CFLAGS+= -I${LOCALBASE}/include
@@ -52,6 +40,18 @@ MAKE_ENV+= TARGET_ARCH=desktop TARGET_STATUS=${STATUS} \
LD="${CXX}"
MAKE_ARGS+= MAKE=${MAKE_CMD} LIBDIR=${PREFIX}/lib
+OPTIONS_SINGLE= GUI
+OPTIONS_SINGLE_GUI= GTK2 QT4
+OPTIONS_DEFAULT= QT4
+OPTIONS_SUB= yes
+
+GTK2_USE= gnome=gtk20
+GTK2_MAKE_ENV= UI_TYPE=gtk
+
+QT4_USE= qt4=gui,corelib,imageformats,network,moc_build
+QT4_LDFLAGS= -L${QT_LIBDIR}
+QT4_MAKE_ENV= UI_TYPE=qt4
+
post-patch:
@${REINPLACE_CMD} -e '/^CFLAGS/s,-pipe.*$$,${CFLAGS} -DLIBICONV_PLUG,' \
-e '/^CC/d;/^LD/d;/QTINCLUDE/s,-I.*$$,-I${QT_INCDIR},' \
diff --git a/deskutils/fbreader/files/patch-fbreader__src__fbreader__FBReaderActions.cpp b/deskutils/fbreader/files/patch-fbreader__src__fbreader__FBReaderActions.cpp
index 94eac4cac0c..8ff68c1f331 100644
--- a/deskutils/fbreader/files/patch-fbreader__src__fbreader__FBReaderActions.cpp
+++ b/deskutils/fbreader/files/patch-fbreader__src__fbreader__FBReaderActions.cpp
@@ -1,5 +1,5 @@
---- ./fbreader/src/fbreader/FBReaderActions.cpp.orig 2010-04-02 00:14:24.000000000 +1100
-+++ ./fbreader/src/fbreader/FBReaderActions.cpp 2013-09-12 00:34:03.722065220 +1100
+--- fbreader/src/fbreader/FBReaderActions.cpp.orig 2014-01-11 12:45:25 UTC
++++ fbreader/src/fbreader/FBReaderActions.cpp
@@ -18,6 +18,7 @@
*/
diff --git a/deskutils/fbreader/files/patch-fbreader__src__fbreader__FBView.cpp b/deskutils/fbreader/files/patch-fbreader__src__fbreader__FBView.cpp
index a62f56f8cb3..8490b0390df 100644
--- a/deskutils/fbreader/files/patch-fbreader__src__fbreader__FBView.cpp
+++ b/deskutils/fbreader/files/patch-fbreader__src__fbreader__FBView.cpp
@@ -1,5 +1,5 @@
---- ./fbreader/src/fbreader/FBView.cpp.orig 2010-04-02 00:14:24.000000000 +1100
-+++ ./fbreader/src/fbreader/FBView.cpp 2013-09-12 00:33:47.204357243 +1100
+--- fbreader/src/fbreader/FBView.cpp.orig 2014-01-11 12:45:25 UTC
++++ fbreader/src/fbreader/FBView.cpp
@@ -18,6 +18,7 @@
*/
diff --git a/deskutils/fbreader/files/patch-fbreader__src__formats__html__HtmlReader.cpp b/deskutils/fbreader/files/patch-fbreader__src__formats__html__HtmlReader.cpp
index d673b1ce2ab..c0feb140475 100644
--- a/deskutils/fbreader/files/patch-fbreader__src__formats__html__HtmlReader.cpp
+++ b/deskutils/fbreader/files/patch-fbreader__src__formats__html__HtmlReader.cpp
@@ -1,5 +1,5 @@
---- ./fbreader/src/formats/html/HtmlReader.cpp.orig 2010-04-02 00:14:24.000000000 +1100
-+++ ./fbreader/src/formats/html/HtmlReader.cpp 2013-09-12 00:31:39.434367202 +1100
+--- fbreader/src/formats/html/HtmlReader.cpp.orig 2014-01-11 12:45:25 UTC
++++ fbreader/src/formats/html/HtmlReader.cpp
@@ -19,6 +19,7 @@
#include <algorithm>
diff --git a/deskutils/fbreader/files/patch-zlibrary__src__text__ZLTextAreaStyle.cpp b/deskutils/fbreader/files/patch-zlibrary__src__text__ZLTextAreaStyle.cpp
index efa48872f01..1197484789c 100644
--- a/deskutils/fbreader/files/patch-zlibrary__src__text__ZLTextAreaStyle.cpp
+++ b/deskutils/fbreader/files/patch-zlibrary__src__text__ZLTextAreaStyle.cpp
@@ -1,5 +1,5 @@
---- ./zlibrary/text/src/area/ZLTextAreaStyle.cpp.orig 2010-04-02 00:14:24.000000000 +1100
-+++ ./zlibrary/text/src/area/ZLTextAreaStyle.cpp 2013-09-12 00:26:19.181817507 +1100
+--- zlibrary/text/src/area/ZLTextAreaStyle.cpp.orig 2014-01-11 12:45:25 UTC
++++ zlibrary/text/src/area/ZLTextAreaStyle.cpp
@@ -18,6 +18,7 @@
*/
diff --git a/deskutils/fbreader/files/patch-zlibrary__src__unix__time__ZLUnixTime.cpp b/deskutils/fbreader/files/patch-zlibrary__src__unix__time__ZLUnixTime.cpp
index 13b761770d1..cee44e82165 100644
--- a/deskutils/fbreader/files/patch-zlibrary__src__unix__time__ZLUnixTime.cpp
+++ b/deskutils/fbreader/files/patch-zlibrary__src__unix__time__ZLUnixTime.cpp
@@ -1,5 +1,5 @@
---- ./zlibrary/core/src/unix/time/ZLUnixTime.cpp.orig 2010-01-30 04:35:22.000000000 +1000
-+++ ./zlibrary/core/src/unix/time/ZLUnixTime.cpp 2010-02-02 01:23:23.000000000 +1000
+--- zlibrary/core/src/unix/time/ZLUnixTime.cpp.orig 2014-01-11 12:45:25 UTC
++++ zlibrary/core/src/unix/time/ZLUnixTime.cpp
@@ -17,17 +17,16 @@
* 02110-1301, USA.
*/