mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-21 08:42:23 +00:00
96ef6dd7f1
PR: 236764 Submitted by: bsd@olivermahmoudi.com (maintainer)
36 lines
786 B
Makefile
36 lines
786 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= mapdir
|
|
PORTVERSION= 1.2
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= https://www.olivermahmoudi.com/files/
|
|
|
|
MAINTAINER= fbsd@olivermahmoudi.com
|
|
COMMENT= Tool to map directory trees
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/bin/bash:shells/bash
|
|
|
|
NO_ARCH= yes
|
|
NO_BUILD= yes
|
|
|
|
PLIST_FILES= bin/mapdir \
|
|
man/man1/mapdir.1.gz
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/bin/sh|${LOCALBASE}/bin/bash|' \
|
|
${WRKSRC}/${PORTNAME}
|
|
@${REINPLACE_CMD} -e 's|md5sum|md5|g' \
|
|
-e 's|sha256sum|sha256|g' \
|
|
${WRKSRC}/${PORTNAME}.1
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|