diff options
author | edwin <edwin@FreeBSD.org> | 2008-08-15 14:59:00 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2008-08-15 14:59:00 +0800 |
commit | ead2808ba7a2d0eab87b10787f04404bab18637e (patch) | |
tree | 289e4ee7cc8246b98519a2764a028a642fc8380e | |
parent | 150044139bb8506ee98c9e84d6b4e5f8a7d6a4ac (diff) | |
download | freebsd-ports-gnome-ead2808ba7a2d0eab87b10787f04404bab18637e.tar.gz freebsd-ports-gnome-ead2808ba7a2d0eab87b10787f04404bab18637e.tar.zst freebsd-ports-gnome-ead2808ba7a2d0eab87b10787f04404bab18637e.zip |
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>
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/linux-XnViewMP/Makefile | 43 | ||||
-rw-r--r-- | graphics/linux-XnViewMP/distinfo | 3 | ||||
-rw-r--r-- | graphics/linux-XnViewMP/pkg-descr | 6 |
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/ |