ports/70717: [UPDATE] Enable OPTIONS feature of ports/x11/xbindkeys

Ying-Chieh Chen yinjieh at csie.nctu.edu.tw
Fri Aug 20 15:10:23 UTC 2004


>Number:         70717
>Category:       ports
>Synopsis:       [UPDATE] Enable OPTIONS feature of ports/x11/xbindkeys
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 20 15:10:23 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Ying-Chieh Chen
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
NCTU CSIE
>Environment:
System: FreeBSD alumni 4.10-STABLE FreeBSD 4.10-STABLE #25: Fri Jul 2 07:46:15 CST 2004 wcpan at ccduty:/bsdhome/bsd4/obj/bsdhome/bsd4/src/sys/CSIEBSD i386


	
>Description:

	Enable OPTIONS feature of ports/x11/xbindkeys

>How-To-Repeat:

	Apply the patch.

>Fix:

	

--- xbindkeys.patch begins here ---
diff -ruN /usr/ports/x11/xbindkeys/Makefile xbindkeys/Makefile
--- /usr/ports/x11/xbindkeys/Makefile	Wed Apr 14 19:53:44 2004
+++ xbindkeys/Makefile	Fri Aug 20 19:25:13 2004
@@ -25,6 +25,11 @@
 
 WISH=		${LOCALBASE}/bin/wish8.4
 
+OPTIONS=	GUILE "Guile support" off \
+		TCLTK "Tcl/Tk support" off
+
+.include <bsd.port.pre.mk>
+
 .if defined(WITH_GUILE)
 LIB_DEPENDS+=	guile.15:${PORTSDIR}/lang/guile
 .else
@@ -40,14 +45,6 @@
 PLIST_SUB+=	TCLTK="@comment "
 .endif
 
-pre-everything::
-	@${ECHO_MSG} ""
-	@${ECHO_MSG} "XbindKeys has the following tunable options:"
-	@${ECHO_MSG} ""
-	@${ECHO_MSG} "	WITH_GUILE=yes			Turns on Guile support"
-	@${ECHO_MSG} "	WITH_TCLTK=yes			Turns on Tcl/Tk support"
-	@${ECHO_MSG} ""
-
 post-patch:
 	@${REINPLACE_CMD} -e 's| wish | ${WISH} |g' ${WRKSRC}/xbindkeys_show
 
@@ -57,4 +54,4 @@
 	${INSTALL_DATA} ${WRKSRC}/xbindkeysrc ${EXAMPLESDIR}
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- xbindkeys.patch ends here ---


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



More information about the freebsd-ports-bugs mailing list