freebsd-ports/sysutils/zfstools/Makefile
2013-09-23 11:24:53 +00:00

35 lines
757 B
Makefile

# $FreeBSD$
PORTNAME= zfstools
PORTVERSION= 0.3.0
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= 05b95b5
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} . ${STAGEDIR}${PREFIX}/sbin
@cd ${WRKSRC}/lib && ${COPYTREE_SHARE} . ${STAGEDIR}${RUBY_SITELIBDIR}
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>