blob: a356782fce2410eef262906a1d4c2f657fb92e2c (
plain)
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
40
41
42
|
# New ports collection makefile for: xnview-mp
# Date created: 23 Jul 2008
# Whom: Serge Negodyuck <petr@petrovich.kiev.ua>
#
# $FreeBSD$
#
PORTNAME= XnViewMP
PORTVERSION= 0.015
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ftp://ftp2.xnview.com/xnview/misc/
PKGNAMEPREFIX= linux-
DISTNAME= XnViewMP-linux
EXTRACT_SUFX= .tgz
MAINTAINER= petr@petrovich.kiev.ua
COMMENT= XnView Multi Platform, graphics viewer and converter
NO_CDROM= For commercial use and distribution, it is necessary to register
ONLY_FOR_ARCHS= i386 amd64
NO_BUILD= yes
WRKSRC= ${WRKDIR}/XnViewMP
USE_LINUX= yes
USE_LINUX_APPS= xorglibs
PLIST_FILES= bin/xnview-mp lib/xnview-mp/libQtCore.so.4 \
lib/xnview-mp/libQtGui.so.4 lib/xnview-mp/xnview
PLIST_DIRS= lib/xnview-mp
post-patch:
@${REINPLACE_CMD} -e "s|\.|${PREFIX}/lib/xnview-mp|" ${WRKSRC}/xnview.sh
do-install:
${MKDIR} ${PREFIX}/lib/xnview-mp
${INSTALL_SCRIPT} ${WRKSRC}/xnview.sh ${PREFIX}/bin/xnview-mp
${INSTALL_PROGRAM} ${WRKSRC}/libQtCore.so.4 ${PREFIX}/lib/xnview-mp/
${INSTALL_PROGRAM} ${WRKSRC}/libQtGui.so.4 ${PREFIX}/lib/xnview-mp/
${INSTALL_PROGRAM} ${WRKSRC}/xnview ${PREFIX}/lib/xnview-mp/
.include <bsd.port.mk>
|