freebsd-ports/sysutils/rsyncmanager/Makefile
Pawel Pekala 9b99cd5041 - Add staging support
- Convert to new options framework
- Switch to PLIST_FILES
2014-08-03 09:15:42 +00:00

37 lines
939 B
Makefile

# 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
RUN_DEPENDS= rsync:${PORTSDIR}/net/rsync
USE_RUBY= yes
USE_RUBY_FEATURES= ruby18
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>