diff options
-rw-r--r-- | databases/ruby-gdbm/Makefile | 13 | ||||
-rw-r--r-- | lang/ruby-tcltklib/Makefile | 27 | ||||
-rw-r--r-- | lang/ruby/Makefile | 5 | ||||
-rw-r--r-- | lang/ruby16/Makefile | 5 | ||||
-rw-r--r-- | x11-toolkits/ruby-tk/Makefile | 19 |
5 files changed, 39 insertions, 30 deletions
diff --git a/databases/ruby-gdbm/Makefile b/databases/ruby-gdbm/Makefile index 40ae0d021168..59ca275b1f62 100644 --- a/databases/ruby-gdbm/Makefile +++ b/databases/ruby-gdbm/Makefile @@ -8,22 +8,23 @@ PORTNAME= gdbm PORTVERSION= ${RUBY_PORTVERSION} CATEGORIES= databases ruby -MASTER_SITES= ${MASTER_SITE_RUBY} -MASTER_SITE_SUBDIR= ${RUBY_VER} +MASTER_SITES= # none PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} -DISTNAME= ${RUBY_DISTNAME} -DIST_SUBDIR= ruby +DISTFILES= # none MAINTAINER= knu@FreeBSD.org +BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/${RUBY_PORT}:patch LIB_DEPENDS= gdbm.2:${PORTSDIR}/databases/gdbm USE_RUBY= yes USE_RUBY_EXTCONF= yes -MD5_FILE= ${PORTSDIR}/lang/ruby/distinfo +WRKSRC= ${WRKDIR}/${PORTNAME} -WRKSRC= ${RUBY_WRKSRC}/ext/gdbm +do-extract: + ${MKDIR} ${WRKDIR} + ${LN} -sf `cd ${PORTSDIR}/${RUBY_PORT} && ${MAKE} -V WRKDIR`/${PORTNAME} ${WRKDIR}/ post-install: @${CAT} ${PKGMESSAGE} 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} 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> |