diff options
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/long-exposure-tools/Makefile | 34 | ||||
-rw-r--r-- | graphics/long-exposure-tools/distinfo | 2 | ||||
-rw-r--r-- | graphics/long-exposure-tools/files/patch-pamalign.c | 10 | ||||
-rw-r--r-- | graphics/long-exposure-tools/files/patch-pamblend.c | 10 | ||||
-rw-r--r-- | graphics/long-exposure-tools/pkg-descr | 4 |
6 files changed, 61 insertions, 0 deletions
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 <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> 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 <pam.h> ++#include <math.h> + #include <shhopt.h> + + #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 <pam.h> ++#include <math.h> + #include <shhopt.h> + + #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/ |