aboutsummaryrefslogtreecommitdiffstats
path: root/x11/find-cursor
diff options
context:
space:
mode:
author0mp <0mp@FreeBSD.org>2019-03-14 18:52:49 +0800
committer0mp <0mp@FreeBSD.org>2019-03-14 18:52:49 +0800
commit625601d77baf51416964308675eabf1085da9242 (patch)
treef297d46420c2cf9d4440c7625d436dffbfd81479 /x11/find-cursor
parent3efca322a536797fd125221c15e85d4fe04d4967 (diff)
downloadfreebsd-ports-gnome-625601d77baf51416964308675eabf1085da9242.tar.gz
freebsd-ports-gnome-625601d77baf51416964308675eabf1085da9242.tar.zst
freebsd-ports-gnome-625601d77baf51416964308675eabf1085da9242.zip
x11/find-cursor: Update to v1.2
Upstream made the building process more portable and added a manual page. Reviewed by: mat Approved by: mat (mentor) Differential Revision: https://reviews.freebsd.org/D19466
Diffstat (limited to 'x11/find-cursor')
-rw-r--r--x11/find-cursor/Makefile14
-rw-r--r--x11/find-cursor/distinfo6
2 files changed, 12 insertions, 8 deletions
diff --git a/x11/find-cursor/Makefile b/x11/find-cursor/Makefile
index 50b33804e331..9e597e76299e 100644
--- a/x11/find-cursor/Makefile
+++ b/x11/find-cursor/Makefile
@@ -2,7 +2,7 @@
PORTNAME= find-cursor
DISTVERSIONPREFIX= v
-DISTVERSION= 1.1
+DISTVERSION= 1.2
CATEGORIES= x11
MAINTAINER= 0mp@FreeBSD.org
@@ -16,17 +16,21 @@ USE_GITHUB= yes
GH_ACCOUNT= Carpetsmoker
USE_XORG= x11 xdamage xext xfixes xrender
-PLIST_FILES= bin/${PORTNAME}
+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} -E 's/(.CC.)/\1 $${LDFLAGS}/' ${WRKSRC}/Makefile
+ ${REINPLACE_CMD} 's/`git tag | tail -1 | tr -d v`/${PORTVERSION}/' \
+ ${WRKSRC}/Makefile
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/x11/find-cursor/distinfo b/x11/find-cursor/distinfo
index 241a01efe114..c69b0c3e17d4 100644
--- a/x11/find-cursor/distinfo
+++ b/x11/find-cursor/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1551700730
-SHA256 (Carpetsmoker-find-cursor-v1.1_GH0.tar.gz) = 02bef496b99956440b40ade5a6bf77706b298d6af6e7a1260d4a71729e343f02
-SIZE (Carpetsmoker-find-cursor-v1.1_GH0.tar.gz) = 73554
+TIMESTAMP = 1551794068
+SHA256 (Carpetsmoker-find-cursor-v1.2_GH0.tar.gz) = 124bb422d608333edbca2ca9f981e5a3a55a4379235b3a2c93d7b80e07de21c6
+SIZE (Carpetsmoker-find-cursor-v1.2_GH0.tar.gz) = 74330