Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Sep 2002 10:04:08 -0700 (PDT)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/42894: Update port: x11/xbindkeys
Message-ID:  <200209171704.g8HH48LG025435@www.freebsd.org>

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

>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 <bsd.port.mk>

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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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