svn commit: r496843 - head/sysutils/mapdir

Fernando Apesteguía fernape at FreeBSD.org
Mon Mar 25 17:20:05 UTC 2019


Author: fernape
Date: Mon Mar 25 17:20:04 2019
New Revision: 496843
URL: https://svnweb.freebsd.org/changeset/ports/496843

Log:
  sysutils/mapdir: update to 1.2
  
  PR:	236764
  Submitted by:	bsd at olivermahmoudi.com (maintainer)

Modified:
  head/sysutils/mapdir/Makefile
  head/sysutils/mapdir/distinfo

Modified: head/sysutils/mapdir/Makefile
==============================================================================
--- head/sysutils/mapdir/Makefile	Mon Mar 25 17:15:59 2019	(r496842)
+++ head/sysutils/mapdir/Makefile	Mon Mar 25 17:20:04 2019	(r496843)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	mapdir
-PORTVERSION=	1.0
+PORTVERSION=	1.2
 CATEGORIES=	sysutils
 MASTER_SITES=	https://www.olivermahmoudi.com/files/
 
@@ -19,20 +19,17 @@ NO_BUILD=	yes
 PLIST_FILES=	bin/mapdir \
 		man/man1/mapdir.1.gz
 
-WRKSRC=		${WRKDIR}/${PORTNAME}
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|/bin/sh|${LOCALBASE}/bin/bash|' \
-		-e 's|md5sum|md5|g' \
-		-e 's|sha256sum|sha256|g' \
-		-e 's|print $$1|print $$4|g' \
 		${WRKSRC}/${PORTNAME}
 	@${REINPLACE_CMD} -e 's|md5sum|md5|g' \
 		-e 's|sha256sum|sha256|g' \
 		${WRKSRC}/${PORTNAME}.1
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/mapdir ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/mapdir.1 ${STAGEDIR}${PREFIX}/man/man1
+	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1
 
 .include <bsd.port.mk>

Modified: head/sysutils/mapdir/distinfo
==============================================================================
--- head/sysutils/mapdir/distinfo	Mon Mar 25 17:15:59 2019	(r496842)
+++ head/sysutils/mapdir/distinfo	Mon Mar 25 17:20:04 2019	(r496843)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1521914328
-SHA256 (mapdir-1.0.tar.gz) = 44380a69af60eec22b95dcbafcf01d1eb676d222020ce4bb3b4e5f3e0e367ad5
-SIZE (mapdir-1.0.tar.gz) = 4534
+TIMESTAMP = 1551587690
+SHA256 (mapdir-1.2.tar.gz) = d5078e6530af9eb005e5fbe212705bd10c0757ae9b76fa07a5087639d003b90f
+SIZE (mapdir-1.2.tar.gz) = 7366


More information about the svn-ports-all mailing list