1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/x11-toolkits/ruby-tk/Makefile
Akinori MUSHA 7b09b2f764 Split rubytk into ruby-tcltklib and ruby-tk.
Approved by:	Yasuhiro Fukuma <yasuf@bsdclub.org> (MAINTAINER)

Repocopy ruby-* to ruby14-* and update ruby-* to 1.6.0-preview3.
2000-09-07 00:03:36 +00:00

49 lines
1.1 KiB
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}.p3
CATEGORIES+= x11-toolkits ruby tk${TK_VERSION}
MASTER_SITES= ${MASTER_SITE_RUBY}
#MASTER_SITE_SUBDIR= ${RUBY_VER}
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby-${PORTVERSION:S/.p/-preview/}
DIST_SUBDIR= ruby
MAINTAINER?= yasuf@bsdclub.org
RUN_DEPENDS= ${RUBY_ARCHLIBDIR}/tcltklib.so:${PORTSDIR}/${TCLTKLIB_CATEGORY}/ruby-tcltklib
WRKSRC= ${WRKDIR}/ruby-${PORTVERSION:R}/ext/tk
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
TK_VERSION?= 82
.if defined(WITH_TCLTK_JP)
TCLTKLIB_CATEGORY?= japanese
.else
TCLTKLIB_CATEGORY?= lang
.endif
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.ruby.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>