diff options
author | steve <steve@FreeBSD.org> | 2000-05-01 10:51:56 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 2000-05-01 10:51:56 +0800 |
commit | 21ddbc1da91fbeeee53a018cd2a86f2f76d84ed1 (patch) | |
tree | f49069481282bb8a05d0f5fb168fc90e1579d3c8 /graphics | |
parent | 8327307f60eae2bce2f8f25c88952a9a0e000f69 (diff) | |
download | freebsd-ports-gnome-21ddbc1da91fbeeee53a018cd2a86f2f76d84ed1.tar.gz freebsd-ports-gnome-21ddbc1da91fbeeee53a018cd2a86f2f76d84ed1.tar.zst freebsd-ports-gnome-21ddbc1da91fbeeee53a018cd2a86f2f76d84ed1.zip |
Adding quickpics version 1.8.
A really handy tool for large image collections and digital cameras.
PR: 17316
Submitted by: Stever <stever@transmission23.com>
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/quickpics/Makefile | 30 | ||||
-rw-r--r-- | graphics/quickpics/distinfo | 1 | ||||
-rw-r--r-- | graphics/quickpics/files/patch-aa | 36 | ||||
-rw-r--r-- | graphics/quickpics/files/patch-ab | 47 | ||||
-rw-r--r-- | graphics/quickpics/pkg-comment | 1 | ||||
-rw-r--r-- | graphics/quickpics/pkg-descr | 12 | ||||
-rw-r--r-- | graphics/quickpics/pkg-plist | 3 |
8 files changed, 131 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index b85ee0d53d30..b5b2643e66ed 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -135,6 +135,7 @@ SUBDIR += py-opengl SUBDIR += qcread SUBDIR += qiv + SUBDIR += quickpics SUBDIR += qvplay SUBDIR += rayshade SUBDIR += sane diff --git a/graphics/quickpics/Makefile b/graphics/quickpics/Makefile new file mode 100644 index 000000000000..073dd3f9fdcb --- /dev/null +++ b/graphics/quickpics/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: QuickPics +# Date Created: 10 March 2000 +# Whom: Stever <stever@transmission23.com> +# +# $FreeBSD$ +# + +PORTNAME= quickpics +PORTVERSION= 1.8 +CATEGORIES= graphics +MASTER_SITES= http://area23.org/QuickPics/ +DISTNAME= QuickPics-${PORTVERSION} + +MAINTAINER= stever@transmission23.com + +LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg + +WRKSRC= ${WRKDIR}/${DISTNAME}/src + +GNU_CONFIGURE= yes +ALL_TARGET= qp + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/qp ${PREFIX}/bin +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/qp + ${INSTALL_DATA} ${WRKSRC}/../README ${PREFIX}/share/doc/qp +.endif + +.include <bsd.port.mk> diff --git a/graphics/quickpics/distinfo b/graphics/quickpics/distinfo new file mode 100644 index 000000000000..42e45f84a750 --- /dev/null +++ b/graphics/quickpics/distinfo @@ -0,0 +1 @@ +MD5 (QuickPics-1.8.tar.gz) = 5f11c29d7dabeeceb56a81a0292a9dbf diff --git a/graphics/quickpics/files/patch-aa b/graphics/quickpics/files/patch-aa new file mode 100644 index 000000000000..df9b1276f81f --- /dev/null +++ b/graphics/quickpics/files/patch-aa @@ -0,0 +1,36 @@ +--- Makefile.in.orig Fri Sep 18 23:23:19 1998 ++++ Makefile.in Sun Apr 30 18:42:42 2000 +@@ -7,18 +7,19 @@ + ############################################################################# + + # Executable name +-INST_NAME = ../qp ++INST_NAME = qp + + DEFINES = -DHAVE_CONFIG_H + + # Do you have libjpeg already on your system? If so, set this. +-LIBJPEGPATH = ../jpeg-6a ++LIBJPEGPATH = ${PREFIX}/lib ++INCJPEGPATH = ${PREFIX}/include + ++CC ?= gcc ++CFLAGS ?= -fno-strength-reduce -Wall -Wno-implicit @CFLAGS@ + +-CC = gcc +-CFLAGS = -fno-strength-reduce -Wall -Wno-implicit @CFLAGS@ + CLINKFLAGS = @LIBS@ +-INCLUDEDIRS = -I. -I$(LIBJPEGPATH) ++INCLUDEDIRS = -I. -I$(INCJPEGPATH) + + + # No need to change anything below this line +@@ -28,7 +29,7 @@ + SOURCES = html.c qp.c image.c dir.c utility.c main.c + + $(INST_NAME): $(OBJECTS) +- $(CC) -o $(INST_NAME) $(OBJECTS) $(LIBJPEGPATH)/libjpeg.a $(CLINKFLAGS) ++ $(CC) -o $(INST_NAME) $(OBJECTS) $(CLINKFLAGS) -ljpeg + @echo "" + @echo "Successful compile: $(INST_NAME)" + @echo "" diff --git a/graphics/quickpics/files/patch-ab b/graphics/quickpics/files/patch-ab new file mode 100644 index 000000000000..ac80e6a70341 --- /dev/null +++ b/graphics/quickpics/files/patch-ab @@ -0,0 +1,47 @@ +--- main.c.orig Sun Apr 30 18:43:28 2000 ++++ main.c Sun Apr 30 18:44:14 2000 +@@ -21,7 +21,7 @@ + /* Prototypes */ + void do_arg(char *arg); + +-void main(int argc, char **argv) ++int main(int argc, char **argv) + { + char cwd[MAXTEXTLEN], yn[1024]; + int first_time = 0, i; +@@ -53,7 +53,7 @@ + if(!IsDirectory(QP.rootdir)) + { + printf("*** ERROR: \"%s\" is not a directory.\n",QP.rootdir); +- return; ++ return 1; + } + chmod(QP.rootdir,0755); + +@@ -62,7 +62,7 @@ + if(chdir(QP.rootdir) != 0) + { + printf("*** ERROR: Unable to change to directory \"%s\".\n",QP.rootdir); +- return; ++ return 1; + } + + /* Read configfile from specified directory. */ +@@ -102,7 +102,7 @@ + printf(" Execution halted.\n"); + printf(" Config file is: %s/%s.\n",BaseFilename(QP.rootdir),QP.configfile); + printf("\n"); +- return; ++ return 1; + } + + printf("\n"); +@@ -169,7 +169,7 @@ + printf(" Use the link \"%s/%s\" to view the gallery.\n",BaseFilename(QP.rootdir),QP.index_html); + printf(" Have fun!\n"); + printf("\n"); +- return; ++ return 0; + } + + void do_arg(char *arg) diff --git a/graphics/quickpics/pkg-comment b/graphics/quickpics/pkg-comment new file mode 100644 index 000000000000..d48ac27ad31e --- /dev/null +++ b/graphics/quickpics/pkg-comment @@ -0,0 +1 @@ +A really handy tool for large image collections and digital cameras diff --git a/graphics/quickpics/pkg-descr b/graphics/quickpics/pkg-descr new file mode 100644 index 000000000000..72ac5b4bff92 --- /dev/null +++ b/graphics/quickpics/pkg-descr @@ -0,0 +1,12 @@ +QuickPics is a unix-based application that creates an HTML web gallery +based on the directory structure and the images therein. All thumbnails +are created by the program using direct calls to the jpeg library for +fast thumbnail creation. One of my main requirements is that it will not +not have to rely on CGI access to run. It also does not need require +Perl or other jpeg libraries. Only the executable 'qp' is needed to +create any gallery of any size. + +If you have an image gallery and you are tired of editing all the HTML +pages and resizing thumbnails, try QuickPics. + +by Steve Rider - stever@transmission23.com diff --git a/graphics/quickpics/pkg-plist b/graphics/quickpics/pkg-plist new file mode 100644 index 000000000000..d5f82caaed3a --- /dev/null +++ b/graphics/quickpics/pkg-plist @@ -0,0 +1,3 @@ +bin/qp +share/doc/qp/README +@dirrm share/doc/qp |