diff options
author | marino <marino@FreeBSD.org> | 2015-12-23 00:21:33 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2015-12-23 00:21:33 +0800 |
commit | a04b5e61eeaf04c4a91f06140f2d0d0986d61cdb (patch) | |
tree | 1f3aead8ddf2e8a93e4595012bcaede509d48b21 /x11/lemonbar | |
parent | c3e82e5912e86486659617a928b447e68096eff1 (diff) | |
download | freebsd-ports-gnome-a04b5e61eeaf04c4a91f06140f2d0d0986d61cdb.tar.gz freebsd-ports-gnome-a04b5e61eeaf04c4a91f06140f2d0d0986d61cdb.tar.zst freebsd-ports-gnome-a04b5e61eeaf04c4a91f06140f2d0d0986d61cdb.zip |
x11/lemonbar: Fix man page, steamline makefile, fix build for FreeBSD 9
PR: 205512
Submitted by: maintainer
Diffstat (limited to 'x11/lemonbar')
-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> |