ead3bfa7a0
- Add EXAMPLES option - Remove WRKSRC - Sort PLIST - Update WWW - Pass maintainership to ruby@
27 lines
789 B
Makefile
27 lines
789 B
Makefile
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= algebra
|
|
PORTVERSION= 0.72
|
|
CATEGORIES= math ruby
|
|
MASTER_SITES= http://blade.nagaokaut.ac.jp/~sinara/ruby/math/algebra/
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
DIST_SUBDIR= ruby
|
|
|
|
MAINTAINER= ruby@FreeBSD.org
|
|
COMMENT= Ruby library for mathematical (algebraic) computations
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
NO_ARCH= yes
|
|
NO_BUILD= yes
|
|
USE_RUBY= yes
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ja/
|
|
cd ${WRKSRC}/doc/ && ${INSTALL_DATA} *.html *.rd ${STAGEDIR}${RUBY_MODDOCDIR}/
|
|
cd ${WRKSRC}/doc-ja/ && ${INSTALL_DATA} *.html *.rd ${STAGEDIR}${RUBY_MODDOCDIR}/ja/
|
|
@${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/
|
|
${INSTALL_DATA} ${WRKSRC}/sample/sample-* ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/
|
|
|
|
.include <bsd.port.mk>
|