blob: ba6746867525b76a331ebf13d107ed807a046024 (
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
33
34
35
36
37
38
|
PORTNAME= find-cursor
DISTVERSIONPREFIX= v
DISTVERSION= 1.6
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= Carpetsmoker
USE_XORG= x11 xdamage xext xfixes xrender
MAKE_ARGS= MANPREFIX=${MANPREFIX}/man
PLIST_FILES= bin/${PORTNAME} \
man/man1/${PORTNAME}.1.gz
PORTDOCS= README.markdown screenshot.gif
OPTIONS_DEFINE= DOCS
post-configure:
${REINPLACE_CMD} 's/`git tag | tail -1 | tr -d v`/${PORTVERSION}/' \
${WRKSRC}/Makefile
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>
|