blob: 8f85f7942cbf3f81d9a39e40b86507290ff4c201 (
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
41
42
43
44
45
46
47
48
49
|
# Created by: Steve Atwell
# $FreeBSD$
PORTNAME= slack
PORTVERSION= 0.15.2
PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= 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
USES= perl5 gmake
NO_ARCH= yes
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
OPTIONS_DEFINE= DOCS
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 ${STAGEDIR}${PREFIX}/etc/slack.conf.sample
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/COPYING ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/CREDITS ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/FAQ ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/GPL ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/TODO ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/fixfiles-and-dirs.txt ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/slack-intro ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|