summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2008-08-15 06:59:00 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2008-08-15 06:59:00 +0000
commit7914edce07d75fe5cd9eb6c73c1d53c62dd26982 (patch)
tree55bb3df7020313076aab796034ea9b6fe7fadb81 /graphics
parentmaintainer update www/mod_clamav (diff)
New port: graphics/linux-XnViewMP
XnView MP is a utility for viewing and converting graphic files. It stands for XnView Multi Platform and it will replace current "XnView for *nix" & "XnView for MacOSX" WWW: http://www.xnview.com/ PR: ports/125899 Submitted by: Serge Negodyuck <petr@petrovich.kiev.ua>
Notes
Notes: svn path=/head/; revision=218614
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/linux-XnViewMP/Makefile43
-rw-r--r--graphics/linux-XnViewMP/distinfo3
-rw-r--r--graphics/linux-XnViewMP/pkg-descr6
4 files changed, 53 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 7a0e909ffd06..260d9a1f17d9 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -427,6 +427,7 @@
SUBDIR += libwpcg
SUBDIR += libx3dtk
SUBDIR += linplasma
+ SUBDIR += linux-XnViewMP
SUBDIR += linux-ac3d
SUBDIR += linux-adobesvg
SUBDIR += linux-cairo
diff --git a/graphics/linux-XnViewMP/Makefile b/graphics/linux-XnViewMP/Makefile
new file mode 100644
index 000000000000..e5c997b72eb8
--- /dev/null
+++ b/graphics/linux-XnViewMP/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: xnview-mp
+# Date created: 23 Jul 2008
+# Whom: Serge Negodyuck <petr@petrovich.kiev.ua>
+#
+# $FreeBSD$
+#
+
+PORTNAME= XnViewMP
+PORTVERSION= 0.015
+CATEGORIES= graphics
+MASTER_SITES= ftp://ftp2.xnview.com/xnview/misc/
+PKGNAMEPREFIX= linux-
+DISTNAME= XnViewMP-linux
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= petr@petrovich.kiev.ua
+COMMENT= XnView Multi Platform, graphics viewer and converer
+
+RUN_DEPENDS= ${LINUXBASE}/usr/lib/libglib-2.0.so.0:${PORTSDIR}/devel/linux-glib2
+
+NO_CDROM= For commercial use and distribution, it is necessary to register
+ONLY_FOR_ARCHS= i386
+NO_BUILD= yes
+WRKSRC= ${WRKDIR}/XnViewMP
+
+USE_LINUX= yes
+USE_XLIB= yes
+
+PLIST_FILES= bin/xnview-mp lib/xnview-mp/libQtCore.so.4 \
+ lib/xnview-mp/libQtGui.so.4 lib/xnview-mp/xnview
+PLIST_DIRS= lib/xnview-mp
+
+post-patch:
+ @${REINPLACE_CMD} -e "s|\.|${PREFIX}/lib/xnview-mp|" ${WRKSRC}/xnview.sh
+
+do-install:
+ ${MKDIR} ${PREFIX}/lib/xnview-mp
+ ${INSTALL_SCRIPT} ${WRKSRC}/xnview.sh ${PREFIX}/bin/xnview-mp
+ ${INSTALL_PROGRAM} ${WRKSRC}/libQtCore.so.4 ${PREFIX}/lib/xnview-mp/
+ ${INSTALL_PROGRAM} ${WRKSRC}/libQtGui.so.4 ${PREFIX}/lib/xnview-mp/
+ ${INSTALL_PROGRAM} ${WRKSRC}/xnview ${PREFIX}/lib/xnview-mp/
+
+.include <bsd.port.mk>
diff --git a/graphics/linux-XnViewMP/distinfo b/graphics/linux-XnViewMP/distinfo
new file mode 100644
index 000000000000..af0054f95280
--- /dev/null
+++ b/graphics/linux-XnViewMP/distinfo
@@ -0,0 +1,3 @@
+MD5 (XnViewMP-linux.tgz) = d51e1da591409de2cecd8286dd7f7f5e
+SHA256 (XnViewMP-linux.tgz) = abca27d347adba286504d7544e2cd76e9c32ce0f82042f514242373934414264
+SIZE (XnViewMP-linux.tgz) = 6271219
diff --git a/graphics/linux-XnViewMP/pkg-descr b/graphics/linux-XnViewMP/pkg-descr
new file mode 100644
index 000000000000..651a80a2c252
--- /dev/null
+++ b/graphics/linux-XnViewMP/pkg-descr
@@ -0,0 +1,6 @@
+XnView MP is a utility for viewing and converting graphic files.
+
+It stands for XnView Multi Platform and it will replace current
+"XnView for *nix" & "XnView for MacOSX"
+
+WWW: http://www.xnview.com/