summaryrefslogtreecommitdiff
path: root/lang/ruby19-base/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ruby19-base/Makefile')
-rw-r--r--lang/ruby19-base/Makefile173
1 files changed, 0 insertions, 173 deletions
diff --git a/lang/ruby19-base/Makefile b/lang/ruby19-base/Makefile
deleted file mode 100644
index f12d27e1fae..00000000000
--- a/lang/ruby19-base/Makefile
+++ /dev/null
@@ -1,173 +0,0 @@
-# $NetBSD: Makefile,v 1.25 2012/07/25 19:27:09 bsiegert Exp $
-#
-
-DISTNAME= ${RUBY_DISTNAME}
-PKGNAME= ${RUBY_PKGPREFIX}-base-${RUBY_VERSION_FULL}
-PKGREVISION= 1
-CATEGORIES= lang ruby
-MASTER_SITES= ${MASTER_SITE_RUBY}
-#PKGREVISION=
-
-MAINTAINER= taca@NetBSD.org
-HOMEPAGE= ${RUBY_HOMEPAGE}
-COMMENT= Ruby ${RUBY_VERSION} release minimum package
-LICENSE= gnu-gpl-v2 OR ruby-license
-
-RUBY_VERSION_SUPPORTED= 19
-
-PKG_DESTDIR_SUPPORT= user-destdir
-
-USE_LANGUAGES= c
-USE_TOOLS+= pax yacc
-GNU_CONFIGURE= yes
-TEST_TARGET= test
-CONFIGURE_ARGS+= --enable-shared
-WRKSRC= ${RUBY_WRKSRC}
-
-MAKE_DIRS= ${RUBY_SITEARCHLIB} ${RUBY_VENDORARCHLIB}
-
-#
-# Don't refrect pkgsrc's INSTALL macro since Ruby expect it could
-# execute by unprivileged user.
-#
-CONFIGURE_ENV+= INSTALL="${INSTALL} ${COPY}" \
- INSTALL_DATA= INSTALL_PROGRAM= INSTALL_SCRIPT=
-
-.include "../../mk/compiler.mk"
-
-.if !empty(PKGSRC_COMPILER:Msunpro)
-LIBS.SunOS+= -B static -lsunmath -B dynamic -lm
-LDFLAGS.SunOS+= -L${SUNWSPROBASE}/lib -Wl,-R${SUNWSPROBASE}/lib
-CONFIGURE_ENV+= LDSHARED="${CC} -G"
-.else
-LIBS.SunOS+= -lm
-.endif
-
-.if ${OPSYS} == "SunOS"
-CONFIGURE_ENV+= OBJCOPY=:
-.endif
-
-.if ${OPSYS} == "MirBSD"
-# if present, an unsupported sysconf call is used
-CONFIGURE_ENV+= ac_cv_func_getgrnam_r=no
-.endif
-
-# Ruby build process depends on config.status's content
-CONFIG_STATUS_OVERRIDE= # empty
-
-MAKE_DIRS+= ${RUBY_SITERIDIR}
-FILES_SUBST+= DATE=${DATE:Q}
-
-REQD_DIRS+= ${GEM_HOME}/cache
-REQD_DIRS+= ${GEM_HOME}/doc
-
-SUBST_CLASSES+= conf
-SUBST_STAGE.conf= pre-install
-SUBST_FILES.conf= lib/rubygems/config_file.rb
-SUBST_SED.conf= -e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g"
-SUBST_MESSAGE.conf= Fixing configuration files.
-
-.include "options.mk"
-
-.include "../../lang/ruby/rubyversion.mk"
-
-.if !empty(RUBY_SUFFIX)
-CONFIGURE_ARGS+= --program-suffix=${RUBY_SUFFIX}
-CONFIGURE_ARGS+= --with-soname=${RUBY_NAME}
-CONFIGURE_ARGS+= --with-sitedir=${PREFIX}/${RUBY_SITELIB_BASE}
-CONFIGURE_ARGS+= --with-vendordir=${PREFIX}/${RUBY_VENDORLIB_BASE}
-CONFIGURE_ARGS+= --with-ruby-version=minor
-.endif
-
-#
-# IRIX work around which should be fixed.
-#
-PLIST_VARS+= io
-.if ${OPSYS} != "IRIX"
-PLIST.io= yes
-.endif
-
-#
-# Work around for getucontext(3)
-#
-.if ${OPSYS} == "DragonFly" && ${OS_VERSION} == "1.8.0"
-CONFIGURE_ENV+= ac_cv_header_ucontext_h=no
-.endif
-
-#
-# work around for getaddrinfo(3)
-#
-.if ${OPSYS} == "SunOS" && !empty(OS_VERSION:M5.[6-9])
-CONFIGURE_ARGS+= --enable-wide-getaddrinfo
-.endif
-
-#
-# work around for Linux
-#
-.if ${OPSYS} == "Linux"
-CONFIGURE_ENV+= MKDIR_P=${MKDIR:Q}
-.endif
-
-DOCS= COPYING COPYING.ja ChangeLog NEWS README \
- README.EXT README.EXT.ja README.ja ToDo \
- doc/ChangeLog-1.8.0 doc/ChangeLog-YARV doc/NEWS-1.8.7 \
- doc/forwardable.rd doc/forwardable.rd.ja \
- doc/irb/irb-tools.rd.ja doc/irb/irb.rd doc/irb/irb.rd.ja \
- doc/shell.rd doc/shell.rd.ja
-EXT_DOCS= bigdecimal/bigdecimal_en.html bigdecimal/bigdecimal_ja.html \
- syslog/syslog.txt
-
-BIGDECIMAL_EXAMPLES= linear.rb nlsolve.rb pi.rb
-OPENSSL_EXAMPLES= c_rehash.rb cert2text.rb certstore.rb cipher.rb \
- crlstore.rb echo_cli.rb echo_svr.rb gen_csr.rb \
- smime_read.rb smime_write.rb wget.rb
-
-REPLACE_RUBY_DIRS= bin ext lib sample
-INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${RUBY_ARCHINC} ${RUBY_ARCHLIB} \
- ${RUBY_DOC}/irb ${RUBY_DOC}/ripper \
- ${RUBY_DOC}/stringio ${RUBY_EG}/bigdecimal \
- ${RUBY_EG}/pty
-EMPTY_DIRS= generator/template markup/simple_markup
-
-pre-configure:
- ${RM} -f ${WRKSRC}/ext/curses/extconf.rb
- ${RM} -f ${WRKSRC}/ext/gdbm/extconf.rb
- ${RM} -f ${WRKSRC}/ext/fiddle/extconf.rb
- ${RM} -f ${WRKSRC}/ext/psych/extconf.rb
- ${RM} -f ${WRKSRC}/ext/readline/extconf.rb
- ${RM} -f ${WRKSRC}/ext/tk/extconf.rb
-
-pre-install:
- cd ${WRKSRC}/lib; \
- ${FIND} . \( -name '*.orig' -o -name '*.orig_dist' \) \
- -exec ${RM} -f {} \;
-.for f in ${EMPTY_DIRS}
- ${RMDIR} ${WRKSRC}/lib/rdoc/${f} 2>/dev/null || ${TRUE}
-.endfor
-
-post-install:
-.for f in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${RUBY_DOC}/${f:C/^doc\///}
-.endfor
-.for f in ${EXT_DOCS}
- ${INSTALL_DATA} ${WRKSRC}/ext/${f} ${DESTDIR}${PREFIX}/${RUBY_DOC}
-.endfor
- cd ${WRKSRC}/ext/ripper; ${PAX} -rw README ${DESTDIR}${PREFIX}/${RUBY_DOC}/ripper
- cd ${WRKSRC}/ext/stringio; ${PAX} -rw README ${DESTDIR}${PREFIX}/${RUBY_DOC}/stringio
- cd ${WRKSRC}/sample; ${PAX} -rw . ${DESTDIR}${PREFIX}/${RUBY_EG}
-.for f in ${BIGDECIMAL_EXAMPLES}
- ${INSTALL_DATA} ${RUBY_WRKSRC}/ext/bigdecimal/sample/${f} \
- ${DESTDIR}${PREFIX}/${RUBY_EG}/bigdecimal
-.endfor
-.for f in ${OPENSSL_EXAMPLES}
- ${INSTALL_DATA} ${RUBY_WRKSRC}/sample/openssl/${f} \
- ${DESTDIR}${PREFIX}/${RUBY_EG}/openssl
-.endfor
- ${RUBY_GENERATE_PLIST}
-
-.include "../../mk/bdb.buildlink3.mk"
-.include "../../converters/libiconv/buildlink3.mk"
-.include "../../devel/zlib/buildlink3.mk"
-.include "../../security/openssl/buildlink3.mk"
-.include "../../lang/ruby/Makefile.common"
-.include "../../mk/bsd.pkg.mk"