blob: dae4ee162de2efe3ef96a1164b3116d495e1c003 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# $NetBSD: Makefile,v 1.98 2015/02/07 22:58:18 tnn Exp $
DISTNAME= rsync-3.1.1
CATEGORIES= net
MASTER_SITES= http://rsync.samba.org/ftp/rsync/ \
http://rsync.samba.org/ftp/rsync/old-versions/ \
ftp://ftp.fu-berlin.de/unix/network/rsync/
MAINTAINER= tron@NetBSD.org
HOMEPAGE= http://rsync.samba.org/
COMMENT= Network file distribution/synchronisation utility
LICENSE= gnu-gpl-v3
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5 share/doc/rsync
USE_TOOLS+= perl
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-included-popt
CONFIGURE_ARGS+= --with-rsyncd-conf=${PKG_SYSCONFDIR}/rsyncd.conf
TEST_TARGET= test
PKG_SYSCONFSUBDIR= rsync
RCD_SCRIPTS= rsyncd
RCD_SCRIPT_SRC.rsyncd= files/rsyncd.sh
SMF_NAME= rsyncd
SUBST_CLASSES+= paths
SUBST_MESSAGE.paths= Fixing hardcoded paths.
SUBST_STAGE.paths= post-patch
SUBST_FILES.paths= rsync.1 rsyncd.conf.5
SUBST_SED.paths= -e 's|/etc/rsyncd|${PKG_SYSCONFDIR}/rsyncd|g'
SUBST_SED.paths+= -e 's|/usr/bin/rsync|${PREFIX}/bin/rsync|g'
post-install:
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/tech_report.tex \
${DESTDIR}${PREFIX}/share/doc/rsync
.include "../../converters/libiconv/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|