aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libpano12
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2004-12-15 20:51:49 +0800
committeredwin <edwin@FreeBSD.org>2004-12-15 20:51:49 +0800
commit511c2918cfba62e8a516340e08f758e67b6ef2dd (patch)
tree0fd18339cea91fa1de0c0f6fdbc033fd8a6f25d4 /graphics/libpano12
parent4881b6d6b49e80bbb07e7ef86d467799accd36a3 (diff)
downloadfreebsd-ports-gnome-511c2918cfba62e8a516340e08f758e67b6ef2dd.tar.gz
freebsd-ports-gnome-511c2918cfba62e8a516340e08f758e67b6ef2dd.tar.zst
freebsd-ports-gnome-511c2918cfba62e8a516340e08f758e67b6ef2dd.zip
New port: graphics/libpano12 - program to mount panorama pictures
- also a dependency to hugin This is a port of panorama-tools, a set of tools to make panoramic images from independent pictures. PR: ports/71846 Submitted by: Carlos Eduardo G. Carvalho <cartola@openit.com.br>
Diffstat (limited to 'graphics/libpano12')
-rw-r--r--graphics/libpano12/Makefile33
-rw-r--r--graphics/libpano12/distinfo2
-rw-r--r--graphics/libpano12/files/makefile.freebsd32
-rw-r--r--graphics/libpano12/pkg-descr7
-rw-r--r--graphics/libpano12/pkg-plist20
5 files changed, 94 insertions, 0 deletions
diff --git a/graphics/libpano12/Makefile b/graphics/libpano12/Makefile
new file mode 100644
index 000000000000..1b89985cb0b7
--- /dev/null
+++ b/graphics/libpano12/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: panorama-tools
+# Date created: 26 august 2004
+# Whom: cartola (Carlos E. G. Carvalho)
+#
+# $FreeBSD$
+# This port has been made as a building and running dependence for the
+# hugin port.
+# The hugin port is a gui interface to interact with this and other
+# tools.
+
+PORTNAME= libpano12
+PORTVERSION= 2.7.0.3
+CATEGORIES= graphics
+MASTER_SITES= http://www.openit.com.br/distfiles/
+
+MAINTAINER= cartola@openit.com.br
+COMMENT= Panorama Tools to make panorama pictures
+
+LIB_DEPENDS= tiff:${PORTSDIR}/graphics/tiff \
+ png:${PORTSDIR}/graphics/png \
+ jpeg:${PORTSDIR}/graphics/jpeg
+
+USE_JAVA= yes
+JAVA_VERSION= 1.3+
+
+MAKEFILE= makefile.freebsd
+
+INSTALLS_SHLIB= yes
+
+post-extract:
+ ${CP} ${FILESDIR}/makefile.freebsd ${WRKSRC}/makefile.freebsd
+
+.include <bsd.port.mk>
diff --git a/graphics/libpano12/distinfo b/graphics/libpano12/distinfo
new file mode 100644
index 000000000000..86353ec64e1c
--- /dev/null
+++ b/graphics/libpano12/distinfo
@@ -0,0 +1,2 @@
+MD5 (libpano12-2.7.0.3.tar.gz) = ad116271b368131690ed7313a426b167
+SIZE (libpano12-2.7.0.3.tar.gz) = 216375
diff --git a/graphics/libpano12/files/makefile.freebsd b/graphics/libpano12/files/makefile.freebsd
new file mode 100644
index 000000000000..8c096917bdb9
--- /dev/null
+++ b/graphics/libpano12/files/makefile.freebsd
@@ -0,0 +1,32 @@
+# Makefile for libpano12.so
+
+objects= filter.o parser.o queryfeature.o correct.o perspect.o \
+ adjust.o remap.o lmdif.o file.o math.o pan.o \
+ PTDialogs.o fftn.o fourier.o resample.o optimize.o \
+ morpher.o Triangulate.o seamer.o ptpicker.o pteditor.o \
+ tiff.o jpeg.o png.o multilayer.o
+
+ansobj = sys_ansi.o ppm.o
+
+CFLAGS1 = -O -L${PREFIX}/lib/ -I${PREFIX}/jdk1.4.2/include/ -I${PREFIX}/jdk1.4.2/include/freebsd/ -I${PREFIX}/include/ -fPIC -D__Ansi__=1
+CFLAGS2 = -O -I./ -L./
+CFLAGS = $(CFLAGS1)
+
+libpano12.so : $(objects) $(ansobj)
+ $(CC) $(CFLAGS1) -lm -ljpeg -ltiff -lpng -shared -o libpano12.so $(objects) $(ansobj)
+
+PTOptimizer : tools/PTOptimizer.c
+ ${CC} $(CFLAGS2) -otools/PTOptimizer -lpano12 tools/PTOptimizer.c
+
+all : libpano12.so PTOptimizer
+
+install : libpano12.so
+ install -s -m 755 libpano12.so ${PREFIX}/lib
+ install -s -m 755 tools/PTOptimizer ${PREFIX}/bin
+ mkdir -p ${PREFIX}/include/pano12
+ install -m 644 *.h ${PREFIX}/include/pano12
+ mkdir -p ${PREFIX}/share/doc/libpano12
+ install -m 644 README.* ${PREFIX}/share/doc/libpano12
+
+clean :
+ rm -f libpano12.so *.o tools/PTOptimizer
diff --git a/graphics/libpano12/pkg-descr b/graphics/libpano12/pkg-descr
new file mode 100644
index 000000000000..78190cbed301
--- /dev/null
+++ b/graphics/libpano12/pkg-descr
@@ -0,0 +1,7 @@
+This is a port of panorama-tools, a set of tools to make panoramic
+images from independent pictures.
+
+WWW: http://panorama-tools.sf.net/
+
+- Ported by Cartola
+cartola@openit.com.br
diff --git a/graphics/libpano12/pkg-plist b/graphics/libpano12/pkg-plist
new file mode 100644
index 000000000000..8924d8ac2e08
--- /dev/null
+++ b/graphics/libpano12/pkg-plist
@@ -0,0 +1,20 @@
+bin/PTOptimizer
+include/pano12/PixMap.h
+include/pano12/f2c.h
+include/pano12/fftn.h
+include/pano12/filter.h
+include/pano12/panorama.h
+include/pano12/pteditor.h
+include/pano12/ptutils.h
+include/pano12/queryfeature.h
+include/pano12/sys_X11.h
+include/pano12/sys_ansi.h
+include/pano12/sys_mac.h
+include/pano12/sys_win.h
+include/pano12/version.h
+lib/libpano12.so
+%%DOCSDIR%%/README.linux
+%%DOCSDIR%%/README.mac
+%%DOCSDIR%%/README.windows
+@dirrm include/pano12
+@dirrm %%DOCSDIR%%