freebsd-ports/sysutils/acts/Makefile
Mark Felder 0f7baa3cff Add full path to tarsnap binary in sample config
If you run acts from cron it may fail without full path to tarsnap binary
due to cron not having /usr/local/bin in PATH by default.
2015-05-14 15:02:58 +00:00

26 lines
609 B
Makefile

# Created by: Mark Felder <feld@FreeBSD.org>
# $FreeBSD$
PORTNAME= acts
PORTVERSION= 1.0
PORTREVISION= 2
CATEGORIES= sysutils archivers
MAINTAINER= feld@FreeBSD.org
COMMENT= Another Calendar-based Tarsnap Script
RUN_DEPENDS= tarsnap>=0:${PORTSDIR}/sysutils/tarsnap
USE_GITHUB= yes
GH_ACCOUNT= alexjurkiewicz
NO_BUILD= yes
post-patch:
${REINPLACE_CMD} 's|ionice -c3 tarsnap|${LOCALBASE}/bin/tarsnap|' ${WRKSRC}/acts.conf
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/acts ${STAGEDIR}/${PREFIX}/bin/acts
${INSTALL_DATA} ${WRKSRC}/acts.conf ${STAGEDIR}/${PREFIX}/etc/acts.conf.sample
.include <bsd.port.mk>