2013-02-16 12:18:58 +01:00
|
|
|
# $NetBSD: Makefile,v 1.45 2013/02/16 11:20:52 wiz Exp $
|
2009-08-06 08:23:23 +02:00
|
|
|
#
|
|
|
|
|
2012-12-09 18:34:20 +01:00
|
|
|
DISTNAME= Sigil-0.6.2-Code
|
2009-11-25 11:12:35 +01:00
|
|
|
PKGNAME= ${DISTNAME:S/-Code//}
|
2013-02-16 12:18:58 +01:00
|
|
|
PKGREVISION= 4
|
2009-08-06 08:23:23 +02:00
|
|
|
CATEGORIES= editors
|
|
|
|
MASTER_SITES= http://sigil.googlecode.com/files/
|
|
|
|
EXTRACT_SUFX= .zip
|
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
HOMEPAGE= http://code.google.com/p/sigil/
|
|
|
|
COMMENT= Multi-platform WYSIWYG ebook editor (for the ePub format)
|
|
|
|
LICENSE= gnu-gpl-v3
|
|
|
|
|
2011-10-13 12:42:01 +02:00
|
|
|
MAKE_JOBS_SAFE= NO
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
|
|
|
2009-08-06 08:23:23 +02:00
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
USE_CMAKE= yes
|
2012-02-16 12:58:50 +01:00
|
|
|
USE_TOOLS+= pkg-config
|
2009-08-06 08:23:23 +02:00
|
|
|
|
2011-10-13 12:42:01 +02:00
|
|
|
BUILDLINK_TRANSFORM+= l:BoostParts:boost_date_time:boost_filesystem:boost_regex:boost_system:boost_thread:boost_program_options
|
|
|
|
BUILDLINK_TRANSFORM+= l:Xerces:xerces-c
|
|
|
|
BUILDLINK_TRANSFORM+= l:zlib:z
|
|
|
|
|
|
|
|
.include "../../mk/compiler.mk"
|
|
|
|
# GCC 4.4 and above needs this
|
|
|
|
.if !empty(PKGSRC_COMPILER:Mgcc) && !empty(CC_VERSION:Mgcc-4.[4-9]*)
|
|
|
|
_WRAP_EXTRA_ARGS.CXX+= -std=c++0x
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include "../../textproc/xerces-c/buildlink3.mk"
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
|
|
.include "../../devel/boost-libs/buildlink3.mk"
|
Update to 0.5.0
* Add dependency to pcre and hunspell.
* Use external libraries (CMakeLists.txt etc. from upstream HEAD)
Changelog:
Sigil 0.5 2012.01.21
- Implement issue 533 and 1079: allow user to select which level(s) of <h> to include.
- Fix issue 788: Error saving when the folder the file was in was renamed
outside Sigil.
- Fix issue 998: Don't select file extension on rename in book browser.
- Fix issue 1111: Failure to rename to same name with case change.
- Implement issue 205: Drag and drop for images to book and code views.
- Fix issue 1019: issues with opf-namespace declaration.
- Inline spell check with right click replace in Code View.
- Fix issue 1064: Issues with editing epubs with differing html extensions.
Take mimetype into account when opening the file to help determine how to
deal with the file.
- Fix issue 1055, 1038, 1006: Focus switching causes unwanted cursor jumping
in split view. Don't auto sync cursor position between views.
- Implement issue 375: Add image selection dialog for inserting existing
images into book and code views.
- Add menu items for setting heading, adding new items, show / hide toolbars.
- Organize menu.
- Fix issue 803: Print prints immediately, no dialog box.
- Implement 245: Unify zoom levels (book, text, image) and store the levels.
- i18n capability. Build and load translation files.
- Add keyboard shortcut manager so user can change the keyboard shortcuts. Fixes 966.
- Add preference dialog. Closes 206, 718.
- Refactor Find & Replace into a widget that appears below the editor. Closes issues:
961, 579.
- Windows Installer: Add Sigil as a handler for EPUB and HTML files so that jump lists
will work and it will always show up on the 'Open With...' menu.
- Fix issue 1033, 1034: Implement scroll to fragment for Code View and fix scrolling for
book view.
- Fix issue 1032: Remove '=' from the list of valid characters for ids.
- Fix issue 1001: Valid IDs are now formed by replacing invalid characters with
underscores. Colon removed from the list of valid characters.
- Fix issue 1014: Sigil was erroneously assuming that fragment ids would be unique
across the entire book, whereas they're only required to be unique within a
particular xhtml document. New code implemented to cover those situations where
this assumption is wrong.
- Fix issue 1015: Fix issues with cursor positioning in Split View.
- Fix issue 1022: Added support for Adobe's page-map.xml pagination extension. (Must
use this exact filename).
- Implement issue 183: Use a PCRE regular expression engine instead of QRegExp.
Also fixes issue 498: regex '^' (start of line) broken.
- Implement issue 168: Allow selection of multiple Meta Editor properties.
- Allow for deleting multiple metadata items.
- Implement issue 368: Pressing enter key on item in book browser should open item.
- Fix issue 1005: Regression from change to ensure metdata element has dc namespace.
2012-01-26 16:43:20 +01:00
|
|
|
.include "../../devel/pcre/buildlink3.mk"
|
|
|
|
.include "../../textproc/hunspell/buildlink3.mk"
|
2009-08-06 08:23:23 +02:00
|
|
|
.include "../../x11/qt4-libs/buildlink3.mk"
|
|
|
|
.include "../../x11/qt4-tools/buildlink3.mk"
|
2011-10-13 12:42:01 +02:00
|
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
2009-08-06 08:23:23 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|