pkgsrc/lang/ruby18/Makefile
jlam ae9b935fd0 * If PLIST_SRC is explicitly set to an empty value in a package Makefile,
then automatically generate a PLIST that says "${PKGNAME} has no files".

* If PLIST_SRC and GENERATE_PLIST are not set in a package Makefile,
  and no PLIST files exist, then fail during the package build with
  PKG_FAIL_REASON.

* Remove "intentionally empty" PLISTs again.

Now, the easy way to say that a package installs no files is to just
add the following to the package Makefile:

	PLIST_SRC=	# empty
2007-10-25 22:00:39 +00:00

31 lines
985 B
Makefile

# $NetBSD: Makefile,v 1.18 2007/10/25 22:00:48 jlam Exp $
#
DISTNAME= # empty
PKGNAME= ${RUBY_PKGPREFIX}-${RUBY_VERSION_SUFFIX}
CATEGORIES= lang ruby
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= taca@NetBSD.org
HOMEPAGE= http://www.ruby-lang.org/en/
COMMENT= Ruby programming language ${RUBY_VERSION} meta package
DEPENDS+= ${RUBY_PKGPREFIX}-base>=${RUBY_VERSION}:../../lang/ruby18-base
DEPENDS+= ${RUBY_PKGPREFIX}-gdbm>=${RUBY_VERSION}:../../databases/ruby-gdbm
DEPENDS+= ${RUBY_PKGPREFIX}-curses>=${RUBY_VERSION}:../../devel/ruby-curses
DEPENDS+= ${RUBY_PKGPREFIX}-readline>=${RUBY_VERSION}:../../devel/ruby-readline
DEPENDS+= ${RUBY_PKGPREFIX}-tk>=${RUBY_VERSION}:../../x11/ruby-tk
RUBY_VERSION= ${RUBY18_VERSION}
NO_CHECKSUM= yes
NO_CONFIGURE= yes
NO_BUILD= yes
PLIST_SRC= # empty (meta-package)
do-install:
@${ECHO_MSG} This is only a meta package.
.include "../../lang/ruby/rubyversion.mk"
.include "../../lang/ruby/Makefile.common"
.include "../../mk/bsd.pkg.mk"