1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Add long-exposure-tools

The Long Exposure Tools try to simulate the effects of long exposures by
combining multiple short exposure images.

PR:		ports/70855
Approved by:	adamw (mentor)
This commit is contained in:
Michael Johnson 2004-11-23 01:04:17 +00:00
parent 03789324a8
commit b3c049f1bc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=122187
6 changed files with 61 additions and 0 deletions

View File

@ -282,6 +282,7 @@
SUBDIR += linux_glx
SUBDIR += linux_mesa3
SUBDIR += lodju
SUBDIR += long-exposure-tools
SUBDIR += lphoto
SUBDIR += mapserver
SUBDIR += maverik

View File

@ -0,0 +1,34 @@
# New ports collection makefile for: long-exposure-tools
# Date created: 2004-08-12
# Whom: Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= long-exposure-tools
PORTVERSION= 0.1
CATEGORIES= graphics
MASTER_SITES= http://www.joat.ca/software/long-exposure-tools/
MAINTAINER= ports@FreeBSD.org
COMMENT= Simulate the effects of long exposures
LIB_DEPENDS= netpbm.1:${PORTSDIR}/graphics/netpbm
USE_REINPLACE= yes
PLIST_FILES= bin/pamblend bin/pamalign
MAN1= pamblend.1 pamalign.1
post-patch:
@${REINPLACE_CMD} -e 's|cc|${CC}|; \
s|CCOPTS=-O|CCOPTS=${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib|' \
${WRKSRC}/${MAKEFILE}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pamblend ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/pamalign ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/pamblend.1 ${MANPREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/pamalign.1 ${MANPREFIX}/man/man1
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
MD5 (long-exposure-tools-0.1.tar.gz) = 16164fcd4ffc3a2719f0206fa61fe9e0
SIZE (long-exposure-tools-0.1.tar.gz) = 14177

View File

@ -0,0 +1,10 @@
--- pamalign.c.orig Mon Aug 23 11:48:10 2004
+++ pamalign.c Mon Aug 23 11:48:29 2004
@@ -12,6 +12,7 @@
*/
#include <pam.h>
+#include <math.h>
#include <shhopt.h>
#define DEFAULT_MAXSHIFT 5

View File

@ -0,0 +1,10 @@
--- pamblend.c.orig Mon Aug 23 11:47:46 2004
+++ pamblend.c Mon Aug 23 11:48:00 2004
@@ -12,6 +12,7 @@
*/
#include <pam.h>
+#include <math.h>
#include <shhopt.h>
#define DEFAULT_TOLERANCE 6

View File

@ -0,0 +1,4 @@
The Long Exposure Tools try to simulate the effects of long exposures by
combining multiple short exposure images.
WWW: http://www.joat.ca/software/long-exposure-tools/