mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
sysutils/mapdir: update to 1.2
PR: 236764 Submitted by: bsd@olivermahmoudi.com (maintainer)
This commit is contained in:
parent
b55fd4595c
commit
96ef6dd7f1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=496843
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user