freebsd-ports/graphics/linux-panorama-tools/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

39 lines
1.3 KiB
Makefile

# New ports collection makefile for: linux-panorama-tools
# Date created: 26 august 2004
# Whom: cartola (Carlos E. G. Carvalho)
#
# $FreeBSD$
#
# This port has been made as a running dependence for the hugin port.
# The hugin port for itself would run with no problem without this port,
# but the final step that generates the panorama images make use of the
# external program PTStitcher, installed by this port.
# This port, as a dependence, does not install the complete linux
# panorama tools, just the few things necessary to hugin.
PORTNAME= linux-panorama-tools
PORTVERSION= 2.6b1
PORTREVISION= 4
CATEGORIES= graphics
MASTER_SITES= http://www.all-in-one.ee/~dersch/
DISTNAME= PanoTools
MAINTAINER= vd@FreeBSD.org
COMMENT= Software to View, Create, Edit and Remap Panoramic Images
NO_BUILD= yes
USE_LINUX_PREFIX=yes
USE_LDCONFIG= yes
# USE_LINUX is supposed to be defined automatically when USE_LINUX_PREFIX and
# USE_LDCONFIG are defined but it is not :-/
USE_LINUX= yes
USE_LINUX_APPS= jpeg png10 tiff
WRKSRC= ${WRKDIR}/PTLinux
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/Helpers/PTStitcher ${PREFIX}/usr/bin/
${INSTALL_PROGRAM} ${WRKSRC}/libpano12.so ${PREFIX}/usr/lib/
${LN} -sf ${PREFIX}/usr/bin/PTStitcher ${LOCALBASE}/bin/
.include <bsd.port.mk>