blob: 9a97cfc36e9073e6c7f15c5756f485794d86ddda (
plain) (
blame)
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
|
# Created by: Kelley Reynolds <kelley@insidesystems.net>
# $FreeBSD$
PORTNAME= rsyncmanager
PORTVERSION= 1.1
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.insidesystems.net/rsyncmanager/
MAINTAINER= ports@FreeBSD.org
COMMENT= Flexible rsync resource manager daemon written in ruby
BROKEN= unfetchable
RUN_DEPENDS= rsync:${PORTSDIR}/net/rsync
USE_RUBY= yes
NO_BUILD= yes
PLIST_FILES= bin/rsyncmanager.rb etc/rsyncmanager.xml.sample
PORTDOCS= README
USE_RC_SUBR= ${PORTNAME}
SUB_LIST= RUBY_WITHOUT_SUFFIX="${RUBY_WITHOUT_SUFFIX}"
OPTIONS_DEFINE= DOCS
post-extract:
@${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/bin/${PORTNAME}.rb ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/documentation/${PORTNAME}.xml \
${STAGEDIR}${PREFIX}/etc/${PORTNAME}.xml.sample
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/documentation/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|