403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
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/dolly/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/sysutils/dolly/Makefile
PORTNAME=	dolly
DISTVERSION=	0.58C
CATEGORIES=	sysutils net
MASTER_SITES=	http://www.cs.inf.ethz.ch/CoPs/patagonia/dolly/
DISTNAME=	${PORTNAME}.${DISTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Program to clone harddisks/partitions over a fast switched network
WWW=		http://www.cs.inf.ethz.ch/CoPs/patagonia/dolly.html

OPTIONS_DEFINE=	BZIP2 HIGHEST_COMPRESSION DOCS
OPTIONS_DEFAULT=	BZIP2 HIGHEST_COMPRESSION
BZIP2_DESC=	bzip2 instead of gzip for compressing
HIGHEST_COMPRESSION_DESC=	Highest rather than fastest compression

# Correctly depend upon bzip2 if necessary
BZIP2_EXTRA_PATCHES=	${FILESDIR}/extra-bzip2-patch-dolly.c

DOCS=		README

post-patch:
# fix comment error
	@${REINPLACE_CMD} -E \
		-e 's|use gzip|use gunzip|' \
		${WRKSRC}/dolly.c

post-patch-BZIP2-on:
# Properly reference bzip2 instead of gzip
	@${REINPLACE_CMD} -E \
		-e 's|/usr/bin/gzip|${BZIP2_CMD}|' \
		-e 's|gzip|bzip2|' \
		-e 's|/usr/bin/gunzip|${BZCAT}|' \
		${WRKSRC}/dolly.c
# Use specific FreeBSD references
# Fix spelling
	@${REINPLACE_CMD} -E \
		-e 's|gnu-zipped|bzipped|' \
		-e 's|sda([[:digit:]])|da\1|g' \
		-e 's|/sda|/da|g' \
		-e 's|sda_|da_|g' \
		-e 's|hypennormal|hyphennormal|' \
		${WRKSRC}/README
	@${REINPLACE_CMD} -E \
		-e 's|gunzip|bzcat|' \
		-e 's|\.gz|\.bz2|g' \
		${WRKSRC}/*

post-patch-HIGHEST_COMPRESSION-on:
# Highest compression possible
	@${REINPLACE_CMD} -E \
		-e 's|-cf|-9cf|' \
		${WRKSRC}/dolly.c

do-configure:
# C{C,FLAGS} safeness
	@${REINPLACE_CMD} -E \
		-e 's|^(CC[[:space:]]*=).*$$|\1${CC}|' \
		-e 's|^(CFLAGS[[:space:]]*=.*)$$|\1 ${CFLAGS}|' \
		${BUILD_WRKSRC}/${MAKEFILE}

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/

do-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for _file in ${DOCS}
	@${INSTALL_DATA} ${WRKSRC}/${_file} ${STAGEDIR}${DOCSDIR}/
.endfor

.include <bsd.port.mk>

Youez - 2016 - github.com/yon3zu
LinuXploit