[28576] trunk/dports/graphics

source_changes at macosforge.org source_changes at macosforge.org
Mon Sep 3 16:27:51 PDT 2007


Revision: 28576
          http://trac.macosforge.org/projects/macports/changeset/28576
Author:   yves at macports.org
Date:     2007-09-03 16:27:51 -0700 (Mon, 03 Sep 2007)

Log Message:
-----------
New port qiv ticket:12001

Added Paths:
-----------
    trunk/dports/graphics/qiv/
    trunk/dports/graphics/qiv/Portfile
    trunk/dports/graphics/qiv/files/
    trunk/dports/graphics/qiv/files/patch-Makefile

Added: trunk/dports/graphics/qiv/Portfile
===================================================================
--- trunk/dports/graphics/qiv/Portfile	                        (rev 0)
+++ trunk/dports/graphics/qiv/Portfile	2007-09-03 23:27:51 UTC (rev 28576)
@@ -0,0 +1,23 @@
+# $Id$
+
+PortSystem	 1.0
+
+name         qiv
+version      2.0
+categories   graphics
+platforms    darwin
+maintainers  lloyd at hilaiel.com
+description  A very small and pretty fast gdk/Imlib image viewer
+long_description A very small and pretty fast gdk/Imlib image viewer \
+                 for X.
+homepage     http://www.klografx.net/qiv/
+master_sites http://www.klografx.net/qiv/download/
+distfiles    qiv-2.0-src.tgz
+checksums    qiv-2.0-src.tgz md5 165d0c2f264718821f94732196b7f9e1
+
+depends_lib  port:imlib
+
+use_configure    no
+
+# fix path.. /opt/local instead of /use/local
+patchfiles   patch-Makefile


Property changes on: trunk/dports/graphics/qiv/Portfile
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native

Added: trunk/dports/graphics/qiv/files/patch-Makefile
===================================================================
--- trunk/dports/graphics/qiv/files/patch-Makefile	                        (rev 0)
+++ trunk/dports/graphics/qiv/files/patch-Makefile	2007-09-03 23:27:51 UTC (rev 28576)
@@ -0,0 +1,25 @@
+--- Makefile.orig	2007-09-03 19:29:51.000000000 -0400
++++ Makefile	2007-09-03 19:31:13.000000000 -0400
+@@ -4,7 +4,7 @@
+ #######################################################################
+ 
+ # Directory where qiv will be installed under.
+-PREFIX = /usr/local
++PREFIX = $(DESTDIR)/opt/local
+ 
+ # Font to use for statusbar in fullscreen mode
+ STATUSBAR_FONT = "fixed"
+@@ -124,9 +124,11 @@
+ 
+ install: $(PROGRAM)
+ 	@echo "Installing QIV..."
++	mkdir -p $(PREFIX)/bin
+ 	install -s -m 0755 $(PROGRAM) $(PREFIX)/bin
+-	install -m 0644 $(PROGRAM).1 $(PREFIX)/man/man1
+-	$(COMPRESS_PROG) $(PREFIX)/man/man1/$(PROGRAM).1
++	mkdir -p $(PREFIX)/share/man/man1
++	install -m 0644 $(PROGRAM).1 $(PREFIX)/share/man/man1
++	$(COMPRESS_PROG) $(PREFIX)/share/man/man1/$(PROGRAM).1
+ 	@if ./qiv -f ./intro.jpg ; \
+ 	then echo "-- Test Passed --" ; \
+ 	else echo "-- Test Failed --" ; \

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070903/68f048b2/attachment.html


More information about the macports-changes mailing list