09f9633cb6
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which has now moved from GCC 6 to GCC 7 by default. This includes ports - featuring USE_GCC=yes or USE_GCC=any, - featuring USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and those - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x, c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib. PR: 222542
45 lines
1.0 KiB
Makefile
45 lines
1.0 KiB
Makefile
# Created by: Evgeni Dimitrov <evgeni.dimitrov@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= lemonbar
|
|
DISTVERSIONPREFIX=v
|
|
DISTVERSION= 1.3
|
|
PORTREVISION= 1
|
|
CATEGORIES= x11
|
|
|
|
MAINTAINER= dg@syrec.org
|
|
COMMENT= Lightweight xcb based bar
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= compiler:c11 gmake localbase:ldflags perl5
|
|
USE_PERL5= build
|
|
USE_XORG= xcb
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= LemonBoy
|
|
GH_PROJECT= bar
|
|
|
|
PLIST_FILES= bin/lemonbar \
|
|
man/man1/lemonbar.1.gz
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e '/^CC.*=/d' -e '/^CFLAGS.*=/s/-Os//' \
|
|
${WRKSRC}/Makefile
|
|
# Upstream PR: https://github.com/LemonBoy/bar/pull/210
|
|
${REINPLACE_CMD} -e '/^VERSION/s/1\.2/1.3/' \
|
|
${WRKSRC}/Makefile
|
|
|
|
post-build:
|
|
${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}/lemonbar.1 ${STAGEDIR}${PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|