diff options
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/mapdir/Makefile | 13 | ||||
-rw-r--r-- | sysutils/mapdir/distinfo | 6 |
2 files changed, 14 insertions, 5 deletions
diff --git a/sysutils/mapdir/Makefile b/sysutils/mapdir/Makefile index 1c58dcaefe21..3608e70021a5 100644 --- a/sysutils/mapdir/Makefile +++ b/sysutils/mapdir/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= mapdir -PORTVERSION= 1.2 +PORTVERSION= 1.2.1 CATEGORIES= sysutils MASTER_SITES= https://www.olivermahmoudi.com/files/ @@ -17,19 +17,28 @@ NO_ARCH= yes NO_BUILD= yes PLIST_FILES= bin/mapdir \ - man/man1/mapdir.1.gz + bin/mapdircmp \ + man/man1/mapdir.1.gz \ + man/man1/mapdircmp.1.gz 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 + @${REINPLACE_CMD} -e 's|/bin/sh|${LOCALBASE}/bin/bash|' \ + ${WRKSRC}/${PORTNAME}cmp do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}cmp ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}cmp.1 ${STAGEDIR}${PREFIX}/man/man1 .include <bsd.port.mk> diff --git a/sysutils/mapdir/distinfo b/sysutils/mapdir/distinfo index 92c5c5044fee..f707defa6bb3 100644 --- a/sysutils/mapdir/distinfo +++ b/sysutils/mapdir/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1551587690 -SHA256 (mapdir-1.2.tar.gz) = d5078e6530af9eb005e5fbe212705bd10c0757ae9b76fa07a5087639d003b90f -SIZE (mapdir-1.2.tar.gz) = 7366 +TIMESTAMP = 1591950794 +SHA256 (mapdir-1.2.1.tar.gz) = 3d18ab2f7fbd94fcd20c4a7d2b548b6235470c0b9cb92be499993e4a58f8db89 +SIZE (mapdir-1.2.1.tar.gz) = 8863 |