2013-03-11 07:35:43 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2013/03/11 11:35:56 espie Exp $
|
2005-02-21 11:08:06 -05:00
|
|
|
|
2007-09-15 18:36:51 -04:00
|
|
|
COMMENT= remote filesystem snapshot utility
|
2005-02-21 11:08:06 -05:00
|
|
|
|
2008-09-27 07:54:11 -04:00
|
|
|
DISTNAME= rsnapshot-1.3.1
|
2011-12-04 03:53:57 -05:00
|
|
|
REVISION= 2
|
2008-09-27 07:54:11 -04:00
|
|
|
CATEGORIES= net sysutils
|
2009-02-12 03:43:08 -05:00
|
|
|
|
2005-02-21 11:08:06 -05:00
|
|
|
HOMEPAGE= http://www.rsnapshot.org/
|
|
|
|
|
2008-09-27 07:54:11 -04:00
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
2005-02-21 11:08:06 -05:00
|
|
|
|
2008-09-27 07:54:11 -04:00
|
|
|
# GPLv2+
|
2005-02-21 11:08:06 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= http://www.rsnapshot.org/downloads/
|
|
|
|
|
2010-11-19 17:31:32 -05:00
|
|
|
BUILD_DEPENDS= net/rsync
|
|
|
|
RUN_DEPENDS= net/rsync \
|
|
|
|
devel/p5-Lchown
|
2005-02-21 11:08:06 -05:00
|
|
|
|
|
|
|
PKG_ARCH= *
|
2013-03-11 07:35:43 -04:00
|
|
|
NO_TEST= Yes
|
2005-02-21 11:08:06 -05:00
|
|
|
|
|
|
|
CONFIGURE_STYLE= simple
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${SYSCONFDIR}
|
|
|
|
|
|
|
|
SAMPLES_DIR= ${PREFIX}/share/examples/rsnapshot
|
2008-09-27 07:54:11 -04:00
|
|
|
SUBST_VARS= SAMPLES_DIR
|
2005-02-21 11:08:06 -05:00
|
|
|
|
2008-09-27 07:54:11 -04:00
|
|
|
FAKE_FLAGS= sysconfdir=${SAMPLES_DIR}
|
2010-11-19 17:31:32 -05:00
|
|
|
USE_GROFF = Yes
|
2008-09-27 07:54:11 -04:00
|
|
|
|
|
|
|
pre-build:
|
|
|
|
${SUBST_CMD} ${WRKSRC}/rsnapshot.1 ${WRKSRC}/README \
|
|
|
|
${WRKSRC}/rsnapshot-program.pl
|
|
|
|
|
|
|
|
post-install:
|
2005-02-21 11:08:06 -05:00
|
|
|
${INSTALL_DATA_DIR} ${SAMPLES_DIR}/utils
|
2006-08-01 08:32:36 -04:00
|
|
|
${INSTALL_DATA_DIR} ${SAMPLES_DIR}/utils/rsnapshotdb
|
2008-09-27 07:54:11 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${SAMPLES_DIR}
|
2006-08-01 08:32:36 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/utils/README ${SAMPLES_DIR}/utils
|
2008-09-27 07:54:11 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/utils/rsnapshot-copy ${SAMPLES_DIR}/utils
|
2006-08-01 08:32:36 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/utils/rsnaptar ${SAMPLES_DIR}/utils
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/utils/*.pl ${SAMPLES_DIR}/utils
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/utils/*.sh ${SAMPLES_DIR}/utils
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/utils/rsnapshotdb/* ${SAMPLES_DIR}/utils/rsnapshotdb
|
2005-02-21 11:08:06 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|