[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / sysutils / rsnapshot

File: [cvs.NetBSD.org] / pkgsrc / sysutils / rsnapshot / Makefile (download)

Revision 1.6, Mon Dec 5 23:55:20 2005 UTC (17 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.5: +3 -3 lines

Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.

# $NetBSD: Makefile,v 1.6 2005/12/05 23:55:20 rillig Exp $
#

DISTNAME=	rsnapshot-1.2.1
CATEGORIES=	net
MASTER_SITES=	http://www.rsnapshot.org/downloads/

MAINTAINER=	kim@tac.nyc.ny.us
HOMEPAGE=	http://www.rsnapshot.org/
COMMENT=	Filesystem snapshot utility

DEPENDS+=	rsync>=2.3.1:../../net/rsync

GNU_CONFIGURE=	yes
USE_TOOLS+=	perl:run
USE_PKGINSTALL=	yes

.include "../../mk/bsd.prefs.mk"

EGDIR=		${PREFIX}/share/examples/${PKGBASE}

CONF_FILES+=	${EGDIR}/rsnapshot.conf.default \
		${PKG_SYSCONFDIR}/rsnapshot.conf

CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR:Q}
CONFIGURE_ARGS+=	--with-perl=${PERL5:Q}
CONFIGURE_ARGS+=	--with-rsync=${LOCALBASE}/bin/rsync

INSTALLATION_DIRS=	bin man/man1

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/rsnapshot ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/rsnapshot.1 ${PREFIX}/man/man1
	${INSTALL_DATA_DIR} ${EGDIR}
	${INSTALL_DATA} ${WRKSRC}/rsnapshot.conf.default ${EGDIR}

.include "../../mk/bsd.pkg.mk"