403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.238
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/sysutils/mapdir/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/sysutils/mapdir/Makefile
PORTNAME=	mapdir
PORTVERSION=	1.2.1
CATEGORIES=	sysutils
MASTER_SITES=	https://www.olivermahmoudi.com/files/

MAINTAINER=	fbsd@olivermahmoudi.com
COMMENT=	Tool to map directory trees
WWW=		https://www.olivermahmoudi.com/programming/mapping-dirs

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

RUN_DEPENDS=	${LOCALBASE}/bin/bash:shells/bash

NO_ARCH=	yes
NO_BUILD=	yes

PLIST_FILES=	bin/mapdir \
		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>

Youez - 2016 - github.com/yon3zu
LinuXploit