pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/ruby Good by, json.mk. No package use it now.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4cc2c5b02f16
branches:  trunk
changeset: 363159:4cc2c5b02f16
user:      taca <taca%pkgsrc.org@localhost>
date:      Sat Jun 03 03:16:14 2017 +0000

description:
Good by, json.mk.  No package use it now.

diffstat:

 lang/ruby/json.mk |  93 -------------------------------------------------------
 1 files changed, 0 insertions(+), 93 deletions(-)

diffs (97 lines):

diff -r 8ebc337d145d -r 4cc2c5b02f16 lang/ruby/json.mk
--- a/lang/ruby/json.mk Sat Jun 03 03:06:27 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,93 +0,0 @@
-# $NetBSD: json.mk,v 1.8 2014/03/15 08:16:03 obache Exp $
-
-# This file handles appropriate dependency to ruby-json pacakge.
-#
-
-# === Package-settable variables ===
-#
-# RUBY_JSON_REQD
-#      Specify required version of ruby-json and optionally dependency
-#      method after colon.  For example, RUBY_JSON_REQD=1.8.0:build 
-#      request ruby-json 1.8.0 and later for BUILD_DEPENDS.
-#
-#      Default: (empty)
-#
-# RUBY_JSON_TYPE
-#      Specify depending packages: ruby-json, ruby-json-pure or both.
-#
-#      Possible values: json, pure
-#      Default: json
-#
-
-.if !defined(_RUBY_JSON_MK)
-_RUBY_JSON_MK= # defined
-
-RUBY_JSON_TYPE?= json
-
-.if empty(RUBY_JSON_REQD)
-WARNINGS+= "[lang/ruby/json.mk] No needs to include ../../lang/ruby/json.mk"
-.else # !empty(RUBY_JSON_REQD)
-
-.if !empty(RUBY_JSON_REQD:M*\:*)
-_RUBY_JSON_DEPENDS=    ${RUBY_JSON_REQD:C/([0-9\.]+)\:(.*)/\2/}
-_RUBY_JSON_VERS=       ${RUBY_JSON_REQD:C/([0-9\.]+)\:(.*)/\1/}
-.else
-_RUBY_JSON_DEPENDS=    full
-_RUBY_JSON_VERS=       ${RUBY_JSON_REQD}
-.endif
-
-.include "../../lang/ruby/rubyversion.mk"
-
-.  if empty(RUBY_JSON_VERSION)
-_RUBY_JSON_REQD=       true
-.  else
-
-_RUBY_JSON_MAJOR=      ${RUBY_JSON_VERSION:C/([0-9]+)\.([0-9]+)\.([0-9]+)/\1/}
-_RUBY_JSON_MINOR=      ${RUBY_JSON_VERSION:C/([0-9]+)\.([0-9]+)\.([0-9]+)/\2/}
-_RUBY_JSON_TEENY=      ${RUBY_JSON_VERSION:C/([0-9]+)\.([0-9]+)\.([0-9]+)/\3/}
-
-_RUBY_JSON_REQD_MAJOR= ${_RUBY_JSON_VERS:C/^([0-9]+).*/\1/}
-_RUBY_JSON_REQD_MINOR= \
-       ${_RUBY_JSON_VERS:C/^${_RUBY_JSON_REQD_MAJOR}\.?//:C/^([0-9]+).*/\1/}
-.    if empty(_RUBY_JSON_REQD_MINOR)
-_RUBY_JSON_REQD_MINOR= 0
-_RUBY_JSON_REQD_TEENY= 0
-.    else
-_RUBY_JSON_REQD_TEENY= \
-  ${_RUBY_JSON_VERS:C/^${_RUBY_JSON_REQD_MAJOR}\.${_RUBY_JSON_REQD_MINOR}\.?//}
-.    endif
-.    if empty(_RUBY_JSON_REQD_TEENY)
-_RUBY_JSON_REQD_TEENY= 0
-.    endif
-
-.    if ${_RUBY_JSON_REQD_MAJOR} > ${_RUBY_JSON_MAJOR}
-_RUBY_JSON_REQD=       true
-.    elif ${_RUBY_JSON_REQD_MAJOR} == ${_RUBY_JSON_MAJOR}
-.      if ${_RUBY_JSON_REQD_MINOR} > ${_RUBY_JSON_MINOR}
-_RUBY_JSON_REQD=       true
-.      elif ${_RUBY_JSON_REQD_MINOR} == ${_RUBY_JSON_MINOR}
-.        if ${_RUBY_JSON_REQD_TEENY} > ${_RUBY_JSON_TEENY}
-_RUBY_JSON_REQD=       true
-.        endif
-.      endif
-.    endif
-.  endif # empty(RUBY_JSON_VERSION)
-
-.  if !empty(_RUBY_JSON_REQD)
-.    if ${RUBY_JSON_TYPE} == "pure"
-_RUBY_JSON_PKGSRCDIR=  ../../textproc/ruby-json-pure
-_RUBY_JSON_PKGNAME=    ${RUBY_PKGPREFIX}-json-pure
-.    else
-_RUBY_JSON_PKGSRCDIR=  ../../textproc/ruby-json
-_RUBY_JSON_PKGNAME=    ${RUBY_PKGPREFIX}-json
-.    endif
-.    if ${_RUBY_JSON_DEPENDS} == "build"
-BUILD_DEPENDS+= ${_RUBY_JSON_PKGNAME}>=${_RUBY_JSON_VERS}:${_RUBY_JSON_PKGSRCDIR}
-.    else
-DEPENDS+= ${_RUBY_JSON_PKGNAME}>=${_RUBY_JSON_VERS}:${_RUBY_JSON_PKGSRCDIR}
-.    endif
-.  endif
-
-.endif # !empty(RUBY_JSON_REQD)
-
-.endif



Home | Main Index | Thread Index | Old Index