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

Ying-Chieh Chen yinjieh at csie.nctu.edu.tw
Fri Aug 20 08:01:21 PDT 2004


>Submitter-Id:	current-users
>Originator:	Ying-Chieh Chen
>Organization:	NCTU CSIE
>Confidential:	no
>Synopsis:	[UPDATE] Enable OPTIONS feature of ports/x11/xbindkeys
>Severity:	non-critical
>Priority:	low
>Category:	ports
>Class:		update
>Release:	FreeBSD 4.10-STABLE i386
>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 ---




More information about the freebsd-ports mailing list