b2cf461775
not depend on java unless the option is selected. Resolves problem of default dependency on non-portable and non-Free code in a Free package. Approved in concept by epg. PKGREVISION++.
41 lines
1.2 KiB
Makefile
41 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.36 2008/07/02 13:14:23 gdt Exp $
|
|
|
|
PKGNAME= subversion-${SVNVER}
|
|
PKGREVISION= 2
|
|
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+= ${APACHE_PKG_PREFIX}-subversion-${SVNVER}{,nb[0-9]*}:../../www/ap2-subversion
|
|
DEPENDS+= p5-subversion-${SVNVER}{,nb[0-9]*}:../../devel/p5-subversion
|
|
DEPENDS+= ${PYPKGPREFIX}-subversion-${SVNVER}{,nb[0-9]*}:../../devel/py-subversion
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-subversion-${SVNVER}{,nb[0-9]*}:../../devel/ruby-subversion
|
|
|
|
.if !empty(PKG_OPTIONS:Mjava)
|
|
# The standard implementation of java is non-portable and non-free, so
|
|
# we do not depend on it by default.
|
|
DEPENDS+= java-subversion-${SVNVER}{,nb[0-9]*}:../../devel/java-subversion
|
|
.endif
|
|
|
|
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"
|
|
.include "../../mk/apache.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"
|