From owner-svn-ports-all@freebsd.org Tue Dec 22 16:21:34 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A7220A4F834; Tue, 22 Dec 2015 16:21:34 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5E4A3175E; Tue, 22 Dec 2015 16:21:34 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tBMGLXOp068291; Tue, 22 Dec 2015 16:21:33 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tBMGLX97068290; Tue, 22 Dec 2015 16:21:33 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201512221621.tBMGLX97068290@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Tue, 22 Dec 2015 16:21:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r404248 - head/x11/lemonbar 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.20 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: Tue, 22 Dec 2015 16:21:34 -0000 Author: marino Date: Tue Dec 22 16:21:33 2015 New Revision: 404248 URL: https://svnweb.freebsd.org/changeset/ports/404248 Log: x11/lemonbar: Fix man page, steamline makefile, fix build for FreeBSD 9 PR: 205512 Submitted by: maintainer Modified: head/x11/lemonbar/Makefile Modified: head/x11/lemonbar/Makefile ============================================================================== --- head/x11/lemonbar/Makefile Tue Dec 22 15:54:35 2015 (r404247) +++ head/x11/lemonbar/Makefile Tue Dec 22 16:21:33 2015 (r404248) @@ -4,6 +4,7 @@ PORTNAME= lemonbar DISTVERSIONPREFIX= v DISTVERSION= 1.1 +PORTREVISION= 1 CATEGORIES= x11 MAINTAINER= evgeni.dimitrov@gmail.com @@ -12,7 +13,7 @@ COMMENT= Lightweight xcb based bar LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= gmake perl5 +USES= compiler:c11 gmake perl5 USE_PERL5= build USE_XORG= xcb @@ -20,25 +21,24 @@ USE_GITHUB= yes GH_ACCOUNT= LemonBoy GH_PROJECT= bar -CFLAGS+= -I${LOCALBASE}/include -DVERSION=${DISTVERSION} +CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib PLIST_FILES= bin/lemonbar \ man/man1/lemonbar.1.gz post-patch: - ${REINPLACE_CMD} -e '/STRIP/d' -e '/^CC.*=/d' -e '/^CFLAGS.*=/d' \ - -e 's/^LDFLAGS.*=\(.*\)/LDFLAGS+=\1/' ${WRKSRC}/Makefile + ${REINPLACE_CMD} -e '/^CC.*=/d' -e '/^CFLAGS.*=/s/-Os//' \ + ${WRKSRC}/Makefile post-build: - ${LOCALBASE}/bin/pod2man --section=1 --name=bar-aint-recursive \ - --center="bar-aint-recursive manual" \ - --release="bar-aint-recursive ${PORTVERSION}" \ - ${WRKSRC}/README.pod > ${WRKSRC}/bar.1 + ${LOCALBASE}/bin/pod2man --section=1 --name=lemonbar \ + --center="lemonbar manual" \ + --release="lemonbar ${PORTVERSION}" \ + ${WRKSRC}/README.pod > ${WRKSRC}/lemonbar.1 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/lemonbar ${STAGEDIR}${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/bar.1 \ - ${STAGEDIR}${PREFIX}/man/man1/lemonbar.1 + ${INSTALL_MAN} ${WRKSRC}/lemonbar.1 ${STAGEDIR}${PREFIX}/man/man1 .include