# $FreeBSD: head/x11/find-cursor/Makefile 533262 2020-04-28 18:13:56Z 0mp $ 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