36 lines
881 B
Makefile
36 lines
881 B
Makefile
# New ports collection makefile for: BioRuby
|
|
# Date created: 24 October 2001
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= bio
|
|
PORTVERSION= 0.3.5
|
|
CATEGORIES= biology ruby
|
|
MASTER_SITES= ftp://ftp.bioruby.org/bioruby/src/
|
|
MASTER_SITE_SUBDIR= knu
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
DISTNAME= ${PORTNAME}ruby-${PORTVERSION}
|
|
EXTRACT_SUFX= .tgz
|
|
DIST_SUBDIR= ruby
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
|
|
|
USE_RUBY= yes
|
|
USE_RUBY_SETUP= yes
|
|
RUBY_SETUP= install.rb
|
|
|
|
RUBY_SHEBANG_FILES= ${WRKSRC}/bin/dbget
|
|
|
|
do-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
|
|
${CP} -R ${WRKSRC}/sample/ ${RUBY_EXAMPLESDIR}/${PORTNAME}/
|
|
${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja
|
|
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${WRKSRC}/README ${RUBY_DOCDIR}/${PORTNAME}/
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.ja ${RUBY_DOCDIR}/${PORTNAME}/ja/
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|