pkgsrc/pkgtools/tnftp/Makefile
joerg 2a722b785e When calling bootstrap-register from the bootstrap script for the
various packages, pass down PKG_PRESERVE. Remove the default setting of
PKG_PRESERVE, it makes perfect sense to install e.g. pkgtools/mtree
and be able to remove it again, if it is not an essientiel tool.

OK jlam@
2007-04-12 14:36:40 +00:00

28 lines
626 B
Makefile

# $NetBSD: Makefile,v 1.2 2007/04/12 14:36:41 joerg Exp $
#
# This version of tnftp installs into ${PKG_TOOLS_BIN}.
#
.include "../../net/tnftp/Makefile.common"
CATEGORIES= pkgtools
NO_PKGTOOLS_REQD_CHECK= 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}