diff options
author | pav <pav@FreeBSD.org> | 2005-05-16 21:07:54 +0000 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-05-16 21:07:54 +0000 |
commit | f58663debe846c1c45717f1f5c5d146621fa184c (patch) | |
tree | 381e96dd1792026d49ff3ebc13c589a2cd99c721 /net/rsync/Makefile | |
parent | cc5f3cb28a35469736c0647b8555c07b8ff6c526 (diff) | |
download | FreeBSD-ports-f58663debe846c1c45717f1f5c5d146621fa184c.zip FreeBSD-ports-f58663debe846c1c45717f1f5c5d146621fa184c.tar.gz |
- Update to 2.6.4
- Use new infrastructure for rc script
- Remove pkg-message, it's 4 years since the change
Approved by: marcus (portmgr hat)
Diffstat (limited to 'net/rsync/Makefile')
-rw-r--r-- | net/rsync/Makefile | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/net/rsync/Makefile b/net/rsync/Makefile index 7ac45e1..edb4fdd 100644 --- a/net/rsync/Makefile +++ b/net/rsync/Makefile @@ -6,8 +6,7 @@ # PORTNAME= rsync -PORTVERSION= 2.6.3 -PORTREVISION= 1 +PORTVERSION= 2.6.4 CATEGORIES= net ipv6 MASTER_SITES= http://rsync.samba.org/ftp/%SUBDIR%/ \ ftp://ftp.samba.org//pub/%SUBDIR%/ \ @@ -25,7 +24,7 @@ COMMENT= A network file distribution/synchronization utility LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt .endif -USE_RC_SUBR= yes +USE_RC_SUBR= rsyncd.sh USE_REINPLACE= yes GNU_CONFIGURE= yes @@ -50,9 +49,7 @@ EXTRA_PATCHES+= ${WRKSRC}/patches/time-limit.diff .include <bsd.port.pre.mk> -SED_SCRIPT+= -e 's,%%NAME%%,rsyncd,g' \ - -e 's,%%PREFIX%%,${PREFIX},g' \ - -e 's,%%RC_SUBR%%,${RC_SUBR},g' +SUB_LIST+= NAME=rsyncd .if ${OSVERSION} < 400016 WITHOUT_SSH?= yes @@ -84,23 +81,16 @@ pre-configure: @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|g' \ ${WRKSRC}/rsync.h ${WRKSRC}/zlib/zutil.h -post-build: - @${SED} ${SED_SCRIPT} <${FILESDIR}/rsyncd.sh >${WRKDIR}/rsyncd.sh - post-install: @${STRIP_CMD} ${DESTDIR}${PREFIX}/bin/rsync @${INSTALL_DATA} ${FILESDIR}/rsyncd.conf.sample ${DESTDIR}${PREFIX}/etc/ @[ -f ${DESTDIR}${PREFIX}/etc/rsyncd.conf ] || \ ${CP} ${DESTDIR}${PREFIX}/etc/rsyncd.conf.sample \ ${DESTDIR}${PREFIX}/etc/rsyncd.conf - @${INSTALL_SCRIPT} ${WRKDIR}/rsyncd.sh ${DESTDIR}${PREFIX}/etc/rc.d/ .if !defined(NOPORTDOCS) @${MKDIR} ${DESTDIR}${DOCSDIR} @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DESTDIR}${DOCSDIR} .endif -.if !defined(WITHOUT_SSH) - @${CAT} ${PKGMESSAGE} -.endif test: build @cd ${WRKSRC} && ${MAKE} check |