- Fix compiling without gcc. (remove hardcoded 'gcc')
- Change to new-type headers. - Replace all dead MASTER_SITES and WWW with working ones. PR: ports/179823 Submitted by: r4721@tormail.org Approved by: samm@os2.kiev.ua (maintainer)
This commit is contained in:
parent
eddf97f3cc
commit
42da4e24d4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=322294
2 changed files with 5 additions and 9 deletions
|
@ -1,16 +1,11 @@
|
|||
# New ports collection makefile for: ssync
|
||||
# Date created: 23 March 2002
|
||||
# Whom: Andrew Shevtsov <nyxo@dnuc.polyn.kiae.su>
|
||||
#
|
||||
# Created by: Andrew Shevtsov <nyxo@dnuc.polyn.kiae.su>
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= ssync
|
||||
PORTVERSION= 2.3
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://mnmconsulting.org/ssync/ \
|
||||
ftp://ftp.netsw.org/system/tools/fileutils/install/ssync/
|
||||
MASTER_SITES= http://linuxfocus.org/~guido/
|
||||
|
||||
MAINTAINER= samm@os2.kiev.ua
|
||||
COMMENT= A minimalistic tool for keeping filesystems in synchronization
|
||||
|
@ -26,7 +21,8 @@ post-patch:
|
|||
@${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" ${WRKSRC}/makefile
|
||||
@${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 ${PREFIX}/bin/ssync
|
||||
|
|
|
@ -4,4 +4,4 @@ low-resource comsumption and portability. It features a number of options
|
|||
to control how things are synchronized and under what conditions, as well
|
||||
as useful dry-run and verbose modes.
|
||||
|
||||
WWW: http://alcatraz.labs.agilent.com/shaffer/ssync/
|
||||
WWW: http://linuxfocus.org/~guido/endangered_software.html#ssync
|
||||
|
|
Loading…
Reference in a new issue