aboutsummaryrefslogtreecommitdiff
path: root/graphics/panoglview
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2013-05-23 02:35:26 +0000
committerJason Helfman <jgh@FreeBSD.org>2013-05-23 02:35:26 +0000
commitacbbee2bc7634b209abf38ef09ce1f48197a4fe4 (patch)
tree989dd8e1b1e6c8900e5268efdd3d75a25a3b7268 /graphics/panoglview
parent70cb44a9d71c560e2e4ab944c63d47e386b5f5a1 (diff)
downloadports-acbbee2bc7634b209abf38ef09ce1f48197a4fe4.tar.gz
ports-acbbee2bc7634b209abf38ef09ce1f48197a4fe4.zip
- adoption of optionsNG
- convert to USES in some cases (pkgconfig,pathfix) - trim COMMENT/historical headers in some cases Approved by: portmgr (miwi)
Notes
Notes: svn path=/head/; revision=318829
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>