diff options
Diffstat (limited to 'editors/Sigil/Makefile')
-rw-r--r-- | editors/Sigil/Makefile | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/editors/Sigil/Makefile b/editors/Sigil/Makefile index 74525029bff..2b67748d035 100644 --- a/editors/Sigil/Makefile +++ b/editors/Sigil/Makefile @@ -1,9 +1,8 @@ -# $NetBSD: Makefile,v 1.17 2011/04/22 13:43:27 obache Exp $ +# $NetBSD: Makefile,v 1.18 2011/10/13 10:42:01 ryoon Exp $ # -DISTNAME= Sigil-0.2.4-Code +DISTNAME= Sigil-0.4.2-Code PKGNAME= ${DISTNAME:S/-Code//} -PKGREVISION= 4 CATEGORIES= editors MASTER_SITES= http://sigil.googlecode.com/files/ EXTRACT_SUFX= .zip @@ -13,11 +12,29 @@ HOMEPAGE= http://code.google.com/p/sigil/ COMMENT= Multi-platform WYSIWYG ebook editor (for the ePub format) LICENSE= gnu-gpl-v3 +MAKE_JOBS_SAFE= NO + PKG_DESTDIR_SUPPORT= user-destdir +WRKSRC= ${WRKDIR} + USE_LANGUAGES= c c++ USE_CMAKE= yes +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" .include "../../x11/qt4-libs/buildlink3.mk" .include "../../x11/qt4-tools/buildlink3.mk" +.include "../../sysutils/desktop-file-utils/desktopdb.mk" .include "../../mk/bsd.pkg.mk" |