1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/sysutils/slack/Makefile
Martin Wilke 1dd44b180e slack is an evolution from the usual "put files in some central directory"
that is fairly common practice. It's descended from an earlier system its
author also wrote, called "subsets", and uses a multi-stage rsync to fix
some of the problems he had there.

Basically, it's a glorified wrapper around rsync.

WWW: http://code.google.com/p/slack/

PR:		ports/127911
Submitted by:	Steve Atwell
2008-10-24 12:26:41 +00:00

57 lines
1.6 KiB
Makefile

# New ports collection makefile for: slack
# Date created: 3 October 2008
# Whom: Steve Atwell
#
# $FreeBSD$
#
PORTNAME= slack
PORTVERSION= 0.15.2
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
http://www.sundell.net/~alan/projects/slack/
MAINTAINER= satwell@disjoint.net
COMMENT= Configuration management system designed to appeal to lazy admins
RUN_DEPENDS= rsync:${PORTSDIR}/net/rsync
USE_PERL5= 5.6.0+
USE_GMAKE= yes
MAN1= slack-diff.1
MAN5= slack.conf.5
MAN8= slack.8
PORTDOCS= ChangeLog COPYING CREDITS FAQ GPL README TODO \
fixfiles-and-dirs.txt slack-intro
MAKE_ARGS= prefix=${PREFIX} exec_prefix=${PREFIX} \
libexecdir=${PREFIX}/libexec mandir=${PREFIX}/man \
localstatedir=/var
pre-build:
${REINPLACE_CMD} -e '1s,^#!.*perl,#!${PERL},' ${WRKSRC}/test/gen_config_file
post-build:
@for f in ${WRKSRC}/src/build/*; do \
${REINPLACE_CMD} -e '1s,^#!.*perl,#!${PERL},' $$f; \
done
post-install:
@${INSTALL_DATA} ${WRKSRC}/src/build/slack.conf ${PREFIX}/etc/slack.conf.sample
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/CREDITS ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/FAQ ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/GPL ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/TODO ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/doc/fixfiles-and-dirs.txt ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/doc/slack-intro ${DOCSDIR}
.endif
.include <bsd.port.mk>