mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-01 10:59:55 +00:00
Add isreal 2.0, an image classification utility.
PR: 26266 Submitted by: Mark Pulford <mark@kyne.com.au>
This commit is contained in:
parent
1f84276af5
commit
bf93d27159
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=41009
@ -90,6 +90,7 @@
|
||||
SUBDIR += imlib
|
||||
SUBDIR += imlib2
|
||||
SUBDIR += ipe
|
||||
SUBDIR += isreal
|
||||
SUBDIR += jbigkit
|
||||
SUBDIR += jgraph
|
||||
SUBDIR += jgv
|
||||
|
22
graphics/isreal/Makefile
Normal file
22
graphics/isreal/Makefile
Normal file
@ -0,0 +1,22 @@
|
||||
# New ports collection makefile for: isreal
|
||||
# Date created: Mar 31, 2001
|
||||
# Whom: Mark Pulford <mark@kyne.com.au>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= isreal
|
||||
PORTVERSION= 2.0
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= ftp://ftp.freeradius.org/pub/isreal/
|
||||
EXTRACT_SUFX= .tar
|
||||
|
||||
MAINTAINER= mark@kyne.com.au
|
||||
|
||||
USE_XLIB= yes
|
||||
USE_IMLIB= yes
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/isreal ${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
1
graphics/isreal/distinfo
Normal file
1
graphics/isreal/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (isreal-2.0.tar) = 6ced43fc94f64909c13ec3373681e483
|
22
graphics/isreal/files/patch-Makefile
Normal file
22
graphics/isreal/files/patch-Makefile
Normal file
@ -0,0 +1,22 @@
|
||||
--- Makefile.orig Thu Jan 6 08:09:10 2000
|
||||
+++ Makefile Sat Mar 31 19:46:20 2001
|
||||
@@ -3,13 +3,14 @@
|
||||
#
|
||||
LIBS = -L/usr/X11R6/lib -L/usr/local/lib -lX11 -lXext \
|
||||
- -ljpeg -lpng -ltiff -lz -lgif -lm -lImlib
|
||||
-CFLAGS = -g -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align \
|
||||
- -Wwrite-strings -Wconversion -Waggregate-return -Wstrict-prototypes \
|
||||
- -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
|
||||
+ -ljpeg -lpng -ltiff -lz -lungif -lm -lImlib
|
||||
+
|
||||
+CFLAGS += -I/usr/X11R6/include
|
||||
|
||||
VERSION=2.0
|
||||
|
||||
+all: isreal
|
||||
+
|
||||
isreal: isreal.o
|
||||
- $(CC) $^ $(LIBS) -o $@
|
||||
+ $(CC) isreal.o $(LIBS) -o $@
|
||||
|
||||
clean:
|
11
graphics/isreal/files/patch-getopt
Normal file
11
graphics/isreal/files/patch-getopt
Normal file
@ -0,0 +1,11 @@
|
||||
--- isreal.c.orig Sat Mar 31 19:06:30 2001
|
||||
+++ isreal.c Sat Mar 31 19:06:37 2001
|
||||
@@ -20,7 +20,7 @@
|
||||
#include <X11/Xutil.h>
|
||||
#include <Imlib.h>
|
||||
#include <math.h>
|
||||
-#include <getopt.h>
|
||||
+#include <unistd.h>
|
||||
#include <errno.h>
|
||||
|
||||
#ifndef FALSE
|
1
graphics/isreal/pkg-comment
Normal file
1
graphics/isreal/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
An image classification utility
|
16
graphics/isreal/pkg-descr
Normal file
16
graphics/isreal/pkg-descr
Normal file
@ -0,0 +1,16 @@
|
||||
IsReal analyzes image files to guess the type of image contained:
|
||||
real, realistic or unreal.
|
||||
|
||||
WWW: http://www.striker.ottawa.on.ca/~aland/isreal/
|
||||
|
||||
IsReal is distributed under the following license:
|
||||
|
||||
Copyright (c) 1999 Alan DeKok <aland@ox.org>
|
||||
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms are permitted
|
||||
provided that the above copyright notice and this paragraph are
|
||||
duplicated in all such forms and that any documentation, advertising
|
||||
materials, and other materials related to such distribution and use,
|
||||
acknowledge that the software was developed by Alan DeKok.
|
1
graphics/isreal/pkg-plist
Normal file
1
graphics/isreal/pkg-plist
Normal file
@ -0,0 +1 @@
|
||||
bin/isreal
|
Loading…
x
Reference in New Issue
Block a user