aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-03-24 20:55:40 +0800
committerbapt <bapt@FreeBSD.org>2014-03-24 20:55:40 +0800
commit376d0921851201d41940fa22b7c8280e04af3b24 (patch)
tree8c57927f720e08003f092129619e5be69c7124eb /graphics
parentf5c2bdcf73c15ad8bb6a6643c9ada3d66321acb2 (diff)
downloadfreebsd-ports-gnome-376d0921851201d41940fa22b7c8280e04af3b24.tar.gz
freebsd-ports-gnome-376d0921851201d41940fa22b7c8280e04af3b24.tar.zst
freebsd-ports-gnome-376d0921851201d41940fa22b7c8280e04af3b24.zip
Switch to wx 2.8 (unicode)
Diffstat (limited to 'graphics')
-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>