aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-10-08 13:15:21 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-10-08 13:15:21 +0000
commit355d600911e4a488711b78b27ebb0cae3e098f37 (patch)
tree703c8941d7f066ff7fe98123efbef9fbdcac8125 /graphics
parentec5ba85483a871141143b43d035a843f6c20fd42 (diff)
downloadports-355d600911e4a488711b78b27ebb0cae3e098f37.tar.gz
ports-355d600911e4a488711b78b27ebb0cae3e098f37.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/gpicview/Makefile21
-rw-r--r--graphics/gpicview/distinfo3
-rw-r--r--graphics/gpicview/files/patch-src_Makefile.am14
-rw-r--r--graphics/gpicview/files/patch-src_Makefile.in14
-rw-r--r--graphics/gpicview/pkg-descr12
-rw-r--r--graphics/gpicview/pkg-plist11
7 files changed, 76 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 9f277dad6772..83e6b5709d6f 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -228,6 +228,7 @@
SUBDIR += gozer
SUBDIR += gpaint
SUBDIR += gphoto2
+ SUBDIR += gpicview
SUBDIR += gplot
SUBDIR += gpsmanshp
SUBDIR += gqview
diff --git a/graphics/gpicview/Makefile b/graphics/gpicview/Makefile
new file mode 100644
index 000000000000..e4eed609ac1d
--- /dev/null
+++ b/graphics/gpicview/Makefile
@@ -0,0 +1,21 @@
+# New ports collection makefile for: gpicview
+# Date created: 2007-10-05
+# Whom: Janos Mohacsi <janos.mohacsi@bsd.hu>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gpicview
+PORTVERSION= 0.1.5
+CATEGORIES= graphics
+MASTER_SITES= SF
+MASTER_SITE_SUBDIR= lxde
+
+MAINTAINER= janos.mohacsi@bsd.hu
+COMMENT= A Simple and Fast Image Viewer for X
+
+USE_XLIB= yes
+USE_GNOME= gtk20
+GNU_CONFIGURE= yes
+
+.include <bsd.port.mk>
diff --git a/graphics/gpicview/distinfo b/graphics/gpicview/distinfo
new file mode 100644
index 000000000000..765d5fc56b5d
--- /dev/null
+++ b/graphics/gpicview/distinfo
@@ -0,0 +1,3 @@
+MD5 (gpicview-0.1.5.tar.gz) = 5c484ea089f5a6455265e1e1f472240e
+SHA256 (gpicview-0.1.5.tar.gz) = 7663e1849f3b1f2225a3310f907f86068d7ac5c8957d68fc4a684059b49211ca
+SIZE (gpicview-0.1.5.tar.gz) = 363712
diff --git a/graphics/gpicview/files/patch-src_Makefile.am b/graphics/gpicview/files/patch-src_Makefile.am
new file mode 100644
index 000000000000..3d932dddb66b
--- /dev/null
+++ b/graphics/gpicview/files/patch-src_Makefile.am
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- src/Makefile.am.orig
++++ src/Makefile.am
+@@ -18,7 +18,7 @@
+
+ # the library search path.
+ # use -nodefaultlibs to prevent linking libstdc++
+-gpicview_LDFLAGS = $(all_libraries) -nodefaultlibs -lc
++gpicview_LDFLAGS = $(all_libraries) -lc
+ gpicview_LDADD = @PACKAGE_LIBS@
+ gpicview_CXXFLAGS = -fno-rtti -fno-exceptions
+
diff --git a/graphics/gpicview/files/patch-src_Makefile.in b/graphics/gpicview/files/patch-src_Makefile.in
new file mode 100644
index 000000000000..21b5294e56ba
--- /dev/null
+++ b/graphics/gpicview/files/patch-src_Makefile.in
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- src/Makefile.in.orig
++++ src/Makefile.in
+@@ -225,7 +225,7 @@
+
+ # the library search path.
+ # use -nodefaultlibs to prevent linking libstdc++
+-gpicview_LDFLAGS = $(all_libraries) -nodefaultlibs -lc
++gpicview_LDFLAGS = $(all_libraries) -lc
+ gpicview_LDADD = @PACKAGE_LIBS@
+ gpicview_CXXFLAGS = -fno-rtti -fno-exceptions
+ noinst_HEADERS = \
diff --git a/graphics/gpicview/pkg-descr b/graphics/gpicview/pkg-descr
new file mode 100644
index 000000000000..f02fbbad0a7b
--- /dev/null
+++ b/graphics/gpicview/pkg-descr
@@ -0,0 +1,12 @@
+GPicView - A Simple and Fast Image Viewer for X
+
+Features:
+ * Extremely lightweight and fast with low memory usage
+ * Very suitable for default image viewer of desktop system
+ * Simple and intuitive interface
+ * Minimal lib dependency: Only pure GTK+ is used
+ * Desktop independent: Doesn't require any specific desktop environment
+ * Open source, licensed under GNU GPL
+
+
+WWW: http://lxde.sourceforge.net/gpicview/
diff --git a/graphics/gpicview/pkg-plist b/graphics/gpicview/pkg-plist
new file mode 100644
index 000000000000..edd060e5bde7
--- /dev/null
+++ b/graphics/gpicview/pkg-plist
@@ -0,0 +1,11 @@
+bin/gpicview
+share/applications/gpicview.desktop
+%%DATADIR%%/pixmaps/clockwise.png
+%%DATADIR%%/pixmaps/counterclockwise.png
+%%DATADIR%%/pixmaps/fullscreen.png
+share/pixmaps/gpicview.png
+@dirrm %%DATADIR%%/pixmaps
+@dirrmtry share/applications
+@dirrm %%DATADIR%%
+@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
+@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true