1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00

Update to 0.2.

This commit is contained in:
Akinori MUSHA 2001-09-10 16:14:18 +00:00
parent 19add691ef
commit ddaa1c0c6b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47610
3 changed files with 26 additions and 7 deletions

View File

@ -6,12 +6,11 @@
#
PORTNAME= fltk
PORTVERSION= 0.1
PORTVERSION= 0.2
PORTEPOCH= 1
CATEGORIES= x11-toolkits ruby
MASTER_SITES= http://ruby-fltk.sourceforge.net/archive/
#MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
#MASTER_SITE_SUBDIR= ruby-${PORTNAME}
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ruby-${PORTNAME}
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
DIST_SUBDIR= ruby
@ -29,12 +28,20 @@ INSTALL_TARGET= site-install
CONFIGURE_ARGS= --with-fltk-dir="${X11BASE}" --with-gl-dir="${X11BASE}"
MAKE_ARGS= LOCAL_LIBS="-lgcc"
DOCS_EN= Changes doc/en/*.txt
DOCS_JA= doc/ja/*.txt
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/samples/*.rb ${RUBY_EXAMPLESDIR}/${PORTNAME}/
${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/doc/en/guide.txt ${RUBY_DOCDIR}/${PORTNAME}/
${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja
.for f in ${DOCS_EN}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
.endfor
.for f in ${DOCS_JA}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ja/
.endfor
.endif
.include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (ruby/ruby-fltk-0.1.tar.gz) = 874235f89b4c4cae53da365f7b7783de
MD5 (ruby/ruby-fltk-0.2.tar.gz) = 1fa55fa301be9357c5f64214098332f9

View File

@ -1,5 +1,9 @@
%%RUBY_SITEARCHLIBDIR%%/rubyfltk.so
%%RUBY_SITELIBDIR%%/fltk.rb
%%RUBY_SITELIBDIR%%/fltk/drawable.rb
%%RUBY_SITELIBDIR%%/fltk/listbox.rb
@dirrm %%RUBY_SITELIBDIR%%/fltk
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fltk/othello.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fltk/sample1.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fltk/sample2.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fltk/sample3.rb
@ -7,6 +11,14 @@
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fltk/sample5.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fltk/sample6.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fltk/sample7.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fltk/sample8.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fltk/sample9.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fltk/sample10.rb
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/fltk
%%PORTDOCS%%%%RUBY_DOCDIR%%/fltk/Changes
%%PORTDOCS%%%%RUBY_DOCDIR%%/fltk/faq.txt
%%PORTDOCS%%%%RUBY_DOCDIR%%/fltk/guide.txt
%%PORTDOCS%%%%RUBY_DOCDIR%%/fltk/reference.txt
%%PORTDOCS%%%%RUBY_DOCDIR%%/fltk/ja/guide.txt
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/fltk/ja
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/fltk