aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/panoglview
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2013-05-23 10:35:26 +0800
committerjgh <jgh@FreeBSD.org>2013-05-23 10:35:26 +0800
commitae39fc48dcdf2a3d8613eb03f67731d1b6ad6001 (patch)
tree989dd8e1b1e6c8900e5268efdd3d75a25a3b7268 /graphics/panoglview
parentc320816067bbebb0b0f197bcee87ac7785eb832c (diff)
downloadfreebsd-ports-gnome-ae39fc48dcdf2a3d8613eb03f67731d1b6ad6001.tar.gz
freebsd-ports-gnome-ae39fc48dcdf2a3d8613eb03f67731d1b6ad6001.tar.zst
freebsd-ports-gnome-ae39fc48dcdf2a3d8613eb03f67731d1b6ad6001.zip
- adoption of optionsNG
- convert to USES in some cases (pkgconfig,pathfix) - trim COMMENT/historical headers in some cases Approved by: portmgr (miwi)
Diffstat (limited to 'graphics/panoglview')
-rw-r--r--graphics/panoglview/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/graphics/panoglview/Makefile b/graphics/panoglview/Makefile
index b4cce8bce568..d4625e2430cf 100644
--- a/graphics/panoglview/Makefile
+++ b/graphics/panoglview/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: panoglview
-# Date created: Sat Apr 28 07:59:00 UTC 2007
-# Whom: argv[0] (Iouri V. Ivliev)
-#
+# Created by: argv[0] (Iouri V. Ivliev)
# $FreeBSD$
-#
PORTNAME= panoglview
PORTVERSION= 0.2.2
@@ -28,15 +24,16 @@ WX_CONF_ARGS= relative
PLIST_FILES= bin/panoglview
-OPTIONS= UNICODE "Use UNICODE version of the wxgtk" on
+OPTIONS_DEFINE= UNICODE
+OPTIONS_DEFAULT= UNICODE
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.if ${ARCH} == "powerpc"
BROKEN= Does not configure on powerpc
.endif
-.if defined(WITH_UNICODE)
+.if ${PORT_OPTIONS:MUNICODE}
WX_UNICODE= yes
CONFIGURE_ARGS+= --with-unicode
.else
@@ -44,4 +41,4 @@ CONFIGURE_ARGS+= --with-unicode
CONFIGURE_ARGS+= --without-unicode
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>