diff options
author | jlam <jlam> | 2006-07-14 21:41:42 +0000 |
---|---|---|
committer | jlam <jlam> | 2006-07-14 21:41:42 +0000 |
commit | 772d32e004a44e6100021e6fa7813381667a6845 (patch) | |
tree | a119297d73e40b71606780428a0069dd545aaa3e /pkgtools/tnftp | |
parent | 8236f84f57956b8f43bae8f536ecee298b49581b (diff) | |
download | pkgsrc-772d32e004a44e6100021e6fa7813381667a6845.tar.gz |
Create a separate pkgtools/tnftp package that is installed as part of
the bootstrap process and which may be needed by pkg_install. This
is distinct from the net/tnftp package that is now a "normal" package.
Modify the bootstrap script to use pkgtools/tnftp instead, and clean up
some of the registration code.
Diffstat (limited to 'pkgtools/tnftp')
-rw-r--r-- | pkgtools/tnftp/Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgtools/tnftp/Makefile b/pkgtools/tnftp/Makefile new file mode 100644 index 00000000000..8ab0fceddbf --- /dev/null +++ b/pkgtools/tnftp/Makefile @@ -0,0 +1,29 @@ +# $NetBSD: Makefile,v 1.1 2006/07/14 21:41:42 jlam Exp $ +# +# This version of tnftp installs into ${PKG_TOOLS_BIN}. +# + +.include "../../net/tnftp/Makefile.common" + +CATEGORIES= pkgtools + +NO_PKGTOOLS_REQD_CHECK= yes +PKG_PRESERVE= yes + +PKG_TOOLS_PREFIX= ${PKG_TOOLS_BIN:C|/[^/]?bin$||} + +# XXX This breaks for those who set their own LOCALBASE to "/usr" and also +# XXX set PKGMANDIR to be other than "share/man". +# XXX +.if !empty(PKG_TOOLS_PREFIX:M/usr) +PKGMANDIR= share/man +.endif + +.if ${PKG_TOOLS_PREFIX} == ${LOCALBASE} +CONFLICTS+= kth-krb4-[0-9]* +CONFLICTS+= lukemftp-[0-9]* +.endif + +.include "../../mk/bsd.pkg.mk" + +PREFIX:= ${PKG_TOOLS_PREFIX} |