1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/x11-toolkits/ruby-tk/Makefile
Akinori MUSHA 3d3b2e83ce Update to Ruby 1.6.1. Many bugs have been fixed since 1.6.0. :)
Take over the maintainership from Yasuhiro Fukuma <yasuf@bsdclub.org>,
with his approval.  I can never thank him too much for his previous
work which led me in the right direction! :)

lang/ruby:
	- Add a patch for find.rb, which fixes the bug found after
	1.6.1 was released.

databases/ruby-gdbm, */ruby-{tcltklib,tk}:
	- Remove files/md5 and refer to lang/ruby's one.
2000-09-28 19:33:39 +00:00

49 lines
1021 B
Makefile

# New ports collection makefile for: ruby-tk
# Date created: 15 March 1999
# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
#
# $FreeBSD$
#
PORTNAME= tk
PORTVERSION= ${RUBY_VERSION}
CATEGORIES+= x11-toolkits ruby tk${TK_VERSION}
MASTER_SITES= ${MASTER_SITE_RUBY}
MASTER_SITE_SUBDIR= ${RUBY_VER}
DISTNAME= ruby-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER?= knu@FreeBSD.org
RUN_DEPENDS= ${RUBY_ARCHLIBDIR}/tcltklib.so:${PORTSDIR}/${TCLTKLIB_CATEGORY}/ruby-tcltklib
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
MD5_FILE= ${PORTSDIR}/lang/ruby/files/md5
WRKSRC= ${WRKDIR}/${DISTNAME}/ext/tk
TK_VERSION?= 82
.if defined(WITH_TCLTK_JP)
TCLTKLIB_CATEGORY?= japanese
.else
TCLTKLIB_CATEGORY?= lang
.endif
.include <bsd.port.pre.mk>
.if defined(PKGNAMEPREFIX)
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX}
.else
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
.endif
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_EXAMPLESDIR}/tk
${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/tk/
.endif
.include <bsd.port.post.mk>