1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/graphics/linux-XnViewMP/Makefile
Boris Samorodov 0263b9d868 Welcome to the new linux ports infrastructure which allows using
both current (fc4) and future linux (f8) distributions at one
ports tree.

The patch contains full changes to ports/Mk files and all ports involved.
But only infrastructure is changed. The resulting packages are the same as
before. Hence no need to bump PORTREVISIONs.

The idea was taken from bsd.gnome.mk and others.

More than 130 ports are switched to follow a new linux infrastructure
introduced by changes to bsd.port.mk, bsd.linux-rpm.mk and a new
bsd.linux-apps.mk.

Thanks for all who was involved and helped me with this work.
And help from Alexander Leidinger was incredible.

Other changes are coming. Stay tuned!

PR:		ports/132510
Submitted by:	bsam (me)
Exp-run by:	portmgr (pav)
2009-03-19 17:28:51 +00:00

43 lines
1.1 KiB
Makefile

# 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 converer
NO_CDROM= For commercial use and distribution, it is necessary to register
ONLY_FOR_ARCHS= i386
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>