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)
This commit is contained in:
Sergey A. Osokin 2003-06-24 11:57:27 +00:00
parent 15bdd7d530
commit bc2e1ccce8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=83528
3 changed files with 15 additions and 14 deletions

View file

@ -6,16 +6,17 @@
# #
PORTNAME= xnview PORTNAME= xnview
PORTVERSION= 1.50 PORTVERSION= 1.50
CATEGORIES= graphics CATEGORIES= graphics
MASTER_SITES= http://perso.wanadoo.fr/pierre.g/download/viewer/ \ MASTER_SITES= ftp://www.zoo-logique.org/xnview/download/
ftp://www.zoo-logique.org/xnview/download/ DISTNAME= XnView-x86-unknown-FreeBSD4.x-static
DISTNAME= XnView-x86-unknown-FreeBSD4.x-static
EXTRACT_SUFX= .tgz EXTRACT_SUFX= .tgz
MAINTAINER= petr@petrovich.kiev.ua MAINTAINER= petr@petrovich.kiev.ua
COMMENT= An easy graphics viewer / converter COMMENT= An easy graphics viewer / converter
LIB_DEPENDS= c.4:${PORTSDIR}/misc/compat4x
ONLY_FOR_ARCHS= i386 ONLY_FOR_ARCHS= i386
NO_BUILD= yes NO_BUILD= yes
USE_X_PREFIX= yes USE_X_PREFIX= yes
@ -29,9 +30,11 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/lib/libformat.so.3.87 ${PREFIX}/lib/libformat.so.3 ${INSTALL_PROGRAM} ${WRKSRC}/lib/libformat.so.3.87 ${PREFIX}/lib/libformat.so.3
${LN} -sf ${PREFIX}/lib/libformat.so.3 ${PREFIX}/lib/libformat.so ${LN} -sf ${PREFIX}/lib/libformat.so.3 ${PREFIX}/lib/libformat.so
${INSTALL_DATA} ${WRKSRC}/app-defaults/XnView.ad ${PREFIX}/lib/X11/app-defaults/XnView ${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} && \ cd ${WRKSRC} && \
${INSTALL_DATA} Formats.txt ReadMe.txt Usage.txt WhatsNew.txt \ ${INSTALL_DATA} Formats.txt ReadMe.txt Usage.txt WhatsNew.txt \
${PREFIX}/share/doc/xnview ${DOCSDIR}
.endif
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -1,7 +1,5 @@
XnView is a utility for viewing and converting graphic files. XnView is a utility for viewing and converting graphic files.
It has the features : It has the features :
- Import about 360 graphic file formats - Import about 360 graphic file formats
- Export about 40 graphic file formats - Export about 40 graphic file formats
- Multipage TIFF, Animated GIF, Animated ICO support - Multipage TIFF, Animated GIF, Animated ICO support

View file

@ -4,8 +4,8 @@ bin/xnview
lib/X11/app-defaults/XnView lib/X11/app-defaults/XnView
lib/libformat.so lib/libformat.so
lib/libformat.so.3 lib/libformat.so.3
share/doc/xnview/Formats.txt %%PORTDOCS%%%%DOCSDIR%%/Formats.txt
share/doc/xnview/ReadMe.txt %%PORTDOCS%%%%DOCSDIR%%/ReadMe.txt
share/doc/xnview/Usage.txt %%PORTDOCS%%%%DOCSDIR%%/Usage.txt
share/doc/xnview/WhatsNew.txt %%PORTDOCS%%%%DOCSDIR%%/WhatsNew.txt
@dirrm share/doc/xnview %%PORTDOCS%%@dirrm %%DOCSDIR%%