ports/173805: [PATCH] astro/josm optionsng
Chris Petrik
c.petrik.sosa at gmail.com
Wed Nov 21 22:40:04 UTC 2012
>Number: 173805
>Category: ports
>Synopsis: [PATCH] astro/josm optionsng
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Nov 21 22:40:03 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Chris Petrik
>Release:
>Organization:
na
>Environment:
>Description:
OptionsNG Changes
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: josm/Makefile
===================================================================
--- josm/Makefile (revision 305494)
+++ josm/Makefile (working copy)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: josm
-# Date created: 2009/02/24
-# Whom: Gleb Smirnoff <glebius at FreeBSD.org>
-#
+# Created by: Gleb Smirnoff <glebius at FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= josm
PORTVERSION= 5485
@@ -33,7 +29,8 @@
PLIST_FILES= bin/josm ${JAVAJARDIR:C,${PREFIX}/?,,}/${DISTNAME}
-OPTIONS= WEBKIT_IMAGE "Build webkit-image (needed for Yahoo imagery)" off
+OPTIONS_DEFINE= WEBKIT_IMAGE
+WEBKIT_IMAGE_DESC= Build webkit-image (needed for Yahoo imagery)
.include <bsd.port.options.mk>
@@ -41,7 +38,7 @@
@${ECHO_CMD} "You can change limit of memory available to josm by defining"
@${ECHO_CMD} "JOSM_MEMORY_LIMIT variable in /etc/make.conf. Default is 1024 (MB)."
-.if defined(WITH_WEBKIT_IMAGE)
+.if ${PORT_OPTIONS:MWEBKIT_IMAGE}
PLIST_FILES+= bin/webkit-image
USE_QT4= corelib gui webkit moc_build
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list