aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-03-19 19:13:39 +0800
committerknu <knu@FreeBSD.org>2001-03-19 19:13:39 +0800
commit84cc6bd646b980d7a75b7caf73aaf249e7cdef88 (patch)
tree53fde3e010d53c40107403e08f2b2600fb92df11 /x11-toolkits
parent554048bd56cbafb3916b6f4ba9164c4662858532 (diff)
downloadfreebsd-ports-gnome-84cc6bd646b980d7a75b7caf73aaf249e7cdef88.tar.gz
freebsd-ports-gnome-84cc6bd646b980d7a75b7caf73aaf249e7cdef88.tar.zst
freebsd-ports-gnome-84cc6bd646b980d7a75b7caf73aaf249e7cdef88.zip
Alter the build process for the standard libraries of Ruby.
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/ruby-tk/Makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/x11-toolkits/ruby-tk/Makefile b/x11-toolkits/ruby-tk/Makefile
index 2eeb82009315..6585399c7ed2 100644
--- a/x11-toolkits/ruby-tk/Makefile
+++ b/x11-toolkits/ruby-tk/Makefile
@@ -8,21 +8,18 @@
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
+MASTER_SITES= # none
+DISTFILES= # none
MAINTAINER?= knu@FreeBSD.org
+BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/${RUBY_PORT}:patch
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
+WRKSRC= ${WRKDIR}/${PORTNAME}
TK_VERSION?= 82
.if defined(WITH_TCLTK_JP)
@@ -39,10 +36,14 @@ PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX}
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
.endif
+do-extract:
+ ${MKDIR} ${WRKDIR}
+ ${LN} -sf `cd ${PORTSDIR}/${RUBY_PORT} && ${MAKE} -V WRKDIR`/${PORTNAME} ${WRKDIR}/
+
post-install:
.if !defined(NOPORTDOCS)
- ${MKDIR} ${RUBY_EXAMPLESDIR}/tk
- ${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/tk/
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/
.endif
.include <bsd.port.post.mk>