blob: 578bff09e181db2e5fce5cdf815ea67979df66e6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Created by: Serge Negodyuck <petr@petrovich.kiev.ua>
# $FreeBSD$
PORTNAME= xnview
PORTVERSION= 1.70
PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= http://download.xnview.com/
DISTFILES= XnView-x86-unknown-FreeBSD5.x-static.tgz
MAINTAINER= petr@petrovich.kiev.ua
COMMENT= Easy graphics viewer / converter
USES= cpe
ONLY_FOR_ARCHS= i386
NO_BUILD= yes
WRKSRC= ${WRKDIR}/XnView-${PORTVERSION}-x86-unknown-FreeBSD5.x-static
INSTALL_SLIB= yes
OPTIONS_DEFINE= DOCS
LIB_DEPENDS+= libc.so.5:misc/compat5x
DISTFILES+= NConvert-x86-unknown-FreeBSD6.x.tgz
WRKSRC_NC= ${WRKDIR}/NConvert
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/xnview ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/bin/nview ${STAGEDIR}${PREFIX}/bin/nv
${INSTALL_PROGRAM} ${WRKSRC_NC}/nconvert ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/app-defaults/XnView.ad \
${STAGEDIR}${PREFIX}/lib/X11/app-defaults/XnView
cd ${WRKSRC}/man && ${INSTALL_MAN} xnview.1 nview.1 \
${STAGEDIR}${MANPREFIX}/man/man1
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC_NC} && \
${INSTALL_DATA} Formats.txt ReadMe.txt Usage.txt WhatsNew.txt \
${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|