freebsd-ports/x11/lemonbar/Makefile
Gerald Pfeifer e59c88cece Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
2017-09-10 20:55:38 +00:00

45 lines
961 B
Makefile

# Created by: Evgeni Dimitrov <evgeni.dimitrov@gmail.com>
# $FreeBSD$
PORTNAME= lemonbar
PORTVERSION= 1.2
PORTREVISION= 3
DISTVERSIONPREFIX=v
CATEGORIES= x11
MAINTAINER= evgeni.dimitrov@gmail.com
COMMENT= Lightweight xcb based bar
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= compiler:c11 gmake perl5
USE_PERL5= build
USE_XORG= xcb
USE_GITHUB= yes
GH_ACCOUNT= LemonBoy
GH_PROJECT= bar
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PLIST_FILES= bin/lemonbar \
man/man1/lemonbar.1.gz
post-patch:
${REINPLACE_CMD} -e '/^CC.*=/d' -e '/^CFLAGS.*=/s/-Os//' \
${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>