# New ports collection makefile for: zfs-snapshot-mgmt # Date created: 6 July 2008 # Whom: Marcin Simonides # # $FreeBSD$ # PORTNAME= zfs-snapshot-mgmt PORTVERSION= 20090201 CATEGORIES= sysutils MASTER_SITES= http://marcin.studio4plus.com/files/ MAINTAINER= marcin@studio4plus.com COMMENT= Automatic ZFS snapshot management tool USE_RUBY= yes RUBY_NO_BUILD_DEPENDS= yes NO_BUILD= yes MAN8= zfs-snapshot-mgmt.8 SUB_FILES= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message do-install: @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${MANPREFIX}/man/man8 @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf.sample ${PREFIX}/etc post-install: @if [ ! -f ${PREFIX}/etc/${PORTNAME}.conf ]; then \ ${CP} -p ${PREFIX}/etc/${PORTNAME}.conf.sample ${PREFIX}/etc/${PORTNAME}.conf ; \ fi @${CAT} ${PKGMESSAGE} .include