aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-12-13 15:53:20 +0800
committerbapt <bapt@FreeBSD.org>2012-12-13 15:53:20 +0800
commit2fd013c8ed71d4490c4edd32329853d6d2cba382 (patch)
treeeb1ad953811871632c1ed4a009b3c29a25482784 /graphics
parent20b1f2ada2b5b4020bbbacea288d206a2fd5084f (diff)
downloadfreebsd-ports-gnome-2fd013c8ed71d4490c4edd32329853d6d2cba382.tar.gz
freebsd-ports-gnome-2fd013c8ed71d4490c4edd32329853d6d2cba382.tar.zst
freebsd-ports-gnome-2fd013c8ed71d4490c4edd32329853d6d2cba382.zip
Convert to new option framework
Diffstat (limited to 'graphics')
-rw-r--r--graphics/qiv/Makefile19
1 files changed, 7 insertions, 12 deletions
diff --git a/graphics/qiv/Makefile b/graphics/qiv/Makefile
index b6c176b3f488..fe406bc90695 100644
--- a/graphics/qiv/Makefile
+++ b/graphics/qiv/Makefile
@@ -1,10 +1,5 @@
-# New ports collection makefile for: qiv
-# Date created: 25 December 1998
-# Whom: Bill Fumerola <billf@chc-chimes.com>
-#
-# $Carpetsmoker: ports/graphics/qiv/Makefile,v 1.2 2008/01/26 15:24:30 carpetsmoker Exp $
+# Created by: Bill Fumerola <billf@chc-chimes.com>
# $FreeBSD$
-#
PORTNAME= qiv
PORTVERSION= 2.2.4
@@ -26,19 +21,19 @@ USE_GNOME= gtk20
MAKE_JOBS_SAFE= yes
-OPTIONS= XINERAMA "use multiple monitors" off
+OPTIONS_DEFINE= XINERAMA
MAN1= qiv.1
PLIST_FILES= bin/qiv
USE_XORG+= x11
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
pre-configure:
-.if ! defined(WITH_XINERAMA)
- @${REINPLACE_CMD} 's|GTD.*=|#|' ${WRKSRC}/Makefile
-.else
+.if ${PORT_OPTIONS:MXINERAMA}
USE_XORG+= xinerama
+.else
+ @${REINPLACE_CMD} 's|GTD.*=|#|' ${WRKSRC}/Makefile
.endif
do-configure:
@@ -52,4 +47,4 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/qiv ${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/qiv.1 ${MAN1PREFIX}/man/man1/
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>