Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Mar 2006 18:26:36 +0200
From:      "Ion-Mihai "IOnut" Tetcu" <itetcu@people.tecnik93.com>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/94788: [PATCH] x11/xkbset: OPTIONify
Message-ID:  <1142958396.95577@it.buh.tecnik93.com>
Resent-Message-ID: <200603211630.k2LGURHI014812@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         94788
>Category:       ports
>Synopsis:       [PATCH] x11/xkbset: OPTIONify
>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:   Tue Mar 21 16:30:27 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Ion-Mihai "IOnut" Tetcu
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
Tecnik'93 
>Environment:


System: FreeBSD 6.1-PRERELEASE #0: Fri Feb 24 07:01:54 EET 2006
    root@it.buh.tecnik93.com:/usr/obj/usr/src/sys/IT6_B_P



>Description:


Let users know we can also build / install a GUI for this port.


Part of:			"OPTIONs are good, let's use them" effort.


>How-To-Repeat:





>Fix:


--- xkbset.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/x11/xkbset/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile	24 Oct 2003 12:05:02 -0000	1.5
+++ Makefile	21 Mar 2006 16:24:16 -0000
@@ -16,13 +16,16 @@
 
 MAN1=			xkbset.1
 USE_X_PREFIX=		yes
-USE_REINPLACE=		yes
 USE_PERL5_BUILD=	yes
 
 MAKE_ARGS=		X11BASE="${X11BASE}" X11PREFIX="${PREFIX}" \
 			INSTALL_DATA="${INSTALL_DATA}" \
 			INSTALL_PROGRAM="${INSTALL_PROGRAM}"
 
+OPTIONS=		GUI "Install Tk GUI" off
+
+.include <bsd.port.pre.mk>
+
 .if defined(WITH_GUI)
 RUN_DEPENDS=		${SITE_PERL}/${PERL_ARCH}/Tk.pm:${PORTSDIR}/x11-toolkits/p5-Tk
 PLIST_SUB=		GUI=""
@@ -35,4 +38,4 @@
 post-build:
 	${REINPLACE_CMD} "s%#!/usr/bin/perl%#!${PERL}%" ${WRKSRC}/xkbset-gui
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- xkbset.diff ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1142958396.95577>