freebsd-ports/sysutils/zfstools/Makefile
Bryan Drewery 8e6e8918f4 Force a rebuild for newer Ruby.
Pkg is not properly reinstalling this when ruby is upgraded which
causes this to break since it is left around in the old ruby
dir.

PR:	199828
2015-05-01 04:13:34 +00:00

35 lines
741 B
Makefile

# $FreeBSD$
PORTNAME= zfstools
DISTVERSIONPREFIX=v
DISTVERSION= 0.3.2
PORTREVISION= 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= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USE_GITHUB= yes
GH_ACCOUNT= bdrewery
USE_RUBY= yes
NO_BUILD= yes
SUB_FILES= pkg-message
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
do-install:
@cd ${WRKSRC}/bin && ${COPYTREE_BIN} . ${STAGEDIR}${PREFIX}/sbin
@cd ${WRKSRC}/lib && ${COPYTREE_SHARE} . ${STAGEDIR}${RUBY_SITELIBDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>