summaryrefslogtreecommitdiffstats
path: root/graphics/flip
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-03-05 08:23:14 +0000
committerijliao <ijliao@FreeBSD.org>2002-03-05 08:23:14 +0000
commite04805502bbbbad1de2162f80636dc8ccd19acaa (patch)
tree4d207aab9893063d906bf94da78ea2e1e9e515b0 /graphics/flip
parent6cbb5471d901a6614169fc03c2fa03c490d8004d (diff)
downloadFreeBSD-ports-e04805502bbbbad1de2162f80636dc8ccd19acaa.zip
FreeBSD-ports-e04805502bbbbad1de2162f80636dc8ccd19acaa.tar.gz
add flip 2.2.0
Load a sequence of TIFF files and play them back at a target frame rate
Diffstat (limited to 'graphics/flip')
-rw-r--r--graphics/flip/Makefile35
-rw-r--r--graphics/flip/distinfo1
-rw-r--r--graphics/flip/files/patch-Config.cpp11
-rw-r--r--graphics/flip/files/patch-Makefile15
-rw-r--r--graphics/flip/pkg-comment1
-rw-r--r--graphics/flip/pkg-descr6
-rw-r--r--graphics/flip/pkg-plist1
7 files changed, 70 insertions, 0 deletions
diff --git a/graphics/flip/Makefile b/graphics/flip/Makefile
new file mode 100644
index 0000000..17d9da5
--- /dev/null
+++ b/graphics/flip/Makefile
@@ -0,0 +1,35 @@
+# ex:ts=8
+# Ports collection makefile for: flip
+# Date created: Mar 4, 2002
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= flip
+PORTVERSION= 2.2.0
+CATEGORIES= graphics
+MASTER_SITES= http://www.reptilelabour.com/software/files/flip/
+
+MAINTAINER= ports@FreeBSD.org
+
+LIB_DEPENDS= tiff:${PORTSDIR}/graphics/tiff
+RUN_DEPENDS= mpeg_encode:${PORTSDIR}/graphics/mpeg_encode
+
+USE_QT_VER= 2
+WRKSRC= ${WRKDIR}/${DISTNAME:R}
+CFLAGS+= -I${LOCALBASE}/include
+MAKE_ENV= MOC="${MOC}" QTDIR="${X11BASE}"
+
+post-patch:
+ @${PERL} -pi -e "s,^CC,#CC,g ; s,^CXX,#CXX,g ; \
+ s,^CFLAGS,#CFLAGS,g ; s,^CXXFLAGS,#CXXFLAGS,g ; \
+ s,^MOC,#MOC,g ; s,lqt,lqt2,g ; \
+ s,/usr/X11R6,${X11BASE},g ; \
+ s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/Makefile
+ @${PERL} -pi -e "s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/Config.cpp
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/flip ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/graphics/flip/distinfo b/graphics/flip/distinfo
new file mode 100644
index 0000000..42e17f9
--- /dev/null
+++ b/graphics/flip/distinfo
@@ -0,0 +1 @@
+MD5 (flip-2.2.0.tar.gz) = f38bc69b794ae722e8b775f4c846a314
diff --git a/graphics/flip/files/patch-Config.cpp b/graphics/flip/files/patch-Config.cpp
new file mode 100644
index 0000000..a7c4b74
--- /dev/null
+++ b/graphics/flip/files/patch-Config.cpp
@@ -0,0 +1,11 @@
+--- Config.cpp.orig Tue Mar 5 16:15:53 2002
++++ Config.cpp Tue Mar 5 16:16:50 2002
+@@ -16,7 +16,7 @@
+ flipFPS = MainWindow::F30;
+ loadFrames = 100;
+
+- mpegExec = "/usr/bin/mpeg_encode";
++ mpegExec = "%%LOCALBASE%%/bin/mpeg_encode";
+ mpegPattern = "IBBPBBPBBPBB";
+ mpegPSearch = 0;
+ mpegBSearch = 1;
diff --git a/graphics/flip/files/patch-Makefile b/graphics/flip/files/patch-Makefile
new file mode 100644
index 0000000..3d31eeb
--- /dev/null
+++ b/graphics/flip/files/patch-Makefile
@@ -0,0 +1,15 @@
+--- Makefile.orig Sun Jun 3 08:46:32 2001
++++ Makefile Tue Mar 5 16:07:48 2002
+@@ -11,10 +11,10 @@
+ CXX = g++
+ CFLAGS = -pipe -Wall -W -O2 -DNO_DEBUG
+ CXXFLAGS= -pipe -Wall -W -O2 -DNO_DEBUG
+-INCPATH = -I/usr/X11R6/include -I$(QTDIR)/include
++INCPATH = -I/usr/X11R6/include -I$(QTDIR)/include/qt2
+ LINK = g++
+ LFLAGS =
+-LIBS = $(SUBLIBS) -L$(QTDIR)/lib -L/usr/X11R6/lib -ltiff -lqt -lXext -lX11 -lm
++LIBS = $(SUBLIBS) -L$(QTDIR)/lib -L/usr/X11R6/lib -L%%LOCALBASE%%/lib -ltiff -lqt -lXext -lX11 -lm
+ MOC = $(QTDIR)/bin/moc
+ UIC = $(QTDIR)/bin/uic
+
diff --git a/graphics/flip/pkg-comment b/graphics/flip/pkg-comment
new file mode 100644
index 0000000..fdf98be
--- /dev/null
+++ b/graphics/flip/pkg-comment
@@ -0,0 +1 @@
+Load a sequence of TIFF files and play them back at a target frame rate
diff --git a/graphics/flip/pkg-descr b/graphics/flip/pkg-descr
new file mode 100644
index 0000000..7d8bf36
--- /dev/null
+++ b/graphics/flip/pkg-descr
@@ -0,0 +1,6 @@
+flip is a simple 'flipbook' for previewing TIFF animations. It requires
+large amounts of memory to be useful (a machine w/ 256MB, can load
+~500 320x240 frames without hitting swap). Frames can be scaled on load to
+use less memory.
+
+WWW: http://www.reptilelabour.com/software/flip/
diff --git a/graphics/flip/pkg-plist b/graphics/flip/pkg-plist
new file mode 100644
index 0000000..9e9435b
--- /dev/null
+++ b/graphics/flip/pkg-plist
@@ -0,0 +1 @@
+bin/flip
OpenPOWER on IntegriCloud