diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2015-09-04 00:24:40 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2015-09-04 00:24:40 +0800 |
commit | 17f2ffb0ccdf7226afa24f50a3db987c02fbe4e7 (patch) | |
tree | f2f819722fab6c002488f76b6ae684ef500cea90 /mail/ruby-rmail | |
parent | 30b4f5f272869c3223a4392388e11d947d6561ad (diff) | |
download | freebsd-ports-gnome-17f2ffb0ccdf7226afa24f50a3db987c02fbe4e7.tar.gz freebsd-ports-gnome-17f2ffb0ccdf7226afa24f50a3db987c02fbe4e7.tar.zst freebsd-ports-gnome-17f2ffb0ccdf7226afa24f50a3db987c02fbe4e7.zip |
- Add LICENSE
- Convert to new options target helper
- Add NO_ARCH
- Use BROKEN_RUBY22
- Remove outdated post-extract:
Diffstat (limited to 'mail/ruby-rmail')
-rw-r--r-- | mail/ruby-rmail/Makefile | 29 |
1 files changed, 12 insertions, 17 deletions
diff --git a/mail/ruby-rmail/Makefile b/mail/ruby-rmail/Makefile index 8f8ae930df5b..6903899268d1 100644 --- a/mail/ruby-rmail/Makefile +++ b/mail/ruby-rmail/Makefile @@ -12,27 +12,22 @@ DIST_SUBDIR= ruby MAINTAINER= ruby@FreeBSD.org COMMENT= Lightweight mail manipulating library for Ruby -USE_RUBY= yes -USE_RUBY_SETUP= yes -RUBY_SETUP= install.rb +LICENSE= BSD3CLAUSE -DOCS= NEWS NOTES README THANKS TODO doc +BROKEN_RUBY22= yes OPTIONS_DEFINE= DOCS -post-extract: - ${FIND} ${WRKSRC} -name '*~' -delete - -post-install: - ${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR} -.for f in ${DOCS} - ${CP} -R ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/ -.endfor +NO_ARCH= yes +USE_RUBY= yes +USE_RUBY_SETUP= yes +RUBY_SETUP= install.rb -.include <bsd.port.pre.mk> +DOCS= NEWS NOTES README THANKS TODO -.if ${RUBY_VER} >= 2.2 -BROKEN= Does not build -.endif +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/ -.include <bsd.port.post.mk> +.include <bsd.port.mk> |