summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-04 21:20:38 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-04 21:20:38 +0800
commit8ad10c036c54b3dc2705c6bf0b648d4cb72c9f27 (patch)
tree510c6f1578924b66a5e49ff324fa63a8aa0e980f /graphics
parent22b238699bb20fe738cb4762fc1597a0afa7078d (diff)
downloadmarcuscom-ports-8ad10c036c54b3dc2705c6bf0b648d4cb72c9f27.tar
marcuscom-ports-8ad10c036c54b3dc2705c6bf0b648d4cb72c9f27.tar.gz
marcuscom-ports-8ad10c036c54b3dc2705c6bf0b648d4cb72c9f27.tar.bz2
marcuscom-ports-8ad10c036c54b3dc2705c6bf0b648d4cb72c9f27.tar.lz
marcuscom-ports-8ad10c036c54b3dc2705c6bf0b648d4cb72c9f27.tar.xz
marcuscom-ports-8ad10c036c54b3dc2705c6bf0b648d4cb72c9f27.tar.zst
marcuscom-ports-8ad10c036c54b3dc2705c6bf0b648d4cb72c9f27.zip
- Fix build
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7548 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics')
-rw-r--r--graphics/imagesort/Makefile29
-rw-r--r--graphics/imagesort/distinfo3
-rw-r--r--graphics/imagesort/files/patch-Makefile20
-rw-r--r--graphics/imagesort/pkg-descr6
-rw-r--r--graphics/imagesort/pkg-plist4
-rw-r--r--graphics/isreal/Makefile27
-rw-r--r--graphics/isreal/distinfo3
-rw-r--r--graphics/isreal/files/patch-Makefile22
-rw-r--r--graphics/isreal/files/patch-getopt11
-rw-r--r--graphics/isreal/pkg-descr14
10 files changed, 139 insertions, 0 deletions
diff --git a/graphics/imagesort/Makefile b/graphics/imagesort/Makefile
new file mode 100644
index 000000000..957173fdc
--- /dev/null
+++ b/graphics/imagesort/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: imagesort
+# Date created: Apr 10, 2001
+# Whom: Mark Pulford <mark@kyne.com.au>
+#
+# $FreeBSD$
+# $MCom$
+
+PORTNAME= imagesort
+PORTVERSION= 2.0
+PORTREVISION= 4
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SUNSITE}
+MASTER_SITE_SUBDIR= apps/graphics/viewers/X
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= A flexible X utility for managing many image files
+
+USE_GNOME= imlib
+CFLAGS:= ${CFLAGS} -I${LOCALBASE}/include
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/imagesort ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/imagesort
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/imagesort
+ ${INSTALL_DATA} ${WRKSRC}/imagesortrc.sample ${PREFIX}/share/doc/imagesort
+.endif
+
+.include <bsd.port.mk>
diff --git a/graphics/imagesort/distinfo b/graphics/imagesort/distinfo
new file mode 100644
index 000000000..5d414f8ab
--- /dev/null
+++ b/graphics/imagesort/distinfo
@@ -0,0 +1,3 @@
+MD5 (imagesort-2.0.tar.gz) = fcb4aff8239eeb3988064df19c3fc081
+SHA256 (imagesort-2.0.tar.gz) = 40f59fd2c40345dfd5589100c46e5097d042118186d8405fa82509ceb4b8bc18
+SIZE (imagesort-2.0.tar.gz) = 14778
diff --git a/graphics/imagesort/files/patch-Makefile b/graphics/imagesort/files/patch-Makefile
new file mode 100644
index 000000000..559dd89e5
--- /dev/null
+++ b/graphics/imagesort/files/patch-Makefile
@@ -0,0 +1,20 @@
+--- Makefile.orig Tue Apr 10 18:16:03 2001
++++ Makefile Tue Apr 10 18:18:54 2001
+@@ -7,15 +7,14 @@
+
+ # you may need to change this if you lack gcc (in which case you may
+ # not be able to compile at all
+-CC = gcc
+
+ # you'll probably have to dick with the libs, depending on how your imlib
+ # is compiled. We default to including all of the extras supported by
+ # imlib 1.9
+-LIBS = -lX11 -lXext -lImlib -ljpeg -lm -lpng -ltiff -lz -lgif
++LIBS = -lX11 -lXext -lImlib -ljpeg -lm -lpng -ltiff -lz -lungif
+ #LIBS = -lImlib -lX11 -lXext -ljpeg -lgif -lm
+
+-CFLAGS = -g -L$(XDIR)/lib -I$(XDIR)/include
++CFLAGS += -L$(LOCALBASE)/lib -L$(X11BASE)/lib -I$(X11BASE)/include
+
+ all: imagesort.o
+
diff --git a/graphics/imagesort/pkg-descr b/graphics/imagesort/pkg-descr
new file mode 100644
index 000000000..ff0e1c133
--- /dev/null
+++ b/graphics/imagesort/pkg-descr
@@ -0,0 +1,6 @@
+Imagesort is a flexible utility for managing a large number of images.
+Via a configuration file (~/.imagesortrc) various commands are bound
+to keys allowing you to quickly process your images while you flick
+throught them. Documentation can be found in share/doc/imagesort.
+
+WWW: http://sammy.net/~sammy/hacks/
diff --git a/graphics/imagesort/pkg-plist b/graphics/imagesort/pkg-plist
new file mode 100644
index 000000000..5959c5f85
--- /dev/null
+++ b/graphics/imagesort/pkg-plist
@@ -0,0 +1,4 @@
+bin/imagesort
+%%PORTDOCS%%share/doc/imagesort/README
+%%PORTDOCS%%share/doc/imagesort/imagesortrc.sample
+%%PORTDOCS%%@dirrm share/doc/imagesort
diff --git a/graphics/isreal/Makefile b/graphics/isreal/Makefile
new file mode 100644
index 000000000..2b247e6dd
--- /dev/null
+++ b/graphics/isreal/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: isreal
+# Date created: Mar 31, 2001
+# Whom: Mark Pulford <mark@kyne.com.au>
+#
+# $FreeBSD$
+# $MCom$
+
+PORTNAME= isreal
+PORTVERSION= 2.0
+PORTREVISION= 3
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR= markp
+EXTRACT_SUFX= .tar
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= An image classification utility
+
+PLIST_FILES= bin/isreal
+USE_XLIB= yes
+USE_GNOME= imlib
+CFLAGS:= ${CFLAGS} -I${LOCALBASE}/include
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/isreal ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/graphics/isreal/distinfo b/graphics/isreal/distinfo
new file mode 100644
index 000000000..18040174e
--- /dev/null
+++ b/graphics/isreal/distinfo
@@ -0,0 +1,3 @@
+MD5 (isreal-2.0.tar) = 6ced43fc94f64909c13ec3373681e483
+SHA256 (isreal-2.0.tar) = dc0a2d73b5f7cb0367c34ebd7498b313f750fb134ea63df0c07b0fad854d2d6b
+SIZE (isreal-2.0.tar) = 40960
diff --git a/graphics/isreal/files/patch-Makefile b/graphics/isreal/files/patch-Makefile
new file mode 100644
index 000000000..0f678134e
--- /dev/null
+++ b/graphics/isreal/files/patch-Makefile
@@ -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:
diff --git a/graphics/isreal/files/patch-getopt b/graphics/isreal/files/patch-getopt
new file mode 100644
index 000000000..51eb56d5b
--- /dev/null
+++ b/graphics/isreal/files/patch-getopt
@@ -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
diff --git a/graphics/isreal/pkg-descr b/graphics/isreal/pkg-descr
new file mode 100644
index 000000000..428b5d8d9
--- /dev/null
+++ b/graphics/isreal/pkg-descr
@@ -0,0 +1,14 @@
+IsReal analyzes image files to guess the type of image contained:
+real, realistic or unreal.
+
+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.