Pullup ticket #2848 - requested by adrianp
[pkgsrc.git] / net / sdist / Makefile
1 # $NetBSD: Makefile,v 1.13 2007/12/24 08:34:51 obache Exp $
2 #
3
4 DISTNAME=               sdist-1.7
5 PKGREVISION=            1
6 CATEGORIES=             net
7 MASTER_SITES=           ftp://ftp.gw.com/pub/people/kim/
8
9 MAINTAINER=             kim@tac.nyc.ny.us
10 COMMENT=                Invoke rdist to distribute files to a set of hosts
11
12 PKG_DESTDIR_SUPPORT=    user-destdir
13
14 DEPENDS+=               netname-[0-9]*:../../net/netname
15 DEPENDS+=               osname-[0-9]*:../../sysutils/osname
16 DEPENDS+=               freerdist-[0-9]*:../../net/rdist6
17 DEPENDS+=               srsh-[0-9]*:../../net/srsh
18
19 .include "../../mk/bsd.prefs.mk"
20
21 SDIST_PAWD?=            pwd
22
23 BUILD_DEFS+=            SDIST_PAWD
24
25 INSTALLATION_DIRS=      sbin ${PKGMANDIR}/man8
26 NO_CONFIGURE=           yes
27 BUILD_MAKE_FLAGS+=      PREFIX=${PREFIX} PAWD=${SDIST_PAWD}
28 INSTALL_MAKE_FLAGS+=    PREFIX=${DESTDIR}${PREFIX}
29
30 PKG_DESTDIR_SUPPORT=    user-destdir
31
32 SUBST_CLASSES+=         manpath
33 SUBST_STAGE.manpath=    post-extract
34 SUBST_FILES.manpath=    Makefile
35 SUBST_SED.manpath=      -e 's,/man/,/${PKGMANDIR}/,'
36
37 .include "../../mk/bsd.pkg.mk"