Add port deskutils/fbreader:
FBReader is a book reader. Main features:
* Supported formats: fb2, HTML, CHM, plucker, Palmdoc, zTxt, TCR, RTF,
OEB, OpenReader, mobipocket, plain text.
* Direct reading from tar, zip, gzip and bzip2 archives.
* Supported encodings: utf-8, us-ascii, windows-1251, windows-1252,
koi8-r, ibm866, iso-8859-*, Big5, GBK.
* Automatically generated contents table.
* Embedded images support.
* Footnotes/hyperlinks support.
* Position indicator.
* Keeps the last open book and the last read positions for all opened
books between runs.
* List of last opened books.
* Automatic hyphenations. Liang's algorithm is used. Patterns for Czech,
English, Esperanto, French, German and Russian are included in the
current version.
* Text search.
* Full-screen mode.
* Screen rotation by 90, 180 and 270 degrees.
WWW: http://only.mawhrin.net/fbreader/
2007-04-21 19:18:45 +02:00
|
|
|
# New ports collection makefile for: fbreader
|
|
|
|
# Date created: 29 March 2007
|
|
|
|
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= fbreader
|
|
|
|
DISTVERSIONPREFIX= sources-
|
2007-06-09 11:17:37 +02:00
|
|
|
DISTVERSION= 0.8.4a
|
Add port deskutils/fbreader:
FBReader is a book reader. Main features:
* Supported formats: fb2, HTML, CHM, plucker, Palmdoc, zTxt, TCR, RTF,
OEB, OpenReader, mobipocket, plain text.
* Direct reading from tar, zip, gzip and bzip2 archives.
* Supported encodings: utf-8, us-ascii, windows-1251, windows-1252,
koi8-r, ibm866, iso-8859-*, Big5, GBK.
* Automatically generated contents table.
* Embedded images support.
* Footnotes/hyperlinks support.
* Position indicator.
* Keeps the last open book and the last read positions for all opened
books between runs.
* List of last opened books.
* Automatic hyphenations. Liang's algorithm is used. Patterns for Czech,
English, Esperanto, French, German and Russian are included in the
current version.
* Text search.
* Full-screen mode.
* Screen rotation by 90, 180 and 270 degrees.
WWW: http://only.mawhrin.net/fbreader/
2007-04-21 19:18:45 +02:00
|
|
|
CATEGORIES= deskutils
|
2007-04-30 22:17:10 +02:00
|
|
|
MASTER_SITES= http://www.fbreader.org/ CENKES
|
Add port deskutils/fbreader:
FBReader is a book reader. Main features:
* Supported formats: fb2, HTML, CHM, plucker, Palmdoc, zTxt, TCR, RTF,
OEB, OpenReader, mobipocket, plain text.
* Direct reading from tar, zip, gzip and bzip2 archives.
* Supported encodings: utf-8, us-ascii, windows-1251, windows-1252,
koi8-r, ibm866, iso-8859-*, Big5, GBK.
* Automatically generated contents table.
* Embedded images support.
* Footnotes/hyperlinks support.
* Position indicator.
* Keeps the last open book and the last read positions for all opened
books between runs.
* List of last opened books.
* Automatic hyphenations. Liang's algorithm is used. Patterns for Czech,
English, Esperanto, French, German and Russian are included in the
current version.
* Text search.
* Full-screen mode.
* Screen rotation by 90, 180 and 270 degrees.
WWW: http://only.mawhrin.net/fbreader/
2007-04-21 19:18:45 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MAINTAINER= infofarmer@FreeBSD.org
|
2007-04-23 14:08:32 +02:00
|
|
|
COMMENT= Powerful e-book reader
|
Add port deskutils/fbreader:
FBReader is a book reader. Main features:
* Supported formats: fb2, HTML, CHM, plucker, Palmdoc, zTxt, TCR, RTF,
OEB, OpenReader, mobipocket, plain text.
* Direct reading from tar, zip, gzip and bzip2 archives.
* Supported encodings: utf-8, us-ascii, windows-1251, windows-1252,
koi8-r, ibm866, iso-8859-*, Big5, GBK.
* Automatically generated contents table.
* Embedded images support.
* Footnotes/hyperlinks support.
* Position indicator.
* Keeps the last open book and the last read positions for all opened
books between runs.
* List of last opened books.
* Automatic hyphenations. Liang's algorithm is used. Patterns for Czech,
English, Esperanto, French, German and Russian are included in the
current version.
* Text search.
* Full-screen mode.
* Screen rotation by 90, 180 and 270 degrees.
WWW: http://only.mawhrin.net/fbreader/
2007-04-21 19:18:45 +02:00
|
|
|
|
|
|
|
LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2 \
|
|
|
|
enca.5:${PORTSDIR}/converters/enca
|
|
|
|
|
|
|
|
USE_QT_VER= 4
|
2007-04-23 01:19:56 +02:00
|
|
|
QT_COMPONENTS= gui corelib moc
|
Add port deskutils/fbreader:
FBReader is a book reader. Main features:
* Supported formats: fb2, HTML, CHM, plucker, Palmdoc, zTxt, TCR, RTF,
OEB, OpenReader, mobipocket, plain text.
* Direct reading from tar, zip, gzip and bzip2 archives.
* Supported encodings: utf-8, us-ascii, windows-1251, windows-1252,
koi8-r, ibm866, iso-8859-*, Big5, GBK.
* Automatically generated contents table.
* Embedded images support.
* Footnotes/hyperlinks support.
* Position indicator.
* Keeps the last open book and the last read positions for all opened
books between runs.
* List of last opened books.
* Automatic hyphenations. Liang's algorithm is used. Patterns for Czech,
English, Esperanto, French, German and Russian are included in the
current version.
* Text search.
* Full-screen mode.
* Screen rotation by 90, 180 and 270 degrees.
WWW: http://only.mawhrin.net/fbreader/
2007-04-21 19:18:45 +02:00
|
|
|
USE_GMAKE= yes
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lcompat
|
|
|
|
MAKE_ENV+= TARGET_ARCH=desktop UI_TYPE=qt4 TARGET_STATUS=release \
|
|
|
|
ROOTDIR=${WRKSRC} EXTERNALINCLUDE="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="${LDFLAGS}" INSTALLDIR="${PREFIX}" LIBDIR=${PREFIX}/lib \
|
|
|
|
BUILD_SHARED_LIBRARY=no
|
|
|
|
MAKE_ARGS+= MAKE=gmake
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
|
|
|
|
INSTALL_TARGET= do_install
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e '/^LDFLAGS/s|=|+=|' ${WRKSRC}/makefiles/arch/*mk
|
|
|
|
@${FIND} ${WRKSRC} -name Makefile|\
|
|
|
|
${XARGS} ${REINPLACE_CMD} -e 's/make /gmake /g'
|
|
|
|
@${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g'\
|
|
|
|
${WRKSRC}/fbreader/desktop/Makefile
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|