aboutsummaryrefslogtreecommitdiff
path: root/graphics/panoglview
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-03-24 12:55:40 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-03-24 12:55:40 +0000
commit27da628aa1306f2d22152ca6ed6b8b5fc4eab14b (patch)
tree8c57927f720e08003f092129619e5be69c7124eb /graphics/panoglview
parent22fe8740222cc17ffef8aec87772eac28190d9dd (diff)
downloadports-27da628aa1306f2d22152ca6ed6b8b5fc4eab14b.tar.gz
ports-27da628aa1306f2d22152ca6ed6b8b5fc4eab14b.zip
Switch to wx 2.8 (unicode)
Notes
Notes: svn path=/head/; revision=348988
Diffstat (limited to 'graphics/panoglview')
-rw-r--r--graphics/panoglview/Makefile26
1 files changed, 6 insertions, 20 deletions
diff --git a/graphics/panoglview/Makefile b/graphics/panoglview/Makefile
index af54d80683b0..daafe28996f5 100644
--- a/graphics/panoglview/Makefile
+++ b/graphics/panoglview/Makefile
@@ -3,43 +3,29 @@
PORTNAME= panoglview
PORTVERSION= 0.2.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= SF/hugin/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ii@any.com.ru
COMMENT= Panorama viewer using OpenGL
+USES= gmake
GNU_CONFIGURE= yes
CONFIGURE_ENV= WX_CONFIG_NAME=${WX_CONFIG} \
PATH="$${PATH}:${LOCALBASE}/bin"
LDFLAGS+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib
CFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include
CXXFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include -ftemplate-depth-64
-USE_GMAKE= yes
+CONFIGURE_ARGS= --with-unicode
-USE_WX= 2.6+
+USE_WX= 2.8
+WX_UNICODE= yes
WX_COMPS= wx
WX_CONF_ARGS= relative
PLIST_FILES= bin/panoglview
-OPTIONS_DEFINE= UNICODE
-OPTIONS_DEFAULT= UNICODE
-
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${ARCH} == "powerpc"
-BROKEN= Does not configure on powerpc
-.endif
-
-.if ${PORT_OPTIONS:MUNICODE}
-WX_UNICODE= yes
-CONFIGURE_ARGS+= --with-unicode
-.else
-.undef WX_UNICODE
-CONFIGURE_ARGS+= --without-unicode
-.endif
+BROKEN_powerpc= Does not configure on powerpc
.include <bsd.port.mk>