[72348] trunk/dports/graphics
raphael at macports.org
raphael at macports.org
Mon Oct 11 07:52:04 PDT 2010
Revision: 72348
http://trac.macports.org/changeset/72348
Author: raphael at macports.org
Date: 2010-10-11 07:52:01 -0700 (Mon, 11 Oct 2010)
Log Message:
-----------
minidjvu: new port; version 0.8; a bitonal DjVu encoder/decoder
Added Paths:
-----------
trunk/dports/graphics/minidjvu/
trunk/dports/graphics/minidjvu/Portfile
trunk/dports/graphics/minidjvu/files/
trunk/dports/graphics/minidjvu/files/patch-Makefile.in.diff
trunk/dports/graphics/minidjvu/files/patch-configure.ac.diff
Added: trunk/dports/graphics/minidjvu/Portfile
===================================================================
--- trunk/dports/graphics/minidjvu/Portfile (rev 0)
+++ trunk/dports/graphics/minidjvu/Portfile 2010-10-11 14:52:01 UTC (rev 72348)
@@ -0,0 +1,53 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name minidjvu
+version 0.8
+platforms darwin
+maintainers raphael openmaintainer
+license GPL-2
+categories graphics
+description A bitonal DjVu encoder/decoder
+homepage http://${name}.sourceforge.net/
+long_description minidjvu is a command line utility which encodes and decodes \
+ single page black-and-white DjVu files, and can compress multiple \
+ pages, taking advantage from similarities between pages.
+
+depends_lib port:tiff \
+ port:jpeg \
+ port:zlib
+
+master_sites sourceforge
+
+checksums md5 b354eb74d83c6e2d91aab2a6c2879ba7 \
+ sha1 23835f73bc3580b72c6afe1f77feaf1e2611e714 \
+ rmd160 a89bc883f4ffa9fbb53988c6d27f80880089a973
+
+patchfiles patch-Makefile.in.diff
+if {${os.platform} == "darwin" && [rpm-vercomp ${os.version} 10] < 0} {
+ patchfiles-append patch-configure.ac.diff
+ use_autoconf yes
+}
+
+use_parallel_build no
+
+post-destroot { set docdir ${destroot}${prefix}/share/doc/${name}
+ xinstall -d ${docdir}
+ xinstall -m 644 -W ${worksrcpath} \
+ COPYING \
+ NEWS \
+ README \
+ ${docdir}
+ xinstall -d ${docdir}/html
+ xinstall -m 644 -W ${worksrcpath}/doc \
+ decode.html \
+ encode.html \
+ tifftodjvu_help.html \
+ ${docdir}/html
+}
+
+livecheck.type regex
+livecheck.url http://sourceforge.net/projects/${name}/files/
+livecheck.regex ${name}-(\[0-9.\]+)\\.tar
Property changes on: trunk/dports/graphics/minidjvu/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/graphics/minidjvu/files/patch-Makefile.in.diff
===================================================================
--- trunk/dports/graphics/minidjvu/files/patch-Makefile.in.diff (rev 0)
+++ trunk/dports/graphics/minidjvu/files/patch-Makefile.in.diff 2010-10-11 14:52:01 UTC (rev 72348)
@@ -0,0 +1,11 @@
+--- Makefile.in.orig 2010-10-07 14:39:41.000000000 +0200
++++ Makefile.in 2010-10-07 14:40:09.000000000 +0200
+@@ -56,7 +56,7 @@
+ install-doc:
+ ${INSTALL} -d ${DESTDIR}$(MANDIR)
+ ${INSTALL_DATA} $(DOCDIR)/$(manpage).1 ${DESTDIR}$(MANDIR)
+- /usr/bin/gzip -nf -9 $(MANDIR)/$(manpage).1
++ /usr/bin/gzip -nf -9 ${DESTDIR}$(MANDIR)/$(manpage).1
+ for dir in $(DOCDIR)/*/; do \
+ if [ -f $${dir}$(manpage).1 ]; then \
+ LOCMANDIR=${DESTDIR}$(prefix)/share/man$${dir#$(DOCDIR)}/man1 &&\
Added: trunk/dports/graphics/minidjvu/files/patch-configure.ac.diff
===================================================================
--- trunk/dports/graphics/minidjvu/files/patch-configure.ac.diff (rev 0)
+++ trunk/dports/graphics/minidjvu/files/patch-configure.ac.diff 2010-10-11 14:52:01 UTC (rev 72348)
@@ -0,0 +1,11 @@
+--- configure.ac.orig 2010-10-08 17:47:04.000000000 +0200
++++ configure.ac 2010-10-08 17:47:24.000000000 +0200
+@@ -196,7 +196,7 @@
+ AC_TYPE_SIZE_T
+
+ CFLAGS="$CFLAGS -Wall -Wshadow"
+-CFLAGS="$CFLAGS -pedantic-errors -Wpointer-arith -Waggregate-return"
++CFLAGS="$CFLAGS -Wpointer-arith -Waggregate-return"
+ CFLAGS="$CFLAGS -Wlong-long -Winline -Wredundant-decls -Wcast-qual -Wcast-align"
+ DEFS="$DEFS -D__STRICT_ANSI__ -DNDEBUG"
+ OPTS="-Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101011/df78a22a/attachment.html>
More information about the macports-changes
mailing list