[144505] trunk/dports/graphics/libcaca/Portfile

khindenburg at macports.org khindenburg at macports.org
Sun Jan 10 09:10:43 PST 2016


Revision: 144505
          https://trac.macports.org/changeset/144505
Author:   khindenburg at macports.org
Date:     2016-01-10 09:10:42 -0800 (Sun, 10 Jan 2016)
Log Message:
-----------
libcaca: move X11 dependencies to +x11 variant; enable tests #47526

Modified Paths:
--------------
    trunk/dports/graphics/libcaca/Portfile

Modified: trunk/dports/graphics/libcaca/Portfile
===================================================================
--- trunk/dports/graphics/libcaca/Portfile	2016-01-10 17:08:35 UTC (rev 144504)
+++ trunk/dports/graphics/libcaca/Portfile	2016-01-10 17:10:42 UTC (rev 144505)
@@ -5,7 +5,7 @@
 
 name                libcaca
 version             0.99.beta19
-revision            3
+revision            4
 categories          graphics
 license             WTFPL-2 LGPL-2+
 maintainers         nomaintainer
@@ -19,10 +19,7 @@
 homepage            http://libcaca.zoy.org/wiki/libcaca
 platforms           darwin
 depends_build       port:pkgconfig
-depends_lib         port:imlib2 \
-                    port:freeglut \
-                    port:libGLU \
-                    port:ncurses
+depends_lib         port:ncurses
 master_sites        http://caca.zoy.org/files/libcaca/
 #master_sites       http://libcaca.zoy.org/raw-attachment/wiki/libcaca/
 
@@ -45,7 +42,11 @@
 build.args-append   V=1
 
 variant	x11 {
-	depends_lib-append	port:xorg-libX11
+    depends_lib-append  port:imlib2 \
+                        port:freeglut \
+                        port:libGLU \
+                        port:xorg-libX11
+
 	configure.args-delete   --disable-x11
 	configure.args-append	--enable-x11 \
 	                        --x-includes=${prefix}/include \
@@ -54,6 +55,9 @@
 
 compiler.blacklist  llvm-gcc-4.2
 
+test.run            yes
+test.target         check
+
 livecheck.type      regex
 livecheck.url       ${master_sites}
 livecheck.regex     "${name}-(\\d+(?:\\.\\d+)\\.beta(?:\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160110/f5e1b93b/attachment.html>


More information about the macports-changes mailing list