- Add LICENSE

- Convert to new options target helper
- Add NO_ARCH
- Use BROKEN_RUBY22
- Remove outdated post-extract:
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2015-09-03 16:24:40 +00:00
parent 91936ccc58
commit 835c32d96e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=396004

View File

@ -12,27 +12,22 @@ DIST_SUBDIR= ruby
MAINTAINER= ruby@FreeBSD.org
COMMENT= Lightweight mail manipulating library for Ruby
LICENSE= BSD3CLAUSE
BROKEN_RUBY22= yes
OPTIONS_DEFINE= DOCS
NO_ARCH= yes
USE_RUBY= yes
USE_RUBY_SETUP= yes
RUBY_SETUP= install.rb
DOCS= NEWS NOTES README THANKS TODO doc
DOCS= NEWS NOTES README THANKS TODO
OPTIONS_DEFINE= DOCS
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/doc/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${RUBY_MODDOCDIR}/
cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${STAGEDIR}${RUBY_MODDOCDIR}/doc/
post-extract:
${FIND} ${WRKSRC} -name '*~' -delete
post-install:
${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}
.for f in ${DOCS}
${CP} -R ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/
.endfor
.include <bsd.port.pre.mk>
.if ${RUBY_VER} >= 2.2
BROKEN= Does not build
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>