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
38 lines
1.1 KiB
Makefile
38 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.32 2007/10/25 22:00:43 jlam Exp $
|
|
|
|
PKGNAME= subversion-${SVNVER}
|
|
COMMENT= Version control system, meta-package
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
.include "../../devel/subversion/Makefile.common"
|
|
|
|
DEPENDS+= subversion-base-${SVNVER}{,nb[0-9]*}:../../devel/subversion-base
|
|
DEPENDS+= p5-subversion-${SVNVER}{,nb[0-9]*}:../../devel/p5-subversion
|
|
.if !empty(PKG_OPTIONS:Mapache22)
|
|
DEPENDS+= ap22-subversion-${SVNVER}{,nb[0-9]*}:../../www/ap2-subversion
|
|
.else
|
|
DEPENDS+= ap2-subversion-${SVNVER}{,nb[0-9]*}:../../www/ap2-subversion
|
|
.endif
|
|
DEPENDS+= ${PYPKGPREFIX}-subversion-${SVNVER}{,nb[0-9]*}:../../devel/py-subversion
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-subversion-${SVNVER}{,nb[0-9]*}:../../devel/ruby-subversion
|
|
|
|
|
|
CATEGORIES+= meta-pkgs
|
|
|
|
EXTRACT_ONLY= # empty
|
|
NO_CHECKSUM= YES
|
|
NO_CONFIGURE= YES
|
|
NO_BUILD= YES
|
|
PLIST_SRC= # empty (meta-package)
|
|
|
|
.include "../../lang/python/pyversion.mk"
|
|
.include "../../lang/ruby/rubyversion.mk"
|
|
|
|
# The NO_PATCH macro is gone so we have to do this to prevent the
|
|
# patches from being applied:
|
|
do-patch:
|
|
|
|
do-install:
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|