aboutsummaryrefslogtreecommitdiff
path: root/graphics/O2-tools
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2009-05-31 22:34:51 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2009-05-31 22:34:51 +0000
commitdeb2b3f8abeb5fe8a167955c38918e3b88cf520b (patch)
tree7bc3d245cc9c78c3b896d06d114940b675637a8a /graphics/O2-tools
parent7a66b0ae873c13621bafdce2e7f688f1c61978cd (diff)
downloadports-deb2b3f8abeb5fe8a167955c38918e3b88cf520b.tar.gz
ports-deb2b3f8abeb5fe8a167955c38918e3b88cf520b.zip
Huge image processing tools and libraries.
Most of the programs in this package were designed carefully to avoid slowing down even for huge images, e.g. 3300x4700. I hope you will find them better. This package contains following programs: bmptopnm-O2 (bmptopnm in original distribution) - convert a BMP(DIB) file into a portable anymap breduce - read a portable bitmap and reduce it N times makecr - create circumscribing rectangles (bounding box) in an image makepr - create Primitive Rectangles in an image prlst2ps - produce PostScript data from rectangle/line- segment data lpsmooth - smooth an image preserving thin lines WWW: http://www.imglab.org/p/O2/ PR: 134719 Submitted by: Hiroto Kagotani <hiroto.kagotani@gmail.com>
Notes
Notes: svn path=/head/; revision=234948
Diffstat (limited to 'graphics/O2-tools')
-rw-r--r--graphics/O2-tools/Makefile22
-rw-r--r--graphics/O2-tools/distinfo3
-rw-r--r--graphics/O2-tools/files/patch-bmptopnm__Makefile.in28
-rw-r--r--graphics/O2-tools/pkg-descr18
-rw-r--r--graphics/O2-tools/pkg-plist29
5 files changed, 100 insertions, 0 deletions
diff --git a/graphics/O2-tools/Makefile b/graphics/O2-tools/Makefile
new file mode 100644
index 000000000000..e1f575096ff9
--- /dev/null
+++ b/graphics/O2-tools/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: O2-tools
+# Date created: 2009-05-20
+# Whom: Hiroto Kagotani <hiroto.kagotani@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= O2-tools
+PORTVERSION= 2.00
+CATEGORIES= graphics
+MASTER_SITES= http://www.imglab.org/p/O2/archives/
+
+MAINTAINER= hiroto.kagotani@gmail.com
+COMMENT= Huge image processing tools and libraries
+
+MAKE_JOBS_SAFE= yes
+GNU_CONFIGURE= yes
+
+MAN1= bmptopnm-O2.1 breduce.1 lpsmooth.1 makecr.1 makepr.1 prlst2ps.1
+MAN4= d4file.4
+
+.include <bsd.port.mk>
diff --git a/graphics/O2-tools/distinfo b/graphics/O2-tools/distinfo
new file mode 100644
index 000000000000..7f60334ef06a
--- /dev/null
+++ b/graphics/O2-tools/distinfo
@@ -0,0 +1,3 @@
+MD5 (O2-tools-2.00.tar.gz) = 72cff9b6595336ca7df40c4700b224d1
+SHA256 (O2-tools-2.00.tar.gz) = ac477a8bb1d30f7b7c1921fa4447b0bbb061eb8571d21e325bce6e74c6addb49
+SIZE (O2-tools-2.00.tar.gz) = 241933
diff --git a/graphics/O2-tools/files/patch-bmptopnm__Makefile.in b/graphics/O2-tools/files/patch-bmptopnm__Makefile.in
new file mode 100644
index 000000000000..f5178bf32071
--- /dev/null
+++ b/graphics/O2-tools/files/patch-bmptopnm__Makefile.in
@@ -0,0 +1,28 @@
+--- ./bmptopnm/Makefile.in.orig 2008-12-31 00:03:50.000000000 +0900
++++ ./bmptopnm/Makefile.in 2009-05-18 16:38:03.000000000 +0900
+@@ -34,7 +34,7 @@
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-bin_PROGRAMS = bmptopnm$(EXEEXT)
++bin_PROGRAMS = bmptopnm-O2$(EXEEXT)
+ subdir = bmptopnm
+ DIST_COMMON = $(dist_man_MANS) $(srcdir)/Makefile.am \
+ $(srcdir)/Makefile.in
+@@ -146,9 +146,15 @@
+ bmptopnm_SOURCES = bmptopnm.cpp
+ AM_CXXFLAGS = -I../include
+ bmptopnm_LDADD = -L../lib -lufp -lsip
+-dist_man_MANS = bmptopnm.1
++dist_man_MANS = bmptopnm-O2.1
+ all: all-am
+
++bmptopnm-O2$(EXEEXT): bmptopnm$(EXEEXT)
++ cp bmptopnm$(EXEEXT) bmptopnm-O2$(EXEEXT)
++
++bmptopnm-O2.1: bmptopnm.1
++ cp bmptopnm.1 bmptopnm-O2.1
++
+ .SUFFIXES:
+ .SUFFIXES: .cpp .o .obj
+ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
diff --git a/graphics/O2-tools/pkg-descr b/graphics/O2-tools/pkg-descr
new file mode 100644
index 000000000000..c919fcb25946
--- /dev/null
+++ b/graphics/O2-tools/pkg-descr
@@ -0,0 +1,18 @@
+Huge image processing tools and libraries.
+
+ Most of the programs in this package were designed carefully to
+ avoid slowing down even for huge images, e.g. 3300x4700. I hope
+ you will find them better.
+
+ This package contains following programs:
+ bmptopnm-O2 (bmptopnm in original distribution)
+ - convert a BMP(DIB) file into a portable anymap
+ breduce - read a portable bitmap and reduce it N times
+ makecr - create circumscribing rectangles (bounding box) in an
+ image
+ makepr - create Primitive Rectangles in an image
+ prlst2ps - produce PostScript data from rectangle/line-
+ segment data
+ lpsmooth - smooth an image preserving thin lines
+
+WWW: http://www.imglab.org/p/O2/
diff --git a/graphics/O2-tools/pkg-plist b/graphics/O2-tools/pkg-plist
new file mode 100644
index 000000000000..f50a280d9662
--- /dev/null
+++ b/graphics/O2-tools/pkg-plist
@@ -0,0 +1,29 @@
+bin/bmptopnm-O2
+bin/breduce
+bin/lpsmooth
+bin/makecr
+bin/makepr
+bin/prlst2ps
+lib/libimgo.a
+lib/libsgp.a
+lib/libstdps.a
+lib/libxip.a
+lib/libogrp.a
+lib/libsip.a
+lib/libufp.a
+include/CRect.h
+include/ORect.h
+include/comlib.h
+include/d8IO.h
+include/imgobj.h
+include/ipIO.h
+include/objgrp.h
+include/pbmIO.h
+include/rasIO.h
+include/rasterfile.h
+include/sgplib.h
+include/siplib.h
+include/stdps.h
+include/ufilep.h
+include/utypes.h
+include/xiplib.h