summaryrefslogtreecommitdiff
path: root/x11/j4-dmenu-desktop/Makefile
blob: 4e797b7846a549469bceafd747f968c19198a47e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

PORTNAME=	j4-dmenu-desktop
DISTVERSIONPREFIX=	r
DISTVERSION=	2.18
CATEGORIES=	x11

MAINTAINER=	0mp@FreeBSD.org
COMMENT=	Fast desktop menu (i3-dmenu-desktop replacement)

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		cmake compiler:c++11-lang
USE_GITHUB=	yes
GH_ACCOUNT=	enkore

CMAKE_OFF=	WITH_TESTS

PLIST_FILES=	bin/j4-dmenu-desktop \
		share/man/man1/j4-dmenu-desktop.1.gz
PORTDOCS=	README.md

OPTIONS_DEFINE=	DOCS

post-install:
	${INSTALL_MAN} ${WRKSRC}/j4-dmenu-desktop.1 ${STAGEDIR}${MAN1PREFIX}/share/man/man1/

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_MAN} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>