# $FreeBSD$ PORTNAME= find-cursor DISTVERSIONPREFIX= v DISTVERSION= 1.4 CATEGORIES= x11 MAINTAINER= 0mp@FreeBSD.org COMMENT= Simple XLib program to highlight the cursor position LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= localbase:ldflags 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