diff --git a/sysutils/mapdir/Makefile b/sysutils/mapdir/Makefile index 2d35f13fee1b..1c58dcaefe21 100644 --- a/sysutils/mapdir/Makefile +++ b/sysutils/mapdir/Makefile @@ -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 diff --git a/sysutils/mapdir/distinfo b/sysutils/mapdir/distinfo index 2f64b0a89257..92c5c5044fee 100644 --- a/sysutils/mapdir/distinfo +++ b/sysutils/mapdir/distinfo @@ -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