diff options
author | knu <knu@FreeBSD.org> | 2001-03-19 19:13:39 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-03-19 19:13:39 +0800 |
commit | 84cc6bd646b980d7a75b7caf73aaf249e7cdef88 (patch) | |
tree | 53fde3e010d53c40107403e08f2b2600fb92df11 /lang | |
parent | 554048bd56cbafb3916b6f4ba9164c4662858532 (diff) | |
download | freebsd-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 'lang')
-rw-r--r-- | lang/ruby-tcltklib/Makefile | 27 | ||||
-rw-r--r-- | lang/ruby/Makefile | 5 | ||||
-rw-r--r-- | lang/ruby16/Makefile | 5 |
3 files changed, 22 insertions, 15 deletions
diff --git a/lang/ruby-tcltklib/Makefile b/lang/ruby-tcltklib/Makefile index 660748d9505a..3e1703baee83 100644 --- a/lang/ruby-tcltklib/Makefile +++ b/lang/ruby-tcltklib/Makefile @@ -8,13 +8,12 @@ PORTNAME= tcltklib PORTVERSION= ${RUBY_PORTVERSION} CATEGORIES+= lang x11-toolkits ruby tcl${TCL_VERSION} 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 LIB_DEPENDS= ${TCL_LIB}.1:${PORTSDIR}/${TCL_CATEGORY}/tcl${TCL_VERSION} \ ${TK_LIB}.1:${PORTSDIR}/${TK_CATEGORY}/tk${TK_VERSION} @@ -22,9 +21,7 @@ USE_RUBY= yes USE_RUBY_EXTCONF= yes USE_XLIB= yes -MD5_FILE= ${PORTSDIR}/lang/ruby/distinfo - -WRKSRC= ${RUBY_WRKSRC}/ext/tcltklib +WRKSRC= ${WRKDIR}/${PORTNAME} CONFIGURE_ARGS= --with-tcllib="${TCL_LIB}" --with-tklib="${TK_LIB}" \ --with-tcl-lib="${LOCALBASE}/lib/${TCL_DIR}" \ --with-tk-lib="${LOCALBASE}/lib/${TK_DIR}" \ @@ -60,14 +57,18 @@ 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}/tcltklib - ${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/tcltklib/ - ${MKDIR} ${RUBY_EXAMPLESDIR}/tcltklib/demo - ${INSTALL_DATA} ${WRKSRC}/demo/* ${RUBY_EXAMPLESDIR}/tcltklib/demo/ - ${MKDIR} ${RUBY_DOCDIR}/tcltklib/ja - ${INSTALL_DATA} ${WRKSRC}/*.euc ${RUBY_DOCDIR}/tcltklib/ja/ + ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/ + ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}/demo + ${INSTALL_DATA} ${WRKSRC}/demo/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/demo/ + ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja + ${INSTALL_DATA} ${WRKSRC}/*.euc ${RUBY_DOCDIR}/${PORTNAME}/ja/ .endif .include <bsd.port.post.mk> diff --git a/lang/ruby/Makefile b/lang/ruby/Makefile index b34e244443d2..9d909c22a38d 100644 --- a/lang/ruby/Makefile +++ b/lang/ruby/Makefile @@ -47,9 +47,12 @@ CONFIGURE_ARGS+= --enable-ipv6 post-patch: find ${WRKSRC} -name '*.orig' -delete -.for d in Win32API gdbm tcltklib tk +.for d in Win32API ${RM} -rf ${WRKSRC}/ext/${d} .endfor +.for d in gdbm tcltklib tk + ${MV} ${WRKSRC}/ext/${d} ${WRKDIR}/ +.endfor post-install: strip ${RUBY} diff --git a/lang/ruby16/Makefile b/lang/ruby16/Makefile index b34e244443d2..9d909c22a38d 100644 --- a/lang/ruby16/Makefile +++ b/lang/ruby16/Makefile @@ -47,9 +47,12 @@ CONFIGURE_ARGS+= --enable-ipv6 post-patch: find ${WRKSRC} -name '*.orig' -delete -.for d in Win32API gdbm tcltklib tk +.for d in Win32API ${RM} -rf ${WRKSRC}/ext/${d} .endfor +.for d in gdbm tcltklib tk + ${MV} ${WRKSRC}/ext/${d} ${WRKDIR}/ +.endfor post-install: strip ${RUBY} |