From b3c049f1bc0e9b6e2f64038ca4ab48e285813058 Mon Sep 17 00:00:00 2001 From: Michael Johnson Date: Tue, 23 Nov 2004 01:04:17 +0000 Subject: [PATCH] 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) --- graphics/Makefile | 1 + graphics/long-exposure-tools/Makefile | 34 +++++++++++++++++++ graphics/long-exposure-tools/distinfo | 2 ++ .../files/patch-pamalign.c | 10 ++++++ .../files/patch-pamblend.c | 10 ++++++ graphics/long-exposure-tools/pkg-descr | 4 +++ 6 files changed, 61 insertions(+) create mode 100644 graphics/long-exposure-tools/Makefile create mode 100644 graphics/long-exposure-tools/distinfo create mode 100644 graphics/long-exposure-tools/files/patch-pamalign.c create mode 100644 graphics/long-exposure-tools/files/patch-pamblend.c create mode 100644 graphics/long-exposure-tools/pkg-descr diff --git a/graphics/Makefile b/graphics/Makefile index 487446eb1944..5e5b401e3759 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -282,6 +282,7 @@ SUBDIR += linux_glx SUBDIR += linux_mesa3 SUBDIR += lodju + SUBDIR += long-exposure-tools SUBDIR += lphoto SUBDIR += mapserver SUBDIR += maverik diff --git a/graphics/long-exposure-tools/Makefile b/graphics/long-exposure-tools/Makefile new file mode 100644 index 000000000000..8598f63ddd83 --- /dev/null +++ b/graphics/long-exposure-tools/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: long-exposure-tools +# Date created: 2004-08-12 +# Whom: Michael Johnson +# +# $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 diff --git a/graphics/long-exposure-tools/distinfo b/graphics/long-exposure-tools/distinfo new file mode 100644 index 000000000000..798a90c7cf06 --- /dev/null +++ b/graphics/long-exposure-tools/distinfo @@ -0,0 +1,2 @@ +MD5 (long-exposure-tools-0.1.tar.gz) = 16164fcd4ffc3a2719f0206fa61fe9e0 +SIZE (long-exposure-tools-0.1.tar.gz) = 14177 diff --git a/graphics/long-exposure-tools/files/patch-pamalign.c b/graphics/long-exposure-tools/files/patch-pamalign.c new file mode 100644 index 000000000000..3fc62ec048a3 --- /dev/null +++ b/graphics/long-exposure-tools/files/patch-pamalign.c @@ -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 ++#include + #include + + #define DEFAULT_MAXSHIFT 5 diff --git a/graphics/long-exposure-tools/files/patch-pamblend.c b/graphics/long-exposure-tools/files/patch-pamblend.c new file mode 100644 index 000000000000..77d6f525ebcb --- /dev/null +++ b/graphics/long-exposure-tools/files/patch-pamblend.c @@ -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 ++#include + #include + + #define DEFAULT_TOLERANCE 6 diff --git a/graphics/long-exposure-tools/pkg-descr b/graphics/long-exposure-tools/pkg-descr new file mode 100644 index 000000000000..d7fd3beed45c --- /dev/null +++ b/graphics/long-exposure-tools/pkg-descr @@ -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/