Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Mar 2019 10:52:49 +0000 (UTC)
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r495697 - head/x11/find-cursor
Message-ID:  <201903141052.x2EAqn20095857@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: 0mp
Date: Thu Mar 14 10:52:49 2019
New Revision: 495697
URL: https://svnweb.freebsd.org/changeset/ports/495697

Log:
  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

Modified:
  head/x11/find-cursor/Makefile
  head/x11/find-cursor/distinfo

Modified: head/x11/find-cursor/Makefile
==============================================================================
--- head/x11/find-cursor/Makefile	Thu Mar 14 10:35:25 2019	(r495696)
+++ head/x11/find-cursor/Makefile	Thu Mar 14 10:52:49 2019	(r495697)
@@ -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}

Modified: head/x11/find-cursor/distinfo
==============================================================================
--- head/x11/find-cursor/distinfo	Thu Mar 14 10:35:25 2019	(r495696)
+++ head/x11/find-cursor/distinfo	Thu Mar 14 10:52:49 2019	(r495697)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903141052.x2EAqn20095857>