From owner-svn-ports-all@FreeBSD.ORG Mon Jan 6 20:47:03 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1428C62E; Mon, 6 Jan 2014 20:47:03 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F40711869; Mon, 6 Jan 2014 20:47:02 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s06Kl2sc034617; Mon, 6 Jan 2014 20:47:02 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s06Kl20K034616; Mon, 6 Jan 2014 20:47:02 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201401062047.s06Kl20K034616@svn.freebsd.org> From: Baptiste Daroussin Date: Mon, 6 Jan 2014 20:47:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r338929 - head/x11/dmenu X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jan 2014 20:47:03 -0000 Author: bapt Date: Mon Jan 6 20:47:02 2014 New Revision: 338929 URL: http://svnweb.freebsd.org/changeset/ports/338929 Log: Support stage Strip binaries Modified: head/x11/dmenu/Makefile Modified: head/x11/dmenu/Makefile ============================================================================== --- head/x11/dmenu/Makefile Mon Jan 6 20:00:46 2014 (r338928) +++ head/x11/dmenu/Makefile Mon Jan 6 20:47:02 2014 (r338929) @@ -15,36 +15,29 @@ MAINTAINER= schot@a-eskwadraat.nl COMMENT= X11 menu application designed for the dwm window manager LICENSE= MIT -LICENSE_FILE= ${WRKSRC}/LICENSE OPTIONS_DEFINE= XINERAMA XFT OPTIONS_DEFAULT= XINERAMA USE_XORG= x11 -MAN1= dmenu.1 stest.1 -PLIST_FILES= bin/dmenu bin/dmenu_run bin/stest +PLIST_FILES= bin/dmenu bin/dmenu_run bin/stest \ + man/man1/dmenu.1.gz man/man1/stest.1.gz -NO_STAGE= yes -.include - -.if ${PORT_OPTIONS:MXINERAMA} -USE_XORG+= xinerama -.endif - -.if ${PORT_OPTIONS:MXFT} -USE_XORG+= xft -PATCHFILES+= ${PORTNAME}-${PORTVERSION}-xft.diff -.endif +XINERAMA_USE= XORG=xinerama +XFT_USE= XORG=xft +XFT_PATCHFILES= ${PORTNAME}-${PORTVERSION}-xft.diff post-patch: @${GREP} -Rl '%%[[:alpha:]]\+%%' ${WRKSRC}|${XARGS} ${REINPLACE_CMD} \ -e "s,%%PREFIX%%,${PREFIX},g" \ -e "s,%%LOCALBASE%%,${LOCALBASE},g" \ -e "s,%%MANPREFIX%%,${MANPREFIX},g" -.if ! ${PORT_OPTIONS:MXINERAMA} @${REINPLACE_CMD} -e 's,$${XINERAMALIBS},,g' \ -e 's,$${XINERAMAFLAGS},,g' ${WRKSRC}/config.mk -.endif + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dmenu \ + ${STAGEDIR}${PREFIX}/bin/stest .include