2010-09-10 08:31:09 +02:00
|
|
|
# New ports collection makefile for: sigil
|
|
|
|
# Date created: 2010-09-07
|
|
|
|
# Whom: Jonathan Chen <jonc@chen.org.nz>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= sigil
|
2012-03-16 12:23:49 +01:00
|
|
|
PORTVERSION= 0.5.3
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 1
|
2010-09-10 08:31:09 +02:00
|
|
|
CATEGORIES= textproc
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
|
|
|
DISTNAME= Sigil-${PORTVERSION}-Code
|
|
|
|
|
|
|
|
MAINTAINER= jonc@chen.org.nz
|
|
|
|
COMMENT= WYSIWYG ePub editor
|
|
|
|
|
2012-03-16 12:23:49 +01:00
|
|
|
LIB_DEPENDS= boost_thread.4:${PORTSDIR}/devel/boost-libs \
|
|
|
|
xerces-c.3:${PORTSDIR}/textproc/xerces-c3 \
|
|
|
|
hunspell-1.3.0:${PORTSDIR}/textproc/hunspell \
|
|
|
|
pcre.1:${PORTSDIR}/devel/pcre
|
|
|
|
|
2010-09-10 08:31:09 +02:00
|
|
|
USE_ZIP= yes
|
|
|
|
USE_CMAKE= yes
|
2012-03-16 12:23:49 +01:00
|
|
|
USE_DOS2UNIX= CMakeLists.txt DirEnumerator.cpp ZipFile_stl.cpp ZipPlatform_lnx.cpp
|
|
|
|
NO_WRKSUBDIR= yes
|
2012-06-06 08:44:37 +02:00
|
|
|
USE_QT4= qmake gui svg webkit xml moc uic rcc imageformats linguist
|
2010-10-12 08:21:49 +02:00
|
|
|
|
|
|
|
DESKTOP_ENTRIES="Sigil Editor" \
|
|
|
|
"${COMMENT}" \
|
2012-03-16 12:23:49 +01:00
|
|
|
"${PREFIX}/share/pixmaps/sigil.png" \
|
2010-10-12 08:21:49 +02:00
|
|
|
"sigil" \
|
|
|
|
"Application;" \
|
|
|
|
${FALSE}
|
|
|
|
|
2012-03-16 12:23:49 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/CMakeLists.txt
|
2010-09-10 08:31:09 +02:00
|
|
|
|
2010-09-21 21:52:17 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 700000
|
|
|
|
BROKEN= does not compile on 6.X
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|