summaryrefslogtreecommitdiff
path: root/net/sdist/Makefile
blob: d479d9b67545e0d0304657998d1df7f6b873c83b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# $NetBSD: Makefile,v 1.15 2011/03/17 22:00:48 zafer Exp $
#

DISTNAME=		sdist-1.7
PKGREVISION=		1
CATEGORIES=		net
MASTER_SITES=		# ftp://ftp.gw.com/pub/people/kim/

MAINTAINER=		kim@tac.nyc.ny.us
COMMENT=		Invoke rdist to distribute files to a set of hosts

PKG_DESTDIR_SUPPORT=	user-destdir

DEPENDS+=		netname-[0-9]*:../../net/netname
DEPENDS+=		osname-[0-9]*:../../sysutils/osname
DEPENDS+=		freerdist-[0-9]*:../../net/rdist6
DEPENDS+=		srsh-[0-9]*:../../net/srsh

.include "../../mk/bsd.prefs.mk"

SDIST_PAWD?=		pwd

BUILD_DEFS+=		SDIST_PAWD

INSTALLATION_DIRS=	sbin ${PKGMANDIR}/man8
NO_CONFIGURE=		yes
BUILD_MAKE_FLAGS+=	PREFIX=${PREFIX} PAWD=${SDIST_PAWD}
INSTALL_MAKE_FLAGS+=	PREFIX=${DESTDIR}${PREFIX}

PKG_DESTDIR_SUPPORT=	user-destdir

SUBST_CLASSES+=		manpath
SUBST_STAGE.manpath=	post-extract
SUBST_FILES.manpath=	Makefile
SUBST_SED.manpath=	-e 's,/man/,/${PKGMANDIR}/,'

.include "../../mk/bsd.pkg.mk"