1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/graphics/linux-panorama-tools/Makefile
Vasil Dimov 688d975973 * Fix the a dependency in graphics/linux-panorama-tools,
PTStitcher depends on libpng.so.2, not libpng12.so.0.

* Get rid of the hack that runs
  ${LINUXBASE}/sbin/ldconfig ${PREFIX}/${PORTNAME}/lib/
  upon installation. It does not survive reboot.
  Instead install into ${LINUXBASE} and use the standard mechanism for
  installing linux shared libraries. Also add symlink to PTStitcher in
  ${LOCALBASE}/bin (to avoid surprising users that PTStitcher has
  "disappeared").

Reported by:	Warren Block <wblock@wonkity.com>
Approved by:	portmgr (linimon)
2007-11-24 18:21:00 +00:00

43 lines
1.4 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
RUN_DEPENDS= ${LINUXBASE}/usr/bin/jpegtran:${PORTSDIR}/graphics/linux-jpeg \
${LINUXBASE}/usr/lib/libtiff.so.3:${PORTSDIR}/graphics/linux-tiff \
${LINUXBASE}/usr/lib/libpng.so.2:${PORTSDIR}/graphics/linux-png10
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
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>