aboutsummaryrefslogtreecommitdiff
path: root/x11/find-cursor/Makefile
blob: 3db710a08ddca0cb67f0043a0e7654ce1f340400 (plain) (blame)
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
PORTNAME=	find-cursor
DISTVERSIONPREFIX=	v
DISTVERSION=	1.8
CATEGORIES=	x11

MAINTAINER=	0mp@FreeBSD.org
COMMENT=	Simple XLib program to highlight the cursor position

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		localbase:ldflags xorg
USE_GITHUB=	yes
GH_ACCOUNT=	arp242
USE_XORG=	x11 xdamage xext xfixes xrender

PLIST_FILES=	bin/${PORTNAME}

PORTDOCS=	README.md screenshot.gif

OPTIONS_DEFINE=	DOCS

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>