ports/165510: Update textproc/sigil to 0.5.3
Jonathan Chen
jonc at chen.org.nz
Mon Feb 27 22:40:07 UTC 2012
>Number: 165510
>Category: ports
>Synopsis: Update textproc/sigil to 0.5.3
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon Feb 27 22:40:06 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Jonathan Chen
>Release: STABLE-9/amd64
>Organization:
>Environment:
FreeBSD jonathan.chen 9.0-STABLE FreeBSD 9.0-STABLE #0: Fri Jan 20 16:31:18 NZDT 2012 root at jonathan.chen:/usr/obj/usr/src/sys/TAO amd64
>Description:
Update textproc/sigil from 0.2.4 to 0.5.3
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -ruN /usr/ports/textproc/sigil/Makefile ./Makefile
--- /usr/ports/textproc/sigil/Makefile 2010-10-19 08:28:09.000000000 +1300
+++ ./Makefile 2012-02-28 11:19:14.000000000 +1300
@@ -6,8 +6,7 @@
#
PORTNAME= sigil
-PORTVERSION= 0.2.4
-PORTREVISION= 1
+PORTVERSION= 0.5.3
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
DISTNAME= Sigil-${PORTVERSION}-Code
@@ -15,22 +14,27 @@
MAINTAINER= jonc at chen.org.nz
COMMENT= WYSIWYG ePub editor
+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
+
USE_ZIP= yes
USE_CMAKE= yes
-USE_DOS2UNIX= DirEnumerator.cpp ZipFile_stl.cpp ZipPlatform_lnx.cpp
+USE_DOS2UNIX= CMakeLists.txt DirEnumerator.cpp ZipFile_stl.cpp ZipPlatform_lnx.cpp
USE_QT_VER= 4
+NO_WRKSUBDIR= yes
QT_COMPONENTS= qmake gui svg webkit xml moc uic rcc imageformats
DESKTOP_ENTRIES="Sigil Editor" \
"${COMMENT}" \
- "${DATADIR}/sigil.png" \
+ "${PREFIX}/share/pixmaps/sigil.png" \
"sigil" \
"Application;" \
${FALSE}
-post-install:
- ${MKDIR} ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/src/Sigil/Resource_Files/icon/app_icon_48.png ${DATADIR}/sigil.png
+post-patch:
+ @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/CMakeLists.txt
.include <bsd.port.pre.mk>
diff -ruN /usr/ports/textproc/sigil/distinfo ./distinfo
--- /usr/ports/textproc/sigil/distinfo 2011-07-04 08:10:25.000000000 +1200
+++ ./distinfo 2012-02-28 08:45:27.000000000 +1300
@@ -1,2 +1,2 @@
-SHA256 (Sigil-0.2.4-Code.zip) = 001a535986c90f67bdfa0860964a2c70a0b1c23091cf86ea7f618e02fbc776c3
-SIZE (Sigil-0.2.4-Code.zip) = 9299387
+SHA256 (Sigil-0.5.3-Code.zip) = 9525ac3885e7d3962a85e491b271fd857e8a9430e92868e1772c3bcaeb9bc778
+SIZE (Sigil-0.5.3-Code.zip) = 12843490
diff -ruN /usr/ports/textproc/sigil/files/patch-CMakeLists ./files/patch-CMakeLists
--- /usr/ports/textproc/sigil/files/patch-CMakeLists 1970-01-01 12:00:00.000000000 +1200
+++ ./files/patch-CMakeLists 2012-02-28 10:31:59.000000000 +1300
@@ -0,0 +1,14 @@
+diff -ruN /tmp/Sigil-0.5.3-Code/src/CMakeLists.txt ./src/CMakeLists.txt
+*** ./CMakeLists.txt.orig 2012-02-28 10:17:24.000000000 +1300
+--- ./CMakeLists.txt 2012-02-28 10:17:51.000000000 +1300
+***************
+*** 22,27 ****
+--- 22,29 ----
+ set( SIGIL_REVISION_VERSION 3 )
+ set( SIGIL_FULL_VERSION ${SIGIL_MAJOR_VERSION}.${SIGIL_MINOR_VERSION}.${SIGIL_REVISION_VERSION} )
+
++ link_directories (%%LOCALBASE%%/lib)
++
+ # Check if platform is 64 bit
+ if( NOT APPLE )
+ if( CMAKE_SIZEOF_VOID_P EQUAL 4 )
diff -ruN /usr/ports/textproc/sigil/pkg-plist ./pkg-plist
--- /usr/ports/textproc/sigil/pkg-plist 2010-10-19 08:28:09.000000000 +1300
+++ ./pkg-plist 2012-02-28 11:18:04.000000000 +1300
@@ -1,3 +1,37 @@
bin/sigil
-share/sigil/sigil.png
+share/pixmaps/sigil.png
+share/sigil/dictionaries/About.txt
+share/sigil/dictionaries/de_DE.aff
+share/sigil/dictionaries/de_DE.dic
+share/sigil/dictionaries/en_GB.aff
+share/sigil/dictionaries/en_GB.dic
+share/sigil/dictionaries/en_US.aff
+share/sigil/dictionaries/en_US.dic
+share/sigil/dictionaries/es.aff
+share/sigil/dictionaries/es.dic
+share/sigil/dictionaries/fr.aff
+share/sigil/dictionaries/fr.dic
+share/sigil/dictionaries/hyph_de_DE.dic
+share/sigil/dictionaries/hyph_en_GB.dic
+share/sigil/dictionaries/hyph_en_US.dic
+share/sigil/dictionaries/hyph_es.dic
+share/sigil/dictionaries/hyph_fr.dic
+share/sigil/translations/sigil_cs.qm
+share/sigil/translations/sigil_da_DK.qm
+share/sigil/translations/sigil_de.qm
+share/sigil/translations/sigil_en.qm
+share/sigil/translations/sigil_es_ES.qm
+share/sigil/translations/sigil_fr.qm
+share/sigil/translations/sigil_it.qm
+share/sigil/translations/sigil_ja.qm
+share/sigil/translations/sigil_nl.qm
+share/sigil/translations/sigil_pl.qm
+share/sigil/translations/sigil_pt_BR.qm
+share/sigil/translations/sigil_ru.qm
+share/sigil/translations/sigil_sk.qm
+share/sigil/translations/sigil_tr_TR.qm
+share/sigil/translations/sigil_zh_CN.qm
+share/sigil/translations/sigil_zh_TW.qm
+ at dirrm share/sigil/translations
+ at dirrm share/sigil/dictionaries
@dirrm share/sigil
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list