# Created by: Timothy Beyer # $FreeBSD: head/net/openrsync/Makefile 567085 2021-03-03 14:11:51Z rhurlin $ PORTNAME= openrsync PORTVERSION= 0.0.20200401 CATEGORIES= net MAINTAINER= beyert@cs.ucr.edu COMMENT= Implementation of rsync with a BSD (ISC) license LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/LICENSE.md USE_GITHUB= yes GH_ACCOUNT= kristapsdz GH_TAGNAME= 8b61216 HAS_CONFIGURE= yes PLIST_FILES= bin/openrsync man/man1/openrsync.1.gz man/man5/openrsync.5.gz \ man/man5/openrsyncd.5.gz pre-build: .for SUFFIX in rsync.5 rsyncd.5 ${MV} ${WRKSRC}/${SUFFIX} ${WRKSRC}/open${SUFFIX} ${REINPLACE_CMD} 's|Nm rsync|Nm openrsync|g' ${WRKSRC}/open${SUFFIX} ${REINPLACE_CMD} 's|rsync 5|openrsync 5|ig' ${WRKSRC}/open${SUFFIX} ${REINPLACE_CMD} 's|rsyncd 5|openrsyncd 5|ig' ${WRKSRC}/open${SUFFIX} .endfor ${REINPLACE_CMD} 's|rsync.5|openrsync.5|g' ${WRKSRC}/Makefile ${REINPLACE_CMD} 's|rsyncd.5|openrsyncd.5|g' ${WRKSRC}/Makefile ${REINPLACE_CMD} 's|rsync 5|openrsync 5|ig' ${WRKSRC}/openrsync.1 ${REINPLACE_CMD} 's|rsyncd 5|openrsyncd 5|ig' ${WRKSRC}/openrsync.1 .include