pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/ruby Remove rdoc.mk now.
details: https://anonhg.NetBSD.org/pkgsrc/rev/2b58b142b36a
branches: trunk
changeset: 362066:2b58b142b36a
user: taca <taca%pkgsrc.org@localhost>
date: Thu May 04 07:48:27 2017 +0000
description:
Remove rdoc.mk now.
diffstat:
lang/ruby/rdoc.mk | 44 --------------------------------------------
1 files changed, 0 insertions(+), 44 deletions(-)
diffs (48 lines):
diff -r 8a3350839127 -r 2b58b142b36a lang/ruby/rdoc.mk
--- a/lang/ruby/rdoc.mk Thu May 04 07:47:22 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-# $NetBSD: rdoc.mk,v 1.20 2014/03/14 19:33:10 taca Exp $
-
-.if !defined(_RUBY_RDOC_MK)
-_RUBY_RDOC_MK= # defined
-
-#
-# === Package-settable variables ===
-#
-# RUBY_RDOC_REQD
-# Specify minimum version of rdoc.
-#
-
-.if !empty(RUBY_RDOC_REQD)
-
-. if empty(RUBY_VER)
-. include "../../lang/ruby/rubyversion.mk"
-. endif
-
-_RDOC_REQD_MAJOR= ${RUBY_RDOC_REQD:C/\.[0-9\.]+$//}
-_RDOC_REQD_MINORS= ${RUBY_RDOC_REQD:C/^([0-9]+)\.*//}
-
-_RUBY_RDOC_MAJOR= ${RUBY_RDOC_VERSION:C/\.[0-9\.]+$//}
-_RUBY_RDOC_MINORS= ${RUBY_RDOC_VERSION:C/^([0-9]+)\.*//}
-
-_RUBY_RDOC_REQD= NO
-
-. if ${_RDOC_REQD_MAJOR} > ${_RUBY_RDOC_MAJOR}
-_RUBY_RDOC_REQD= YES
-. elif ${_RDOC_REQD_MAJOR} == ${_RUBY_RDOC_MAJOR}
-. if !empty(_RUBY_RDOC_MINORS) && ${_RDOC_REQD_MINORS} > ${_RUBY_RDOC_MINORS}
-_RUBY_RDOC_REQD= YES
-. endif
-. endif
-
-. if empty(_RUBY_RDOC_REQD:M[nN][oO])
-RDOC= ${PREFIX}/bin/rdoc
-. if empty(RUBY_BUILD_RI:M[nN][oO]) && empty(RUBY_BUILD_RDOC:M[nN][oO])
-# rdoc will be required at runtime, too.
-DEPENDS+= ${RUBY_PKGPREFIX}-rdoc>=${RUBY_RDOC_REQD}:../../devel/ruby-rdoc
-. endif
-. endif
-
-.endif
-.endif
Home |
Main Index |
Thread Index |
Old Index