aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/Makefile1
-rw-r--r--www/swiggle/Makefile30
-rw-r--r--www/swiggle/distinfo1
-rw-r--r--www/swiggle/files/patch-Makfile24
-rw-r--r--www/swiggle/pkg-descr19
-rw-r--r--www/swiggle/pkg-plist3
6 files changed, 78 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 5ff02387dc8b..ee618bbabddf 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -409,6 +409,7 @@
SUBDIR += squishdot
SUBDIR += ssserver
SUBDIR += surfraw
+ SUBDIR += swiggle
SUBDIR += swish++
SUBDIR += swish-e
SUBDIR += tclhttpd
diff --git a/www/swiggle/Makefile b/www/swiggle/Makefile
new file mode 100644
index 000000000000..e7fbe1eeab7e
--- /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 000000000000..92ffc2100d02
--- /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 000000000000..fbd9275df93b
--- /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 000000000000..87f463527e9f
--- /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 000000000000..a0c08b3d178c
--- /dev/null
+++ b/www/swiggle/pkg-plist
@@ -0,0 +1,3 @@
+bin/swiggle
+share/doc/swiggle/README
+@dirrm share/doc/swiggle