Index: head/x11/Makefile =================================================================== --- head/x11/Makefile +++ head/x11/Makefile @@ -63,6 +63,7 @@ SUBDIR += evilvte SUBDIR += fbdesk SUBDIR += fbpanel + SUBDIR += find-cursor SUBDIR += fireflies SUBDIR += florence SUBDIR += flruler Index: head/x11/find-cursor/Makefile =================================================================== --- head/x11/find-cursor/Makefile +++ head/x11/find-cursor/Makefile @@ -0,0 +1,35 @@ +# $FreeBSD$ + +PORTNAME= find-cursor +DISTVERSIONPREFIX= v +DISTVERSION= 1.1 +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 + +PLIST_FILES= bin/${PORTNAME} + +PORTDOCS= README.markdown screenshot.gif + +OPTIONS_DEFINE= DOCS + +post-configure: + ${REINPLACE_CMD} -E 's/(.CC.)/\1 $${LDFLAGS}/' ${WRKSRC}/Makefile + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} + +.include Index: head/x11/find-cursor/distinfo =================================================================== --- head/x11/find-cursor/distinfo +++ head/x11/find-cursor/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1551700730 +SHA256 (Carpetsmoker-find-cursor-v1.1_GH0.tar.gz) = 02bef496b99956440b40ade5a6bf77706b298d6af6e7a1260d4a71729e343f02 +SIZE (Carpetsmoker-find-cursor-v1.1_GH0.tar.gz) = 73554 Index: head/x11/find-cursor/pkg-descr =================================================================== --- head/x11/find-cursor/pkg-descr +++ head/x11/find-cursor/pkg-descr @@ -0,0 +1,4 @@ +Simple XLib program to highlight the cursor position. This is similar to the +feature found in Windows XP (and possibly later?). + +WWW: https://github.com/Carpetsmoker/find-cursor