freebsd-ports/graphics/autopano-sift/Makefile
Tom McLaughlin 46b252b221 - Add autopano-sift:
Autopano analyses two or more images and automatically generates control
points - coordinates in the images where the views overlap.  This can be fed
to hugin which then stitches the files together and enblend which combines
the colors to remove seam lines.

WWW: http://user.cs.tu-berlin.de/~nowozin/autopano-sift/

- Add entry to LEGAL:
The use of this software is restricted by certain conditions.  See the
"LICENSE" file distributed with the program for details.

The University of British Columbia has applied for a patent on the SIFT
algorithm in the United States.  Commercial applications of this software
may require a license from the University of British Columbia.

PR:             95746
Submitted by:   J.R. Oldroyd <fbsd@opal.com>
Maintained by:  Carlos E. G. Carvalho <cartola@openit.com.br>
2006-07-29 17:48:51 +00:00

69 lines
2.7 KiB
Makefile

# New ports collection makefile for: autopano-sift
# Date created: 11 April 2006
# Whom: J.R. Oldroyd <fbsd@opal.com>
#
# $FreeBSD$
#
PORTNAME= autopano-sift
PORTVERSION= 2.4
CATEGORIES= graphics
MASTER_SITES= http://user.cs.tu-berlin.de/~nowozin/autopano-sift/
MAINTAINER= cartola@openit.com.br
COMMENT= Automatic panorama control point generation tool
RESTRICTED= May be covered by patents
NO_PACKAGE= ${RESTRICTED}
LIB_DEPENDS+= gdiplus:${PORTSDIR}/x11-toolkits/libgdiplus
BUILD_DEPENDS+= mono:${PORTSDIR}/lang/mono \
${X11BASE}/libdata/pkgconfig/gtk-sharp.pc:${PORTSDIR}/x11-toolkits/gtk-sharp10
RUN_DEPENDS+= mono:${PORTSDIR}/lang/mono \
${X11BASE}/lib/mono/gtk-sharp/gtk-sharp.dll:${PORTSDIR}/x11-toolkits/gtk-sharp10
WRKSRC= ${WRKDIR}/${DISTNAME}/src
SUB_FILES= autopano
USE_GMAKE= yes
MAN1= autopano-complete.1 \
autopano-complete.old.1 \
autopano.1 \
autopanog.1 \
generatekeys.1 \
showone.1 \
showtwo.1
MAN7= autopano-sift.7
do-install:
${MKDIR} ${DATADIR}
${INSTALL} ${WRKSRC}/bin/ICSharpCode.SharpZipLib.dll ${DATADIR}/
${INSTALL_SCRIPT} ${WRKSRC}/bin/autopano-complete.sh ${DATADIR}/
${INSTALL_SCRIPT} ${WRKSRC}/bin/autopano-complete.old.sh ${DATADIR}/
${INSTALL} ${WRKSRC}/bin/autopano.exe ${DATADIR}/
${INSTALL} ${WRKSRC}/bin/autopanog.exe ${DATADIR}/
${INSTALL} ${WRKSRC}/bin/generatekeys-sd.exe ${DATADIR}/
${INSTALL} ${WRKSRC}/bin/generatekeys.exe ${DATADIR}/
${INSTALL} ${WRKSRC}/bin/libsift.dll ${DATADIR}/
${INSTALL} ${WRKSRC}/bin/showone.exe ${DATADIR}/
${INSTALL} ${WRKSRC}/bin/showtwo.exe ${DATADIR}/
${INSTALL_SCRIPT} ${WRKDIR}/autopano ${PREFIX}/bin/autopano
${LN} ${PREFIX}/bin/autopano ${PREFIX}/bin/autopanog
${LN} ${PREFIX}/bin/autopano ${PREFIX}/bin/generatekeys-sd
${LN} ${PREFIX}/bin/autopano ${PREFIX}/bin/generatekeys
${LN} ${PREFIX}/bin/autopano ${PREFIX}/bin/showone
${LN} ${PREFIX}/bin/autopano ${PREFIX}/bin/showtwo
${LN} -s ${DATADIR}/autopano-complete.sh ${PREFIX}/bin/autopano-complete
${LN} -s ${DATADIR}/autopano-complete.old.sh ${PREFIX}/bin/autopano-complete.old
${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/doc/autopano-complete.1 ${PREFIX}/man/man1/
${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/doc/autopano-complete.old.1 ${PREFIX}/man/man1/
${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/doc/autopano.1 ${PREFIX}/man/man1/
${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/doc/autopanog.1 ${PREFIX}/man/man1/
${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/doc/generatekeys.1 ${PREFIX}/man/man1/
${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/doc/showone.1 ${PREFIX}/man/man1/
${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/doc/showtwo.1 ${PREFIX}/man/man1/
${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/doc/autopano-sift.7 ${PREFIX}/man/man7/
.include "${.CURDIR}/../../lang/mono/bsd.mono.mk"
.include <bsd.port.mk>