Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Apr 2001 01:25:27 +0930 (CST)
From:      mark@kyne.com.au
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/26271: New port: graphics/isreal: An image classification utility
Message-ID:  <200104011555.f31FtRi29359@aeris.kyne.com.au>

next in thread | raw e-mail | index | archive | help

>Number:         26271
>Category:       ports
>Synopsis:       New port: graphics/isreal: An image classification utility
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 01 09:00:02 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Mark
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
none
>Environment:

>Description:

>How-To-Repeat:

>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	isreal
#	isreal/Makefile
#	isreal/distinfo
#	isreal/pkg-comment
#	isreal/pkg-descr
#	isreal/files
#	isreal/files/patch-getopt
#	isreal/files/patch-Makefile
#	isreal/pkg-plist
#
echo c - isreal
mkdir -p isreal > /dev/null 2>&1
echo x - isreal/Makefile
sed 's/^X//' >isreal/Makefile << 'END-of-isreal/Makefile'
X# New ports collection makefile for:	isreal
X# Date created:			Mar 31, 2001
X# Whom:				Mark Pulford <mark@kyne.com.au>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	isreal
XPORTVERSION=	2.0
XCATEGORIES=	graphics
XMASTER_SITES=	ftp://ftp.freeradius.org/pub/isreal/
XEXTRACT_SUFX=	.tar
X
XMAINTAINER=	mark@kyne.com.au
X
XUSE_XLIB=	yes
XUSE_IMLIB=	yes
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/isreal ${PREFIX}/bin
X
X.include <bsd.port.mk>
END-of-isreal/Makefile
echo x - isreal/distinfo
sed 's/^X//' >isreal/distinfo << 'END-of-isreal/distinfo'
XMD5 (isreal-2.0.tar) = 6ced43fc94f64909c13ec3373681e483
END-of-isreal/distinfo
echo x - isreal/pkg-comment
sed 's/^X//' >isreal/pkg-comment << 'END-of-isreal/pkg-comment'
XAn image classification utility
END-of-isreal/pkg-comment
echo x - isreal/pkg-descr
sed 's/^X//' >isreal/pkg-descr << 'END-of-isreal/pkg-descr'
XIsReal analyzes image files to guess the type of image contained:
Xreal, realistic or unreal.
X
XWWW: http://www.striker.ottawa.on.ca/~aland/isreal/
X
XIsReal is distributed under the following license:
X
XCopyright (c) 1999 Alan DeKok <aland@ox.org>
X
XAll rights reserved.
X
XRedistribution and use in source and binary forms are permitted
Xprovided that the above copyright notice and this paragraph are
Xduplicated in all such forms and that any documentation, advertising
Xmaterials, and other materials related to such distribution and use,
Xacknowledge that the software was developed by Alan DeKok.
END-of-isreal/pkg-descr
echo c - isreal/files
mkdir -p isreal/files > /dev/null 2>&1
echo x - isreal/files/patch-getopt
sed 's/^X//' >isreal/files/patch-getopt << 'END-of-isreal/files/patch-getopt'
X--- isreal.c.orig	Sat Mar 31 19:06:30 2001
X+++ isreal.c	Sat Mar 31 19:06:37 2001
X@@ -20,7 +20,7 @@
X #include <X11/Xutil.h>
X #include <Imlib.h>
X #include <math.h>
X-#include <getopt.h>
X+#include <unistd.h>
X #include <errno.h>
X 
X #ifndef FALSE
END-of-isreal/files/patch-getopt
echo x - isreal/files/patch-Makefile
sed 's/^X//' >isreal/files/patch-Makefile << 'END-of-isreal/files/patch-Makefile'
X--- Makefile.orig	Thu Jan  6 08:09:10 2000
X+++ Makefile	Sat Mar 31 19:46:20 2001
X@@ -3,13 +3,14 @@
X #
X LIBS	= -L/usr/X11R6/lib -L/usr/local/lib -lX11 -lXext \
X-		-ljpeg -lpng -ltiff -lz -lgif -lm -lImlib 
X-CFLAGS	= -g -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align \
X-	-Wwrite-strings -Wconversion -Waggregate-return -Wstrict-prototypes \
X-	-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
X+		-ljpeg -lpng -ltiff -lz -lungif -lm -lImlib 
X+
X+CFLAGS	+= -I/usr/X11R6/include
X 
X VERSION=2.0
X 
X+all: isreal
X+
X isreal: isreal.o
X-	$(CC) $^ $(LIBS) -o $@
X+	$(CC) isreal.o $(LIBS) -o $@
X 
X clean:
END-of-isreal/files/patch-Makefile
echo x - isreal/pkg-plist
sed 's/^X//' >isreal/pkg-plist << 'END-of-isreal/pkg-plist'
Xbin/isreal
END-of-isreal/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104011555.f31FtRi29359>