summaryrefslogtreecommitdiff
path: root/graphics/xnview
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2003-06-24 11:57:27 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2003-06-24 11:57:27 +0000
commitbc2e1ccce8220f81edabae1e5f8b1915c4d90083 (patch)
tree5d885c1b9b20d50beaa05707ae8e5b7515cec220 /graphics/xnview
parentRemove patch-shimbun:mew-shimbun.el. (Forgotten in the last update) (diff)
Fix build on 5.x. [1]
Remove trailed spaces from Makefile (use tabs) [2] Reorganize pkg-plist [2] Make pkg-descr portlint compilant [2] Submitted by: [1] maintainer, [2] osa Approved by: maintainer, fjoe (mentor) (implicit)
Diffstat (limited to 'graphics/xnview')
-rw-r--r--graphics/xnview/Makefile15
-rw-r--r--graphics/xnview/pkg-descr4
-rw-r--r--graphics/xnview/pkg-plist10
3 files changed, 15 insertions, 14 deletions
diff --git a/graphics/xnview/Makefile b/graphics/xnview/Makefile
index 0bb3512c8224..dc9cbd566d28 100644
--- a/graphics/xnview/Makefile
+++ b/graphics/xnview/Makefile
@@ -6,16 +6,17 @@
#
PORTNAME= xnview
-PORTVERSION= 1.50
+PORTVERSION= 1.50
CATEGORIES= graphics
-MASTER_SITES= http://perso.wanadoo.fr/pierre.g/download/viewer/ \
- ftp://www.zoo-logique.org/xnview/download/
-DISTNAME= XnView-x86-unknown-FreeBSD4.x-static
+MASTER_SITES= ftp://www.zoo-logique.org/xnview/download/
+DISTNAME= XnView-x86-unknown-FreeBSD4.x-static
EXTRACT_SUFX= .tgz
MAINTAINER= petr@petrovich.kiev.ua
COMMENT= An easy graphics viewer / converter
+LIB_DEPENDS= c.4:${PORTSDIR}/misc/compat4x
+
ONLY_FOR_ARCHS= i386
NO_BUILD= yes
USE_X_PREFIX= yes
@@ -29,9 +30,11 @@ do-install:
${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_DATA} ${WRKSRC}/app-defaults/XnView.ad ${PREFIX}/lib/X11/app-defaults/XnView
- ${MKDIR} ${PREFIX}/share/doc/xnview
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && \
${INSTALL_DATA} Formats.txt ReadMe.txt Usage.txt WhatsNew.txt \
- ${PREFIX}/share/doc/xnview
+ ${DOCSDIR}
+.endif
.include <bsd.port.mk>
diff --git a/graphics/xnview/pkg-descr b/graphics/xnview/pkg-descr
index 928730f9a3eb..44f5e5febe6a 100644
--- a/graphics/xnview/pkg-descr
+++ b/graphics/xnview/pkg-descr
@@ -1,7 +1,5 @@
XnView is a utility for viewing and converting graphic files.
-
It has the features :
-
- Import about 360 graphic file formats
- Export about 40 graphic file formats
- Multipage TIFF, Animated GIF, Animated ICO support
@@ -21,4 +19,4 @@ It has the features :
- Multi-page file create (TIFF, DCX, LDF)
- And many may other things...
-WWW: http://www.xnview.com/ \ No newline at end of file
+WWW: http://www.xnview.com/
diff --git a/graphics/xnview/pkg-plist b/graphics/xnview/pkg-plist
index 1991f2e996fd..7f5f25cf9991 100644
--- a/graphics/xnview/pkg-plist
+++ b/graphics/xnview/pkg-plist
@@ -4,8 +4,8 @@ bin/xnview
lib/X11/app-defaults/XnView
lib/libformat.so
lib/libformat.so.3
-share/doc/xnview/Formats.txt
-share/doc/xnview/ReadMe.txt
-share/doc/xnview/Usage.txt
-share/doc/xnview/WhatsNew.txt
-@dirrm share/doc/xnview
+%%PORTDOCS%%%%DOCSDIR%%/Formats.txt
+%%PORTDOCS%%%%DOCSDIR%%/ReadMe.txt
+%%PORTDOCS%%%%DOCSDIR%%/Usage.txt
+%%PORTDOCS%%%%DOCSDIR%%/WhatsNew.txt
+%%PORTDOCS%%@dirrm %%DOCSDIR%%