diff options
Diffstat (limited to 'x11')
-rw-r--r-- | x11/lemonbar/Makefile | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/x11/lemonbar/Makefile b/x11/lemonbar/Makefile index 2df709fcde6b..b3947b0bc74b 100644 --- a/x11/lemonbar/Makefile +++ b/x11/lemonbar/Makefile @@ -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 <bsd.port.mk> |