freebsd-ports/sysutils/zfstools/Makefile
Bryan Drewery 62db6b5c76 - Update to 0.2.2
- Drop rubygem- prefix from PKGNAME as this no longer uses rubygems
- Add mirror
- Add setup instructions in pkg-message
- Add LICENSE

Changes:
  * Scripts are now installed to /usr/local/sbin
    instead of /usr/local/bin
  * Add '-P pool' flag to `zfs-auto-snapshot` to limit
    the snapshotting to the specified pool/dataset.
  * Fix usage output
2013-02-04 23:24:39 +00:00

38 lines
751 B
Makefile

# $FreeBSD$
PORTNAME= zfstools
PORTVERSION= 0.2.2
CATEGORIES= sysutils ruby
MASTER_SITES= GH \
http://mirror.shatow.net/freebsd/${PORTNAME}/
MAINTAINER= bdrewery@FreeBSD.org
COMMENT= OpenSolaris-compatible auto snapshotting for ZFS
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USE_GITHUB= yes
GH_ACCOUNT= bdrewery
GH_COMMIT= 924b60c
GH_TAGNAME= v${DISTVERSION}
USE_RUBY= yes
NO_BUILD= yes
SUB_FILES= pkg-message
.include <bsd.port.options.mk>
do-install:
@cd ${WRKSRC}/bin && ${COPYTREE_BIN} . ${PREFIX}/sbin
@cd ${WRKSRC}/lib && ${COPYTREE_SHARE} . ${RUBY_SITELIBDIR}
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README.md ${DOCSDIR}
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>