# Created by: Akinori MUSHA aka knu # $FreeBSD: head/archivers/ruby-zip/Makefile 395987 2015-09-03 16:23:18Z sunpoet $ PORTNAME= zip PORTVERSION= 0.9.4 CATEGORIES= archivers ruby MASTER_SITES= SF/ruby${PORTNAME}/ruby${PORTNAME}/${PORTVERSION} PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} DISTNAME= ruby${PORTNAME}-${PORTVERSION} DIST_SUBDIR= ruby MAINTAINER= ruby@FreeBSD.org COMMENT= Ruby module for reading and writing ZIP files LICENSE= BSD2CLAUSE RUBY LICENSE_COMB= dual BROKEN_RUBY21= yes BROKEN_RUBY22= yes OPTIONS_DEFINE= DOCS EXAMPLES NO_BUILD= yes USE_RUBY= yes USES= tar:tgz WRKSRC= ${WRKDIR}/rubyzip-${PORTVERSION} DOCS= ChangeLog NEWS README TODO do-install: ${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}/zip ${INSTALL_DATA} ${WRKSRC}/lib/zip/*.rb ${STAGEDIR}${RUBY_SITELIBDIR}/zip do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ cd ${WRKSRC}/ && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${RUBY_MODDOCDIR}/ do-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/ ${INSTALL_DATA} ${WRKSRC}/samples/* ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/ .include