diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-03-19 11:13:39 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-03-19 11:13:39 +0000 |
commit | 6b45fedafc678bced50eef1693d13725880b8e90 (patch) | |
tree | a3617e5391d72b5e3c1b50dc65e424a621da6e89 /x11-toolkits/ruby-tk/Makefile | |
parent | 0a81dcd924a4da9d7c6e3eda8a5379faedfa0583 (diff) | |
download | ports-6b45fedafc678bced50eef1693d13725880b8e90.tar.gz ports-6b45fedafc678bced50eef1693d13725880b8e90.zip |
Notes
Diffstat (limited to 'x11-toolkits/ruby-tk/Makefile')
-rw-r--r-- | x11-toolkits/ruby-tk/Makefile | 19 |
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> |