From owner-freebsd-ports Tue Sep 17 10:30:38 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 54B6437B423 for ; Tue, 17 Sep 2002 10:30:14 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C374443E6A for ; Tue, 17 Sep 2002 10:30:13 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g8HHUCCo017840 for ; Tue, 17 Sep 2002 10:30:12 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g8HHUBwU017831; Tue, 17 Sep 2002 10:30:11 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E1C6237B40B for ; Tue, 17 Sep 2002 10:24:19 -0700 (PDT) Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 63AEA440B8 for ; Tue, 17 Sep 2002 10:04:08 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g8HH48OT025436 for ; Tue, 17 Sep 2002 10:04:08 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.4/8.12.4/Submit) id g8HH48LG025435; Tue, 17 Sep 2002 10:04:08 -0700 (PDT) Message-Id: <200209171704.g8HH48LG025435@www.freebsd.org> Date: Tue, 17 Sep 2002 10:04:08 -0700 (PDT) From: KATO Tsuguru To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/42894: Update port: x11/xbindkeys Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 42894 >Category: ports >Synopsis: Update port: x11/xbindkeys >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Sep 17 10:30:11 PDT 2002 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: 4.6.2-RELEASE i386 >Organization: >Environment: >Description: - Support CFLAGS/CXXFLAGS properly - ECHO -> ECHO_MSG >How-To-Repeat: >Fix: diff -urN /usr/ports/x11/xbindkeys/Makefile x11/xbindkeys/Makefile --- /usr/ports/x11/xbindkeys/Makefile Tue Sep 10 20:33:20 2002 +++ x11/xbindkeys/Makefile Tue Sep 17 20:29:00 2002 @@ -8,45 +8,44 @@ PORTNAME= xbindkeys PORTVERSION= 1.5.5 +PORTREVISION= 1 CATEGORIES= x11 MASTER_SITES= http://hocwp.free.fr/xbindkeys/ MAINTAINER= ports@FreeBSD.org +USE_XLIB= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \ + LDFLAGS="-L${X11BASE}/lib" INSTALL_TARGET= install-binPROGRAMS +MAN1= xbindkeys.1 + .if defined(WITH_GUI) -RUN_DEPENDS= wish:${PORTSDIR}/x11-toolkits/tk83 +RUN_DEPENDS= wish8.3:${PORTSDIR}/x11-toolkits/tk83 +MAN1+= xbindkeys_show.1 PLIST_SUB+= WITH_GUI="" SCRIPTS_ENV+= WITH_GUI="YES" .else PLIST_SUB+= WITH_GUI="@comment " .endif -USE_XLIB= yes -GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${X11BASE}/include" - -MAN1= xbindkeys.1 -.if defined(WITH_GUI) -MAN1+= xbindkeys_show.1 -.endif - -pre-fetch: +pre-everything:: .if !defined(WITH_GUI) - @${ECHO} "" - @${ECHO} " Define WITH_GUI to install xbindkeys_show (requires Tk)" - @${ECHO} "" + @${ECHO_MSG} "" + @${ECHO_MSG} " Define WITH_GUI to install xbindkeys_show (requires Tk)" + @${ECHO_MSG} "" .endif post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/xbindkeysrc ${EXAMPLESDIR} -.endif ${INSTALL_MAN} ${WRKSRC}/xbindkeys.1 ${MANPREFIX}/man/man1 .if defined(WITH_GUI) ${INSTALL_MAN} ${WRKSRC}/xbindkeys_show.1 ${MANPREFIX}/man/man1 +.endif +.if !defined(NOPORTDOCS) + @${MKDIR} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/xbindkeysrc ${EXAMPLESDIR} .endif .include >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message