# New ports collection makefile for: ruby-tk # Date created: 15 March 1999 # Whom: Yasuhiro Fukuma # # $FreeBSD$ # PORTNAME= tk PORTVERSION= ${RUBY_PORTVERSION} CATEGORIES+= x11-toolkits ruby tk${TK_VERSION} MASTER_SITES= ${MASTER_SITE_RUBY} MASTER_SITE_SUBDIR= ${RUBY_VER} DISTNAME= ${RUBY_DISTNAME} 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/distinfo WRKSRC= ${RUBY_WRKSRC}/ext/tk TK_VERSION?= 82 .if defined(WITH_TCLTK_JP) TCLTKLIB_CATEGORY?= japanese .else TCLTKLIB_CATEGORY?= lang .endif .include .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