2002-07-09 19:43:03 +02:00
|
|
|
# New ports collection makefile for: xnview
|
|
|
|
# Date created: 9 Jul 2002
|
2002-12-18 16:30:42 +01:00
|
|
|
# Whom: Serge Negodyuck <petr@petrovich.kiev.ua>
|
2002-07-09 19:43:03 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= xnview
|
2004-02-23 17:18:03 +01:00
|
|
|
PORTVERSION= 1.68
|
2002-07-09 19:43:03 +02:00
|
|
|
CATEGORIES= graphics
|
2003-06-24 13:57:27 +02:00
|
|
|
MASTER_SITES= ftp://www.zoo-logique.org/xnview/download/
|
|
|
|
DISTNAME= XnView-x86-unknown-FreeBSD4.x-static
|
2002-07-09 19:43:03 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MAINTAINER= petr@petrovich.kiev.ua
|
2003-02-21 13:17:17 +01:00
|
|
|
COMMENT= An easy graphics viewer / converter
|
2002-07-09 19:43:03 +02:00
|
|
|
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
NO_BUILD= yes
|
|
|
|
USE_X_PREFIX= yes
|
2004-02-23 17:18:03 +01:00
|
|
|
WRKSRC= ${WRKDIR}/XnView-${PORTVERSION}-x86-unknown-FreeBSD4.x-static
|
2002-07-09 19:43:03 +02:00
|
|
|
INSTALL_SLIB= yes
|
|
|
|
|
2004-02-23 17:18:03 +01:00
|
|
|
MAN1= xnview.1 nview.1
|
|
|
|
MLINKS= nview.1 nv.1 \
|
|
|
|
nview.1 nconvert.1
|
|
|
|
|
2003-12-14 16:27:30 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} >= 500000
|
|
|
|
LIB_DEPENDS+= c.4:${PORTSDIR}/misc/compat4x
|
|
|
|
.endif
|
|
|
|
|
2002-07-09 19:43:03 +02:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/xnview ${PREFIX}/bin/xnview
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/nview ${PREFIX}/bin/nv
|
2002-12-18 16:30:42 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/nconvert ${PREFIX}/bin/nconvert
|
2004-02-23 17:18:03 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/lib/libformat.so.4.16 ${PREFIX}/lib/libformat.so.4
|
|
|
|
${LN} -sf ${PREFIX}/lib/libformat.so.4 ${PREFIX}/lib/libformat.so
|
2002-07-09 19:43:03 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/app-defaults/XnView.ad ${PREFIX}/lib/X11/app-defaults/XnView
|
2004-02-23 17:18:03 +01:00
|
|
|
cd ${WRKSRC}/man && ${INSTALL_MAN} xnview.1 nview.1 ${PREFIX}/man/man1
|
|
|
|
|
2003-06-24 13:57:27 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
2002-07-09 19:43:03 +02:00
|
|
|
cd ${WRKSRC} && \
|
2004-02-23 17:18:03 +01:00
|
|
|
${INSTALL_DATA} Formats.txt ReadMe.txt Usage.txt WhatsNew.txt ${DOCSDIR}
|
2003-06-24 13:57:27 +02:00
|
|
|
.endif
|
2002-07-09 19:43:03 +02:00
|
|
|
|
2003-12-14 16:27:30 +01:00
|
|
|
.include <bsd.port.post.mk>
|