diff options
author | Steve Price <steve@FreeBSD.org> | 1999-11-14 01:39:00 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1999-11-14 01:39:00 +0000 |
commit | 0e686e7e45e26350f8592a9836db0b287b1359cd (patch) | |
tree | 0e0553d2dbb5db7929cfa819f468bf75a497094d /x11-toolkits/ruby-tk | |
parent | 2f98a73650c96591196f05e82aa1d059a3bcd860 (diff) | |
download | ports-0e686e7e45e26350f8592a9836db0b287b1359cd.tar.gz ports-0e686e7e45e26350f8592a9836db0b287b1359cd.zip |
Notes
Diffstat (limited to 'x11-toolkits/ruby-tk')
-rw-r--r-- | x11-toolkits/ruby-tk/Makefile | 31 | ||||
-rw-r--r-- | x11-toolkits/ruby-tk/pkg-plist | 7 |
2 files changed, 28 insertions, 10 deletions
diff --git a/x11-toolkits/ruby-tk/Makefile b/x11-toolkits/ruby-tk/Makefile index 2dc9b5c74620..728ad15994f0 100644 --- a/x11-toolkits/ruby-tk/Makefile +++ b/x11-toolkits/ruby-tk/Makefile @@ -1,5 +1,5 @@ # New ports collection makefile for: rubytk -# Version required: 1.4.0 +# Version required: 1.4.2 # Date created: 15 March 1999 # Whom: Yasuhiro Fukuma <yasuf@big.or.jp> # @@ -26,19 +26,22 @@ LIB_DEPENDS= ${TCL_LIB}.1:${PORTSDIR}/${TCL_CATEGORY}/tcl${TCL_VERSION} \ USE_XLIB= yes WRKSRC= ${WRKDIR}/${DISTNAME}/ext CONFIGURE_ARGS+= --with-tcllib="${TCL_LIB}" --with-tklib="${TK_LIB}" \ - --with-tcl-lib="${PREFIX}/lib/${TCL_DIR}" \ - --with-tk-lib="${PREFIX}/lib/${TK_DIR}" \ - --with-tcl-include="${PREFIX}/include/${TCL_DIR}" \ - --with-tk-include="${PREFIX}/include/${TK_DIR}" \ + --with-tcl-lib="${LOCALBASE}/lib/${TCL_DIR}" \ + --with-tk-lib="${LOCALBASE}/lib/${TK_DIR}" \ + --with-tcl-include="${LOCALBASE}/include/${TCL_DIR}" \ + --with-tk-include="${LOCALBASE}/include/${TK_DIR}" \ --with-X11-dir="${X11BASE}" PLIST_SUB+= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}" -VERSION= 1.4.0 -BRANCH_NAME= . +VERSION= 1.4.2 +BRANCH_NAME= 1.4 RUBY_VER= 1.4 RUBY_ARCH= ${ARCH}-freebsd${OSREL} +DOCDIR= ${PREFIX}/share/doc/ruby +EXAMPLESDIR= ${PREFIX}/share/examples/ruby + # Set these vars as the version numbers (without decimal points) of Tcl/Tk # you want to use with Ruby/Tk. # e.g.: make TCL_VERSION=42 TK_VERSION=76 WITH_TCL_JP=yes build @@ -59,7 +62,7 @@ TK_LIB= tk${TK_VERSION}${TCL_JP} TCL_DIR= `echo "${TCL_LIB}" | ${SED} 's/\([0-9]\)\([0-9]\)/\1.\2/'` TK_DIR= `echo "${TK_LIB}" | ${SED} 's/\([0-9]\)\([0-9]\)/\1.\2/'` -RUBY= ${PREFIX}/bin/ruby +RUBY= ${LOCALBASE}/bin/ruby EXTS= tcltklib tk do-configure: @@ -78,8 +81,16 @@ do-install: .for dir in ${EXTS} @${ECHO_MSG} "Installing in ${dir}..." @cd ${WRKSRC}/${dir}; ${SETENV} ${MAKE_ENV} ${MAKE} ${INSTALL_TARGET} - ${MKDIR} ${PREFIX}/share/examples/ruby/${dir} - ${INSTALL_DATA} ${WRKSRC}/${dir}/sample/* ${PREFIX}/share/examples/ruby/${dir} + ${MKDIR} ${EXAMPLESDIR}/${dir} + ${INSTALL_DATA} ${WRKSRC}/${dir}/sample/* ${EXAMPLESDIR}/${dir} .endfor +post-install: + ${MKDIR} ${EXAMPLESDIR}/tcltklib/demo + ${INSTALL_DATA} ${WRKSRC}/tcltklib/demo/* ${EXAMPLESDIR}/tcltklib/demo +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCDIR}/tcltklib + ${INSTALL_DATA} ${WRKSRC}/tcltklib/*.euc ${DOCDIR}/tcltklib +.endif + .include <bsd.port.mk> diff --git a/x11-toolkits/ruby-tk/pkg-plist b/x11-toolkits/ruby-tk/pkg-plist index 650fe3b55916..8f13229dd143 100644 --- a/x11-toolkits/ruby-tk/pkg-plist +++ b/x11-toolkits/ruby-tk/pkg-plist @@ -15,11 +15,18 @@ lib/ruby/%%RUBY_VER%%/tkpalette.rb lib/ruby/%%RUBY_VER%%/tkscrollbox.rb lib/ruby/%%RUBY_VER%%/tktext.rb lib/ruby/%%RUBY_VER%%/tkvirtevent.rb +share/doc/ruby/tcltklib/MANUAL.euc +share/doc/ruby/tcltklib/README.euc +@dirrm share/doc/ruby/tcltklib share/examples/ruby/tcltklib/batsu.gif share/examples/ruby/tcltklib/maru.gif share/examples/ruby/tcltklib/sample0.rb share/examples/ruby/tcltklib/sample1.rb share/examples/ruby/tcltklib/sample2.rb +share/examples/ruby/tcltklib/demo/lines0.tcl +share/examples/ruby/tcltklib/demo/lines1.rb +share/examples/ruby/tcltklib/demo/lines2.rb +@dirrm share/examples/ruby/tcltklib/demo @dirrm share/examples/ruby/tcltklib share/examples/ruby/tk/tkbiff.rb share/examples/ruby/tk/tkbrowse.rb |