- 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)
This commit is contained in:
Pietro Cerutti 2008-03-11 19:37:15 +00:00
parent 4afd3f7f60
commit 6db76aa2a8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=208831
2 changed files with 20 additions and 5 deletions

View file

@ -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>

View file

@ -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