From 7d23dd058603c5e20a1ef4f1339264b4e3498971 Mon Sep 17 00:00:00 2001 From: arved Date: Wed, 19 Feb 2003 17:49:21 +0000 Subject: Add swiggle, A commandline tool to genereate a "Web Gallery" out of given images PR: 47414 Submitted by: Josef El-Rayes --- www/swiggle/Makefile | 30 ++++++++++++++++++++++++++++++ www/swiggle/distinfo | 1 + www/swiggle/files/patch-Makfile | 24 ++++++++++++++++++++++++ www/swiggle/pkg-descr | 19 +++++++++++++++++++ www/swiggle/pkg-plist | 3 +++ 5 files changed, 77 insertions(+) create mode 100644 www/swiggle/Makefile create mode 100644 www/swiggle/distinfo create mode 100644 www/swiggle/files/patch-Makfile create mode 100644 www/swiggle/pkg-descr create mode 100644 www/swiggle/pkg-plist (limited to 'www/swiggle') 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 +# +# $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 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 -- cgit v1.1