[100157] trunk/dports/editors/sigil/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Nov 30 14:17:40 PST 2012


Revision: 100157
          https://trac.macports.org/changeset/100157
Author:   ryandesign at macports.org
Date:     2012-11-30 14:17:40 -0800 (Fri, 30 Nov 2012)
Log Message:
-----------
sigil: update to 0.6.0 (#37174); use cmake portgroup, use "use_zip yes", and otherwise simplify the port; enable universal variant; add boost, hunspell, xercesc3 and zlib dependencies; license GPL-3+

Modified Paths:
--------------
    trunk/dports/editors/sigil/Portfile

Modified: trunk/dports/editors/sigil/Portfile
===================================================================
--- trunk/dports/editors/sigil/Portfile	2012-11-30 22:15:09 UTC (rev 100156)
+++ trunk/dports/editors/sigil/Portfile	2012-11-30 22:17:40 UTC (rev 100157)
@@ -3,14 +3,17 @@
 # vim: set fileencoding=utf-8 tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab filetype=tcl :
 
 PortSystem	    1.0
+PortGroup           cmake 1.0
 PortGroup       qt4 1.0
 
 name		    sigil
 conflicts	    tidy
-version		    0.5.3
+version             0.6.0
 platforms	    darwin
 categories	    editors
 maintainers	    openmaintainer krischik
+license             GPL-3+
+
 description	    Sigil, the ePub editor
 long_description					\
     Sigil is a multi-platform WYSIWYG ebook editor. It	\
@@ -18,40 +21,30 @@
 
 homepage	    http://code.google.com/p/sigil
 master_sites	    googlecode
-distfiles	    Sigil-${version}-Code.zip
-worksrcdir	    build 
+distname            Sigil-${version}-Code
+use_zip             yes
 use_parallel_build  yes
-universal_variant   no
 
-checksums           md5     83c1a5608a2ec59a83c86ccc1429b5cc \
-                    sha1    e43861b2979f11e2abefedad454623e2685c781f \
-                    rmd160  cb400fec5b2453a2cd076c1821e2962df7d011c8
+checksums           rmd160  5c41cf2025c696c2cb77a4d266f749aa1856775d \
+                    sha256  02b95d3d1d5ad8a186212c6c60ae76fa17a98da83a748965db9546ff51903308
 
-depends_build-append bin:cmake:cmake \
-		    bin:gmake:gmake
+depends_lib-append  port:boost \
+                    port:hunspell \
+                    port:xercesc3 \
+                    port:zlib
 
 extract.mkdir	    yes
-extract.suffix      .zip
-extract.cmd         unzip
-extract.pre_args    -q
-extract.post_args   "-d ${workpath}/Sigil-${version}-Code"
 
-configure.cmd	    "cmake"
-configure.args	    "-G \"Unix Makefiles\" ${workpath}/Sigil-${version}-Code"
+configure.dir       ${worksrcpath}/build
+configure.args-append ${worksrcpath}
+build.dir           ${configure.dir}
 
-build.cmd	    "gmake"
-build.args	    ""
-build.target	    "Sigil"
-
-pre-configure {
-	reinplace "s|ppc;i386|${configure.build_arch}|g" ${workpath}/Sigil-${version}-Code/CMakeLists.txt
-	file mkdir ${worksrcpath}
+post-extract {
+    file mkdir ${build.dir}
 }
 
-destroot {
-    xinstall -d ${destroot}${applications_dir}
+build.target        Sigil
 
-    copy					\
-	${worksrcpath}/bin/Sigil.app		\
-	${destroot}${applications_dir}
+destroot {
+    copy ${destroot.dir}/bin/Sigil.app ${destroot}${applications_dir}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121130/3315f39a/attachment-0001.html>


More information about the macports-changes mailing list