diff options
author | pav <pav@FreeBSD.org> | 2005-09-14 05:37:13 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-09-14 05:37:13 +0800 |
commit | 48093625ea3f0313fbb53ca8eeb044c1e5410d9d (patch) | |
tree | 0611aa5074fbb628ee996c73ea385c58aaa61b8a | |
parent | ea3cec47e86e850ff688cfe8110797fde3bead19 (diff) | |
download | freebsd-ports-gnome-48093625ea3f0313fbb53ca8eeb044c1e5410d9d.tar.gz freebsd-ports-gnome-48093625ea3f0313fbb53ca8eeb044c1e5410d9d.tar.zst freebsd-ports-gnome-48093625ea3f0313fbb53ca8eeb044c1e5410d9d.zip |
- Update to 1.70 for FreeBSD 5.X and newer
PR: ports/86066
Submitted by: Serge Negodyuck <petr@petrovich.kiev.ua> (maintainer)
-rw-r--r-- | graphics/xnview/Makefile | 23 | ||||
-rw-r--r-- | graphics/xnview/distinfo | 2 | ||||
-rw-r--r-- | graphics/xnview/pkg-plist | 4 |
3 files changed, 21 insertions, 8 deletions
diff --git a/graphics/xnview/Makefile b/graphics/xnview/Makefile index f70b90ea5240..ac43c58a9548 100644 --- a/graphics/xnview/Makefile +++ b/graphics/xnview/Makefile @@ -6,10 +6,10 @@ # PORTNAME= xnview -PORTVERSION= 1.68 +PORTVERSION= 1.70 CATEGORIES= graphics -MASTER_SITES= ftp://www.zoo-logique.org/xnview/download/ -DISTNAME= XnView-x86-unknown-FreeBSD4.x-static +MASTER_SITES= http://download.xnview.com/ +DISTNAME= XnView-x86-unknown-FreeBSD5.x-static EXTRACT_SUFX= .tgz MAINTAINER= petr@petrovich.kiev.ua @@ -18,7 +18,7 @@ COMMENT= An easy graphics viewer / converter ONLY_FOR_ARCHS= i386 NO_BUILD= yes USE_X_PREFIX= yes -WRKSRC= ${WRKDIR}/XnView-${PORTVERSION}-x86-unknown-FreeBSD4.x-static +WRKSRC= ${WRKDIR}/XnView-${PORTVERSION}-x86-unknown-FreeBSD5.x-static INSTALL_SLIB= yes MAN1= xnview.1 nview.1 @@ -27,16 +27,27 @@ MLINKS= nview.1 nv.1 \ .include <bsd.port.pre.mk> -.if ${OSVERSION} >= 500000 -LIB_DEPENDS+= c.4:${PORTSDIR}/misc/compat4x +.if ${OSVERSION} < 500000 +PORTVERSION= 1.68 +DISTNAME= XnView-x86-unknown-FreeBSD4.x-static +WRKSRC= ${WRKDIR}/XnView-${PORTVERSION}-x86-unknown-FreeBSD4.x-static +PLIST_SUB+= FREEBSD4="" +.else +PLIST_SUB+= FREEBSD4="@comment " +.endif + +.if ${OSVERSION} >= 600000 + LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/xnview ${PREFIX}/bin/xnview ${INSTALL_PROGRAM} ${WRKSRC}/bin/nview ${PREFIX}/bin/nv ${INSTALL_PROGRAM} ${WRKSRC}/bin/nconvert ${PREFIX}/bin/nconvert +.if ${OSVERSION} < 500000 ${INSTALL_PROGRAM} ${WRKSRC}/lib/libformat.so.4.16 ${PREFIX}/lib/libformat.so.4 ${LN} -sf ${PREFIX}/lib/libformat.so.4 ${PREFIX}/lib/libformat.so +.endif ${INSTALL_DATA} ${WRKSRC}/app-defaults/XnView.ad ${PREFIX}/lib/X11/app-defaults/XnView cd ${WRKSRC}/man && ${INSTALL_MAN} xnview.1 nview.1 ${PREFIX}/man/man1 diff --git a/graphics/xnview/distinfo b/graphics/xnview/distinfo index 11b581a889a3..b37ec0582157 100644 --- a/graphics/xnview/distinfo +++ b/graphics/xnview/distinfo @@ -1,2 +1,4 @@ MD5 (XnView-x86-unknown-FreeBSD4.x-static.tgz) = 44af50cefcb49e397fd02b74639b23e5 SIZE (XnView-x86-unknown-FreeBSD4.x-static.tgz) = 1428509 +MD5 (XnView-x86-unknown-FreeBSD5.x-static.tgz) = a6cbb30e84970f7ce2331f0840663358 +SIZE (XnView-x86-unknown-FreeBSD5.x-static.tgz) = 2630725 diff --git a/graphics/xnview/pkg-plist b/graphics/xnview/pkg-plist index 84516effdea2..b2bf0c1130b7 100644 --- a/graphics/xnview/pkg-plist +++ b/graphics/xnview/pkg-plist @@ -2,8 +2,8 @@ bin/nconvert bin/nv bin/xnview lib/X11/app-defaults/XnView -lib/libformat.so -lib/libformat.so.4 +%%FREEBSD4%%lib/libformat.so +%%FREEBSD4%%lib/libformat.so.4 %%PORTDOCS%%%%DOCSDIR%%/Formats.txt %%PORTDOCS%%%%DOCSDIR%%/ReadMe.txt %%PORTDOCS%%%%DOCSDIR%%/Usage.txt |