e6eac75155
- Respect PORTEXAMPLES - Convert to new options target helper - Use BROKEN_RUBY21 and BROKEN_RUBY22 - Use USES=tar:tgz - Sort PLIST
42 lines
1 KiB
Makefile
42 lines
1 KiB
Makefile
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
# $FreeBSD$
|
|
|
|
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 <bsd.port.mk>
|