freebsd-ports/sysutils/ssync/Makefile
Jimmy Olgeni fa3a17c064 Remove indefinite articles and trailing periods from COMMENT, plus
minor COMMENT typos and surrounding whitespace fixes. A few Makefiles
where not included as they contain Latin-1 characters that break
the Phabricator workflow. Categories P-S.

CR:		D422
Approved by:	portmgr (bapt)
2014-07-17 08:57:51 +00:00

38 lines
1.2 KiB
Makefile

# Created by: Andrew Shevtsov <nyxo@dnuc.polyn.kiae.su>
# $FreeBSD$
PORTNAME= ssync
PORTVERSION= 2.3
PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= http://linuxfocus.org/~guido/
MAINTAINER= samm@os2.kiev.ua
COMMENT= Minimalistic tool for keeping filesystems in synchronization
USES= gmake
ALL_TARGET= default
MAKEFILE= makefile
post-patch:
@${REINPLACE_CMD} -e 's@/etc/init.d/ssyncd@\$$0@g' ${WRKSRC}/ssyncd.init
@${REINPLACE_CMD} -e "s@/etc@${PREFIX}/etc@g;s@/usr/sbin@${PREFIX}/sbin@g;" \
${WRKSRC}/ssyncd.init ${WRKSRC}/ssyncd.conf ${WRKSRC}/daemon.c \
${WRKSRC}/ssync.man
@${REINPLACE_CMD} -e "s@FLAGS=@FLAGS+=@g" -e "/CC=gcc/d" -e "/LD=gcc/d" \
-e 's@$$(LD)@$$(CC)@' ${WRKSRC}/makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ssync ${STAGEDIR}${PREFIX}/bin/ssync
${INSTALL_PROGRAM} ${WRKSRC}/ssyncd ${STAGEDIR}${PREFIX}/sbin/ssyncd
${INSTALL_DATA} ${WRKSRC}/ssyncd.conf \
${STAGEDIR}${PREFIX}/etc/ssyncd.conf.sample
${INSTALL_DATA} ${WRKSRC}/ssyncd.work \
${STAGEDIR}${PREFIX}/etc/ssyncd.work.sample
${INSTALL_SCRIPT} ${WRKSRC}/ssyncd.init \
${STAGEDIR}${PREFIX}/etc/rc.d/ssyncd.init
${INSTALL_MAN} ${WRKSRC}/ssync.man \
${STAGEDIR}${MANPREFIX}/man/man1/ssync.1
.include <bsd.port.mk>