[55419] trunk/dports
krischik at macports.org
krischik at macports.org
Mon Aug 10 06:57:39 PDT 2009
Revision: 55419
http://trac.macports.org/changeset/55419
Author: krischik at macports.org
Date: 2009-08-10 06:57:38 -0700 (Mon, 10 Aug 2009)
Log Message:
-----------
Sigil, the ePub editor
Modified Paths:
--------------
trunk/dports/devel/libtidylib/Portfile
trunk/dports/devel/libziparchive/Portfile
trunk/dports/editors/sigil/Portfile
Added Paths:
-----------
trunk/dports/devel/libtidylib/
trunk/dports/devel/libziparchive/
trunk/dports/editors/sigil/
Modified: trunk/dports/devel/libtidylib/Portfile
===================================================================
--- trunk/dports/devel/gnat-xmlada/Portfile 2009-06-30 11:53:09 UTC (rev 53153)
+++ trunk/dports/devel/libtidylib/Portfile 2009-08-10 13:57:38 UTC (rev 55419)
@@ -1,42 +1,64 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*-
# $Id$
+# vim: set fileencoding=utf-8 tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab filetype=tcl :
PortSystem 1.0
-name gnat-xmlada
-version 3.1
-epoch 20090126
-revision 1
+name libtidylib
+version 0.1.1
+#epoch 20090114
+#revision 1
platforms darwin
categories devel
maintainers macports.org:krischik
-description XML/Ada: a full XML suite
-long_description XML/Ada is a set of modules that provide a simple \
- manipulation of XML streams. It supports the whole \
- XML 1.1 specifications, and can parse any file that \
- follows this standard (including the contents of \
- the DTD, although no validation of the document is \
- done based on those).
+description libtidylib for Sigil, the ePub editor
+long_description \
+ Sigil is a multi-platform WYSIWYG ebook editor. It \
+ is designed to edit books in ePub format
-homepage https://libre.adacore.com/xmlada
-master_sites sourceforge:gnuada
+homepage http://code.google.com/p/sigil
+master_sites googlecode:sigil
-distfiles xmlada-${version}-${epoch}.tar.bz2
-worksrcdir xmlada-${version}-${epoch}
+distfiles Sigil_code_${version}.zip
+worksrcdir Sigil_code_${version}/src
+dist_subdir sigil
-checksums md5 0cbed553776ae67e75a7b89324813aa7 \
- sha1 360fbc84dcf406c8edc0cfc8824bfa8080f1e9e4 \
- rmd160 0b2f44314ad2ef53f6fac094c3b20cbc32a12449
+checksums md5 ef1d26bf5e20e5b0313484840cc23ef5 \
+ sha1 48554f7026ebb9e788b54deaa9c6095cc28de166 \
+ rmd160 743fe87f7d1d3afbbefd5e37d04f6d91aa4e9e09
-use_bzip2 yes
+use_zip yes
use_parallel_build yes
use_configure yes
-depends_lib port:gnat-gcc
+depends_lib port:qt4-mac
-pre-destroot {
- reinplace "s|^prefix=|prefix=\${DESTDIR}|g" ${worksrcpath}/Makefile
+configure {
+ system "
+ if test ! -x /opt/local/bin/qmake ; then
+ ln -s /opt/local/libexec/qt4-mac/bin/qmake /opt/local/bin;
+ fi;
+ mkdir -p ${workpath}/build;
+ pushd ${workpath}/build;
+ cmake -G \"Unix Makefiles\" ${workpath}/${worksrcdir}/tidylib;
+ popd;
+ "
}
-# vim: set nowrap tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab :
-# vim: set textwidth=0 filetype=tcl foldmethod=marker nospell :
+build {
+ system "
+ pushd ${workpath}/build;
+ gmake;
+ popd;
+ "
+}
+
+destroot {
+ set lib_dir ${destroot}${prefix}/lib
+
+ xinstall -m 775 -d ${lib_dir}
+
+ eval xinstall -m 644 [glob ${workpath}/build/lib*] ${lib_dir}
+}
+
+
Modified: trunk/dports/devel/libziparchive/Portfile
===================================================================
--- trunk/dports/devel/gnat-xmlada/Portfile 2009-06-30 11:53:09 UTC (rev 53153)
+++ trunk/dports/devel/libziparchive/Portfile 2009-08-10 13:57:38 UTC (rev 55419)
@@ -1,42 +1,64 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*-
# $Id$
+# vim: set fileencoding=utf-8 tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab filetype=tcl :
PortSystem 1.0
-name gnat-xmlada
-version 3.1
-epoch 20090126
-revision 1
+name libziparchive
+version 0.1.1
+#epoch 20090114
+#revision 1
platforms darwin
categories devel
maintainers macports.org:krischik
-description XML/Ada: a full XML suite
-long_description XML/Ada is a set of modules that provide a simple \
- manipulation of XML streams. It supports the whole \
- XML 1.1 specifications, and can parse any file that \
- follows this standard (including the contents of \
- the DTD, although no validation of the document is \
- done based on those).
+description libZipArchive for Sigil, the ePub editor
+long_description \
+ Sigil is a multi-platform WYSIWYG ebook editor. It \
+ is designed to edit books in ePub format
-homepage https://libre.adacore.com/xmlada
-master_sites sourceforge:gnuada
+homepage http://code.google.com/p/sigil
+master_sites googlecode:sigil
-distfiles xmlada-${version}-${epoch}.tar.bz2
-worksrcdir xmlada-${version}-${epoch}
+distfiles Sigil_code_${version}.zip
+worksrcdir Sigil_code_${version}/src
+dist_subdir sigil
-checksums md5 0cbed553776ae67e75a7b89324813aa7 \
- sha1 360fbc84dcf406c8edc0cfc8824bfa8080f1e9e4 \
- rmd160 0b2f44314ad2ef53f6fac094c3b20cbc32a12449
+checksums md5 ef1d26bf5e20e5b0313484840cc23ef5 \
+ sha1 48554f7026ebb9e788b54deaa9c6095cc28de166 \
+ rmd160 743fe87f7d1d3afbbefd5e37d04f6d91aa4e9e09
-use_bzip2 yes
+use_zip yes
use_parallel_build yes
use_configure yes
-depends_lib port:gnat-gcc
+depends_lib port:qt4-mac
-pre-destroot {
- reinplace "s|^prefix=|prefix=\${DESTDIR}|g" ${worksrcpath}/Makefile
+configure {
+ system "
+ if test ! -x /opt/local/bin/qmake ; then
+ ln -s /opt/local/libexec/qt4-mac/bin/qmake /opt/local/bin;
+ fi;
+ mkdir -p ${workpath}/build;
+ pushd ${workpath}/build;
+ cmake -G \"Unix Makefiles\" ${workpath}/${worksrcdir}/ZipArchive;
+ popd;
+ "
}
-# vim: set nowrap tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab :
-# vim: set textwidth=0 filetype=tcl foldmethod=marker nospell :
+build {
+ system "
+ pushd ${workpath}/build;
+ gmake;
+ popd;
+ "
+}
+
+destroot {
+ set lib_dir ${destroot}${prefix}/lib
+
+ xinstall -m 775 -d ${lib_dir}
+
+ eval xinstall -m 644 [glob ${workpath}/build/lib*] ${lib_dir}
+}
+
+
Modified: trunk/dports/editors/sigil/Portfile
===================================================================
--- trunk/dports/devel/gnat-xmlada/Portfile 2009-06-30 11:53:09 UTC (rev 53153)
+++ trunk/dports/editors/sigil/Portfile 2009-08-10 13:57:38 UTC (rev 55419)
@@ -1,42 +1,65 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*-
# $Id$
+# vim: set fileencoding=utf-8 tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab filetype=tcl :
PortSystem 1.0
-name gnat-xmlada
-version 3.1
-epoch 20090126
-revision 1
+name sigil
+version 0.1.1
+#epoch 20090114
+#revision 1
platforms darwin
categories devel
maintainers macports.org:krischik
-description XML/Ada: a full XML suite
-long_description XML/Ada is a set of modules that provide a simple \
- manipulation of XML streams. It supports the whole \
- XML 1.1 specifications, and can parse any file that \
- follows this standard (including the contents of \
- the DTD, although no validation of the document is \
- done based on those).
+description Sigil, the ePub editor
+long_description \
+ Sigil is a multi-platform WYSIWYG ebook editor. It \
+ is designed to edit books in ePub format
-homepage https://libre.adacore.com/xmlada
-master_sites sourceforge:gnuada
+homepage http://code.google.com/p/sigil
+master_sites googlecode:sigil
-distfiles xmlada-${version}-${epoch}.tar.bz2
-worksrcdir xmlada-${version}-${epoch}
+distfiles Sigil_code_${version}.zip
+worksrcdir Sigil_code_${version}/src
-checksums md5 0cbed553776ae67e75a7b89324813aa7 \
- sha1 360fbc84dcf406c8edc0cfc8824bfa8080f1e9e4 \
- rmd160 0b2f44314ad2ef53f6fac094c3b20cbc32a12449
+checksums md5 ef1d26bf5e20e5b0313484840cc23ef5 \
+ sha1 48554f7026ebb9e788b54deaa9c6095cc28de166 \
+ rmd160 743fe87f7d1d3afbbefd5e37d04f6d91aa4e9e09
-use_bzip2 yes
+use_zip yes
use_parallel_build yes
use_configure yes
-depends_lib port:gnat-gcc
+depends_lib port:qt4-mac \
+ port:libtidylib \
+ port:libziparchive
-pre-destroot {
- reinplace "s|^prefix=|prefix=\${DESTDIR}|g" ${worksrcpath}/Makefile
+configure {
+ system "
+ if test ! -x /opt/local/bin/qmake ; then
+ ln -s /opt/local/libexec/qt4-mac/bin/qmake /opt/local/bin;
+ fi;
+ mkdir -p ${workpath}/build;
+ pushd ${workpath}/build;
+ cmake -G \"Unix Makefiles\" ${workpath}/${worksrcdir}/Sigil;
+ popd;
+ "
}
-# vim: set nowrap tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab :
-# vim: set textwidth=0 filetype=tcl foldmethod=marker nospell :
+build {
+ system "
+ pushd ${workpath}/build;
+ typeset -x LIBRARY_PATH=/opt/local/lib;
+ gmake Sigil;
+ popd;
+ "
+}
+
+destroot {
+ xinstall -d ${destroot}${applications_dir}
+
+ copy \
+ ${workpath}/build/Sigil.app \
+ ${destroot}${applications_dir}
+}
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090810/31b8c437/attachment.html>
More information about the macports-changes
mailing list