[70109] trunk/dports/graphics
ryandesign at macports.org
ryandesign at macports.org
Thu Jul 29 20:36:13 PDT 2010
Revision: 70109
http://trac.macports.org/changeset/70109
Author: ryandesign at macports.org
Date: 2010-07-29 20:36:10 -0700 (Thu, 29 Jul 2010)
Log Message:
-----------
metapixel: new port, version 1.0.2; see #25866
Added Paths:
-----------
trunk/dports/graphics/metapixel/
trunk/dports/graphics/metapixel/Portfile
trunk/dports/graphics/metapixel/files/
trunk/dports/graphics/metapixel/files/patch-Makefile.diff
trunk/dports/graphics/metapixel/files/patch-rwimg-Makefile.diff
Added: trunk/dports/graphics/metapixel/Portfile
===================================================================
--- trunk/dports/graphics/metapixel/Portfile (rev 0)
+++ trunk/dports/graphics/metapixel/Portfile 2010-07-30 03:36:10 UTC (rev 70109)
@@ -0,0 +1,55 @@
+# -*- 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 metapixel
+version 1.0.2
+categories graphics
+platforms darwin
+maintainers free.fr:fclaire
+
+description A Photomosaic Generator
+
+long_description Metapixel is a program for generating photomosaics. \
+ It can generate classical photomosaics, in which the \
+ source image is viewed as a matrix of equally sized \
+ rectangles for each of which a matching image is \
+ substitued, as well as collage-style photomosaics, \
+ in which rectangular parts of the source image at \
+ arbitrary positions (i.e. not aligned to a matrix) \
+ are substituted by matching images.
+
+homepage http://www.complang.tuwien.ac.at/schani/metapixel/
+master_sites ${homepage}files/
+
+checksums md5 af5d77d38826756af213a08e3ada9941 \
+ sha1 f917aec91430b1bdbcc7b3dea29cb93f15a04c77 \
+ rmd160 7343c66e925e5b55cfe63624be18159717b1295e
+
+depends_lib port:perl5 \
+ port:jpeg \
+ port:giflib \
+ port:libpng
+
+patchfiles patch-Makefile.diff \
+ patch-rwimg-Makefile.diff
+
+use_configure no
+
+variant universal {}
+if {[variant_isset universal]} {
+ set archflags ${configure.universal_cflags}
+} else {
+ set archflags ${configure.cc_archflags}
+}
+
+build.args PREFIX=${prefix} \
+ CC="${configure.cc}" \
+ MACOS_CCOPTS="${archflags}" \
+ MACOS_LDOPTS="${archflags}"
+
+destroot.destdir PREFIX=${destroot}${prefix} \
+ CC="${configure.cc}" \
+ MACOS_CCOPTS="${archflags}" \
+ MACOS_LDOPTS="${archflags}"
Property changes on: trunk/dports/graphics/metapixel/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/graphics/metapixel/files/patch-Makefile.diff
===================================================================
--- trunk/dports/graphics/metapixel/files/patch-Makefile.diff (rev 0)
+++ trunk/dports/graphics/metapixel/files/patch-Makefile.diff 2010-07-30 03:36:10 UTC (rev 70109)
@@ -0,0 +1,13 @@
+--- Makefile.orig 2006-12-10 11:59:54.000000000 -0600
++++ Makefile 2010-07-29 22:13:59.000000000 -0500
+@@ -16,8 +16,8 @@
+
+ FORMATDEFS = -DRWIMG_JPEG -DRWIMG_PNG -DRWIMG_GIF
+
+-LDOPTS = $(MACOS_LDOPTS) -L/usr/X11R6/lib $(PROFILE) $(DEBUG)
+-CCOPTS = $(MACOS_CCOPTS) -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I. -Irwimg -Wall $(OPTIMIZE) $(DEBUG) $(PROFILE) -DMETAPIXEL_VERSION=\"$(VERSION)\"
++LDOPTS = $(MACOS_LDOPTS) -L$(PREFIX)/lib $(PROFILE) $(DEBUG)
++CCOPTS = $(MACOS_CCOPTS) -I$(PREFIX)/include -I$(PREFIX)/include/X11 -I. -Irwimg -Wall $(OPTIMIZE) $(DEBUG) $(PROFILE) -DMETAPIXEL_VERSION=\"$(VERSION)\"
+ CC = gcc
+ #LIBFFM = -lffm
+
Added: trunk/dports/graphics/metapixel/files/patch-rwimg-Makefile.diff
===================================================================
--- trunk/dports/graphics/metapixel/files/patch-rwimg-Makefile.diff (rev 0)
+++ trunk/dports/graphics/metapixel/files/patch-rwimg-Makefile.diff 2010-07-30 03:36:10 UTC (rev 70109)
@@ -0,0 +1,11 @@
+--- rwimg/Makefile.orig 2010-07-29 22:29:30.000000000 -0500
++++ rwimg/Makefile 2010-07-29 22:30:17.000000000 -0500
+@@ -5,7 +5,7 @@
+ all : librwimg.a
+
+ librwimg.a : $(OBJS)
+- ar rcu librwimg.a $(OBJS)
++ ar rcsu librwimg.a $(OBJS)
+
+ %.o : %.c
+ $(CC) $(CCOPTS) $(FORMATDEFS) -g -c $<
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100729/c5944a4e/attachment.html>
More information about the macports-changes
mailing list