aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--graphics/xnview/Makefile19
-rw-r--r--graphics/xnview/distinfo3
-rw-r--r--graphics/xnview/pkg-plist2
3 files changed, 14 insertions, 10 deletions
diff --git a/graphics/xnview/Makefile b/graphics/xnview/Makefile
index d4aa8b59a3fb..f70b90ea5240 100644
--- a/graphics/xnview/Makefile
+++ b/graphics/xnview/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= xnview
-PORTVERSION= 1.50
+PORTVERSION= 1.68
CATEGORIES= graphics
MASTER_SITES= ftp://www.zoo-logique.org/xnview/download/
DISTNAME= XnView-x86-unknown-FreeBSD4.x-static
@@ -15,14 +15,16 @@ EXTRACT_SUFX= .tgz
MAINTAINER= petr@petrovich.kiev.ua
COMMENT= An easy graphics viewer / converter
-BROKEN= "Checksum mismatch"
-
ONLY_FOR_ARCHS= i386
NO_BUILD= yes
USE_X_PREFIX= yes
-WRKSRC= ${WRKDIR}/XnView-1.50-x86-unknown-FreeBSD4.x-static
+WRKSRC= ${WRKDIR}/XnView-${PORTVERSION}-x86-unknown-FreeBSD4.x-static
INSTALL_SLIB= yes
+MAN1= xnview.1 nview.1
+MLINKS= nview.1 nv.1 \
+ nview.1 nconvert.1
+
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500000
@@ -33,14 +35,15 @@ 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
- ${INSTALL_PROGRAM} ${WRKSRC}/lib/libformat.so.3.87 ${PREFIX}/lib/libformat.so.3
- ${LN} -sf ${PREFIX}/lib/libformat.so.3 ${PREFIX}/lib/libformat.so
+ ${INSTALL_PROGRAM} ${WRKSRC}/lib/libformat.so.4.16 ${PREFIX}/lib/libformat.so.4
+ ${LN} -sf ${PREFIX}/lib/libformat.so.4 ${PREFIX}/lib/libformat.so
${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}
cd ${WRKSRC} && \
- ${INSTALL_DATA} Formats.txt ReadMe.txt Usage.txt WhatsNew.txt \
- ${DOCSDIR}
+ ${INSTALL_DATA} Formats.txt ReadMe.txt Usage.txt WhatsNew.txt ${DOCSDIR}
.endif
.include <bsd.port.post.mk>
diff --git a/graphics/xnview/distinfo b/graphics/xnview/distinfo
index 231e6a5ee075..11b581a889a3 100644
--- a/graphics/xnview/distinfo
+++ b/graphics/xnview/distinfo
@@ -1 +1,2 @@
-MD5 (XnView-x86-unknown-FreeBSD4.x-static.tgz) = 3c2af69332b53d752efd24cf29740ecb
+MD5 (XnView-x86-unknown-FreeBSD4.x-static.tgz) = 44af50cefcb49e397fd02b74639b23e5
+SIZE (XnView-x86-unknown-FreeBSD4.x-static.tgz) = 1428509
diff --git a/graphics/xnview/pkg-plist b/graphics/xnview/pkg-plist
index 7f5f25cf9991..84516effdea2 100644
--- a/graphics/xnview/pkg-plist
+++ b/graphics/xnview/pkg-plist
@@ -3,7 +3,7 @@ bin/nv
bin/xnview
lib/X11/app-defaults/XnView
lib/libformat.so
-lib/libformat.so.3
+lib/libformat.so.4
%%PORTDOCS%%%%DOCSDIR%%/Formats.txt
%%PORTDOCS%%%%DOCSDIR%%/ReadMe.txt
%%PORTDOCS%%%%DOCSDIR%%/Usage.txt