diff options
author | gahr <gahr@FreeBSD.org> | 2008-03-12 03:37:15 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2008-03-12 03:37:15 +0800 |
commit | 8945a905b25062e47f62feb5970e0c558e02103a (patch) | |
tree | 1e9ff306e34f033b1cdd69d15fae942fd4d410e1 | |
parent | 4aa25684635139deb9040440b684d64d6e7322db (diff) | |
download | freebsd-ports-gnome-8945a905b25062e47f62feb5970e0c558e02103a.tar.gz freebsd-ports-gnome-8945a905b25062e47f62feb5970e0c558e02103a.tar.zst freebsd-ports-gnome-8945a905b25062e47f62feb5970e0c558e02103a.zip |
- Update nconvert in graphics/xnview
PR: 121456
Submitted by: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
Reviewed by: Serge Negodyuck <petr@petrovich.kiev.ua> (maintainer)
Approved by: Serge Negodyuck <petr@petrovich.kiev.ua> (maintainer),
miwi (mentor)
-rw-r--r-- | graphics/xnview/Makefile | 19 | ||||
-rw-r--r-- | graphics/xnview/distinfo | 6 |
2 files changed, 20 insertions, 5 deletions
diff --git a/graphics/xnview/Makefile b/graphics/xnview/Makefile index 9c88ce418d3c..9307e37a9e07 100644 --- a/graphics/xnview/Makefile +++ b/graphics/xnview/Makefile @@ -7,10 +7,10 @@ PORTNAME= xnview PORTVERSION= 1.70 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://www.xnview-download.de/download/ -DISTNAME= XnView-x86-unknown-FreeBSD5.x-static -EXTRACT_SUFX= .tgz +DISTFILES= XnView-x86-unknown-FreeBSD5.x-static.tgz MAINTAINER= petr@petrovich.kiev.ua COMMENT= An easy graphics viewer / converter @@ -29,19 +29,34 @@ MLINKS= nview.1 nv.1 \ .if ${OSVERSION} >= 600000 LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x + DISTFILES+= NConvert-x86-unknown-FreeBSD6.x.tgz + WRKSRC_NC= ${WRKDIR}/NConvert +.endif + +.if ${OSVERSION} >= 700000 + LIB_DEPENDS+= c.6:${PORTSDIR}/misc/compat6x .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/xnview ${PREFIX}/bin/xnview ${INSTALL_PROGRAM} ${WRKSRC}/bin/nview ${PREFIX}/bin/nv +.if ${OSVERSION} >= 600000 + ${INSTALL_PROGRAM} ${WRKSRC_NC}/nconvert ${PREFIX}/bin/nconvert +.else ${INSTALL_PROGRAM} ${WRKSRC}/bin/nconvert ${PREFIX}/bin/nconvert +.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 .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} +.if ${OSVERSION} >= 600000 + cd ${WRKSRC_NC} && \ + ${INSTALL_DATA} Formats.txt ReadMe.txt Usage.txt WhatsNew.txt ${DOCSDIR} +.else cd ${WRKSRC} && \ ${INSTALL_DATA} Formats.txt ReadMe.txt Usage.txt WhatsNew.txt ${DOCSDIR} .endif +.endif .include <bsd.port.post.mk> diff --git a/graphics/xnview/distinfo b/graphics/xnview/distinfo index e57c18b6b270..96b640a3a6b2 100644 --- a/graphics/xnview/distinfo +++ b/graphics/xnview/distinfo @@ -1,6 +1,6 @@ -MD5 (XnView-x86-unknown-FreeBSD4.x-static.tgz) = 44af50cefcb49e397fd02b74639b23e5 -SHA256 (XnView-x86-unknown-FreeBSD4.x-static.tgz) = 0214d199ddfa4c81c8463efeeed9a725410a848bac234957be19bfb29fb6c4c3 -SIZE (XnView-x86-unknown-FreeBSD4.x-static.tgz) = 1428509 MD5 (XnView-x86-unknown-FreeBSD5.x-static.tgz) = a6cbb30e84970f7ce2331f0840663358 SHA256 (XnView-x86-unknown-FreeBSD5.x-static.tgz) = 88a8d07802e156ff5d93394e8caecd7a6937a81f396b145ef1e4455ed3296ceb SIZE (XnView-x86-unknown-FreeBSD5.x-static.tgz) = 2630725 +MD5 (NConvert-x86-unknown-FreeBSD6.x.tgz) = 691eb763a03130d7ff821970659d9ce4 +SHA256 (NConvert-x86-unknown-FreeBSD6.x.tgz) = 72ae2fbcc4aaed2d74fd4eb883ee42264d55db336bc531cdee8766c9b5baa6d2 +SIZE (NConvert-x86-unknown-FreeBSD6.x.tgz) = 735994 |