diff options
author | knu <knu@FreeBSD.org> | 2000-09-07 22:39:47 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2000-09-07 22:39:47 +0800 |
commit | 96f951a2786bd495731135d2fc5fcb8749dee633 (patch) | |
tree | f2835ba67cd5363c99bf3d8b27d9d3019200754f /x11-toolkits/ruby-fltk | |
parent | 4ea073e1c6c57446d3193f6385a0d5ce1cc3e63f (diff) | |
download | freebsd-ports-gnome-96f951a2786bd495731135d2fc5fcb8749dee633.tar.gz freebsd-ports-gnome-96f951a2786bd495731135d2fc5fcb8749dee633.tar.zst freebsd-ports-gnome-96f951a2786bd495731135d2fc5fcb8749dee633.zip |
Update with bsd.ruby.mk. :>
Diffstat (limited to 'x11-toolkits/ruby-fltk')
-rw-r--r-- | x11-toolkits/ruby-fltk/Makefile | 35 | ||||
-rw-r--r-- | x11-toolkits/ruby-fltk/pkg-plist | 14 |
2 files changed, 22 insertions, 27 deletions
diff --git a/x11-toolkits/ruby-fltk/Makefile b/x11-toolkits/ruby-fltk/Makefile index 11d4a2dc8db0..25907fdb7023 100644 --- a/x11-toolkits/ruby-fltk/Makefile +++ b/x11-toolkits/ruby-fltk/Makefile @@ -9,40 +9,35 @@ PORTNAME= fltk PORTVERSION= 20000618 CATEGORIES= x11-toolkits ruby MASTER_SITES= http://kt-www.jaist.ac.jp:8000/~ttate/ftp/ -PKGNAMEPREFIX= ruby- -DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION} +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DISTNAME= ruby-${PORTNAME}-${PORTVERSION} DIST_SUBDIR= ruby MAINTAINER= knu@FreeBSD.org -BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk -RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby + +USE_RUBY= yes +USE_RUBY_EXTCONF= yes USE_MESA= yes +USE_GMAKE= yes + WRKSRC= ${WRKDIR}/${PORTNAME} INSTALL_TARGET= site-install CONFIGURE_ARGS= --with-fltk-dir="${X11BASE}" --with-gl-dir="${X11BASE}" MAKE_ARGS= LOCAL_LIBS="-lgcc" -PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}" - -RUBY?= ${LOCALBASE}/bin/ruby -RUBY_VER?= 1.4 -RUBY_ARCH?= ${ARCH}-freebsd${OSREL} - -do-configure: - @cd ${WRKSRC}; \ - ${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb ${CONFIGURE_ARGS} - post-install: .if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/examples/ruby/fltk - ${INSTALL_DATA} ${WRKSRC}/test/adjuster.rb ${PREFIX}/share/examples/ruby/fltk/ - ${MKDIR} ${PREFIX}/share/doc/ruby/fltk/ja - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ruby/fltk/ - ${INSTALL_DATA} ${WRKSRC}/README.jp ${PREFIX}/share/doc/ruby/fltk/ja/ + ${MKDIR} ${RUBY_EXAMPLESDIR}/fltk + ${INSTALL_DATA} ${WRKSRC}/test/adjuster.rb ${RUBY_EXAMPLESDIR}/fltk/ + ${MKDIR} ${RUBY_DOCDIR}/fltk/ja + ${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/fltk/ + ${INSTALL_DATA} ${WRKSRC}/README.jp ${RUBY_DOCDIR}/fltk/ja/ .endif -.include <bsd.port.mk> +.include <bsd.port.pre.mk> +.include "${PORTSDIR}/Mk/bsd.ruby.mk" +.include <bsd.port.post.mk> diff --git a/x11-toolkits/ruby-fltk/pkg-plist b/x11-toolkits/ruby-fltk/pkg-plist index b9cd5735acb5..bad32ab26325 100644 --- a/x11-toolkits/ruby-fltk/pkg-plist +++ b/x11-toolkits/ruby-fltk/pkg-plist @@ -1,7 +1,7 @@ -lib/ruby/site_ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/fltk.so -share/examples/ruby/fltk/adjuster.rb -@dirrm share/examples/ruby/fltk -share/doc/ruby/fltk/README -share/doc/ruby/fltk/ja/README.jp -@dirrm share/doc/ruby/fltk/ja -@dirrm share/doc/ruby/fltk +%%RUBY_SITEARCHLIBDIR%%/fltk.so +%%RUBY_EXAMPLESDIR%%/fltk/adjuster.rb +@dirrm %%RUBY_EXAMPLESDIR%%/fltk +%%RUBY_DOCDIR%%/fltk/README +%%RUBY_DOCDIR%%/fltk/ja/README.jp +@dirrm %%RUBY_DOCDIR%%/fltk/ja +@dirrm %%RUBY_DOCDIR%%/fltk |