aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/panoglview/Makefile45
-rw-r--r--graphics/panoglview/distinfo3
-rw-r--r--graphics/panoglview/pkg-descr3
4 files changed, 52 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 9d1b1f95888b..04b37e7991d5 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -538,6 +538,7 @@
SUBDIR += p5-chart
SUBDIR += p5-ming
SUBDIR += paintlib
+ SUBDIR += panoglview
SUBDIR += panomatic
SUBDIR += passepartout
SUBDIR += pear-Image_3D
diff --git a/graphics/panoglview/Makefile b/graphics/panoglview/Makefile
new file mode 100644
index 000000000000..212abb8d97ce
--- /dev/null
+++ b/graphics/panoglview/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: panoglview
+# Date created: Sat Apr 28 07:59:00 UTC 2007
+# Whom: argv[0] (Iouri V. Ivliev)
+#
+# $FreeBSD$
+#
+
+PORTNAME= panoglview
+PORTVERSION= 0.2.1
+CATEGORIES= graphics
+MASTER_SITES= SF/hugin
+
+MAINTAINER= ii@any.com.ru
+COMMENT= Panorama viewer using OpenGL
+
+GNU_CONFIGURE= yes
+CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV= CFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
+ CXXFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include -ftemplate-depth-64" \
+ LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib -lwx_gtk2_gl-${WX_VERSION}" \
+ WX_CONFIG_NAME=wxgtk2-${WX_VERSION}-config \
+ PATH="$${PATH}:${LOCALBASE}/bin"
+USE_XORG= x11
+USE_GMAKE= yes
+
+USE_WX= 2.6+
+WX_COMPS= wx
+WX_CONF_ARGS= relative
+
+PLIST_FILES= bin/panoglview
+
+OPTIONS= UNICODE "Use UNICODE version of the wxgtk (NLS broken!)" off
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_UNICODE)
+WX_UNICODE= yes
+WX_RC= wxrc-gtk2u-${WX_VERSION}
+CONFIGURE_ARGS+= --with-unicode
+.else
+WX_RC= wxrc-gtk2-${WX_VERSION}
+CONFIGURE_ARGS+= --without-unicode
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/graphics/panoglview/distinfo b/graphics/panoglview/distinfo
new file mode 100644
index 000000000000..c54774217b95
--- /dev/null
+++ b/graphics/panoglview/distinfo
@@ -0,0 +1,3 @@
+MD5 (panoglview-0.2.1.tar.gz) = 0acb180b81997aa8c08d03ff9dfd2437
+SHA256 (panoglview-0.2.1.tar.gz) = 28de4375cd3234d87b563e8807925aa0c234f393c9d9f34562aa8913c8ab8fcf
+SIZE (panoglview-0.2.1.tar.gz) = 467291
diff --git a/graphics/panoglview/pkg-descr b/graphics/panoglview/pkg-descr
new file mode 100644
index 000000000000..ca7510e51db5
--- /dev/null
+++ b/graphics/panoglview/pkg-descr
@@ -0,0 +1,3 @@
+Panorama viewer using OpenGL
+
+WWW: http://hugin.sourceforge.net/