diff options
author | arved <arved@FreeBSD.org> | 2003-02-19 17:49:21 +0000 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2003-02-19 17:49:21 +0000 |
commit | 7d23dd058603c5e20a1ef4f1339264b4e3498971 (patch) | |
tree | fbbde5acb13601a3a9d4e09638723cfe0f7debc4 /www/swiggle | |
parent | 2e9c3f5c3674c5cb39411786435bf3969f74170e (diff) | |
download | FreeBSD-ports-7d23dd058603c5e20a1ef4f1339264b4e3498971.zip FreeBSD-ports-7d23dd058603c5e20a1ef4f1339264b4e3498971.tar.gz |
Add swiggle, A commandline tool to genereate a "Web Gallery"
out of given images
PR: 47414
Submitted by: Josef El-Rayes <j.el-rayes@daemon.li>
Diffstat (limited to 'www/swiggle')
-rw-r--r-- | www/swiggle/Makefile | 30 | ||||
-rw-r--r-- | www/swiggle/distinfo | 1 | ||||
-rw-r--r-- | www/swiggle/files/patch-Makfile | 24 | ||||
-rw-r--r-- | www/swiggle/pkg-descr | 19 | ||||
-rw-r--r-- | www/swiggle/pkg-plist | 3 |
5 files changed, 77 insertions, 0 deletions
diff --git a/www/swiggle/Makefile b/www/swiggle/Makefile new file mode 100644 index 0000000..e7fbe1e --- /dev/null +++ b/www/swiggle/Makefile @@ -0,0 +1,30 @@ +# New ports collection Makefile for: swiggle +# Date created: 19 Feb 2003 +# Whom: Josef El-Rayes <j.el-rayes@daemon.li> +# +# $FreeBSD$ + +PORTNAME= swiggle +PORTVERSION= 0.3 +CATEGORIES= www +MASTER_SITES= http://mailbox.univie.ac.at/~le/swiggle/files/ \ + http://www.daemon.li/downloads/ + +MAINTAINER= j.el-rayes@daemon.li +COMMENT= "Swiggle is a commandline web image gallery generator" + +LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg:install \ + exif.8:${PORTSDIR}/graphics/libexif:install + +USE_REINPLACE= yes + +post-patch: + ${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' ${WRKSRC}/Makefile +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/swiggle ${PREFIX}/bin + +post-install: + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} + +.include <bsd.port.mk> diff --git a/www/swiggle/distinfo b/www/swiggle/distinfo new file mode 100644 index 0000000..92ffc21 --- /dev/null +++ b/www/swiggle/distinfo @@ -0,0 +1 @@ +MD5 (swiggle-0.3.tar.gz) = 1f95ea56acaf0746bf576183c0171374 diff --git a/www/swiggle/files/patch-Makfile b/www/swiggle/files/patch-Makfile new file mode 100644 index 0000000..fbd9275 --- /dev/null +++ b/www/swiggle/files/patch-Makfile @@ -0,0 +1,24 @@ +--- Makefile.orig Sat Feb 1 23:08:57 2003 ++++ Makefile Wed Feb 19 18:22:31 2003 +@@ -1,11 +1,10 @@ + # Makefile for swiggle + # + # $Id: Makefile,v 1.7 2003/02/01 22:08:57 le Exp $ +-CC = gcc + PROGRAM = swiggle + OBJS = swiggle.o resize.o html.o + HEADER = swiggle.h +-CFLAGS += -Wall -g -I/usr/local/include -I/usr/local/include/libexif -O3 ++CFLAGS += -Wall -g -I/usr/local/include -I/usr/local/include/libexif + LDFLAGS += -L/usr/local/lib -ljpeg -lexif + + .if defined(DEBUG) +@@ -15,7 +14,7 @@ + all: ${PROGRAM} + + ${PROGRAM}: ${OBJS} +- gcc ${CFLAGS} ${LDFLAGS} -o ${PROGRAM} ${OBJS} ++ ${CC} ${CFLAGS} ${LDFLAGS} -o ${PROGRAM} ${OBJS} + + ${OBJS}: ${HEADER} + diff --git a/www/swiggle/pkg-descr b/www/swiggle/pkg-descr new file mode 100644 index 0000000..87f4635 --- /dev/null +++ b/www/swiggle/pkg-descr @@ -0,0 +1,19 @@ +swiggle is a small command line tool that generates HTML pages, +including thumbnail indexes, for given images +(a so called "web gallery"). +It's intended to be easy to use, and since it is written in C, +it's quite speedy. + +It uses libjpeg for decompression and compression of images, +libexif for getting EXIF information contained in the images, +and it caches scaled images so that subsequent runs don't need to +scale images again and are faster. +Of course, the original images aren't changed. + +Currently, it only processes JPEG images, and it's thought +to be used primarily with images taken with digital cameras. + +WWW: http://mailbox.univie.ac.at/~le/swiggle/ + +Josef El-Rayes +j.el-rayes@daemon.li diff --git a/www/swiggle/pkg-plist b/www/swiggle/pkg-plist new file mode 100644 index 0000000..a0c08b3 --- /dev/null +++ b/www/swiggle/pkg-plist @@ -0,0 +1,3 @@ +bin/swiggle +share/doc/swiggle/README +@dirrm share/doc/swiggle |