1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/sysutils/slack/Makefile
Mathieu Arnold dbbfc7889a GOOGLE_CODE has gone away.
- If a port has another upstream, remove GOOGLE_CODE
- If a port only has GOOGLE_CODE mark it BROKEN

Some ports have a local mirror configured but for security reasons, it
is not considered upstream.

Sponsored by:	Absolight
2016-09-14 15:59:34 +00:00

49 lines
1.5 KiB
Makefile

# Created by: Steve Atwell
# $FreeBSD$
PORTNAME= slack
PORTVERSION= 0.15.2
PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= http://www.sundell.net/~alan/projects/slack/
MAINTAINER= satwell@disjoint.net
COMMENT= Configuration management system designed to appeal to lazy admins
RUN_DEPENDS= rsync: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>