aboutsummaryrefslogtreecommitdiffstats
path: root/net/44bsd-rdist/Makefile
blob: 94680b4e60e03f6b5b0dfcc471259424b249da9a (plain) (blame)
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
# Created by: David O'Brien <obrien@NUXI.com>
# $FreeBSD$

PORTNAME=   44bsd-rdist
PORTVERSION=    20001111
PORTREVISION=   1
CATEGORIES= net
MASTER_SITES=   LOCAL/cy

MAINTAINER= cy@FreeBSD.org
COMMENT=    The traditional 4.4BSD rdist


USES=       tar:bzip2

NO_WRKSUBDIR=   yes
PLIST_FILES=    bin/44bsd-rdist \
        man/man1/44bsd-rdist.1.gz

.include <bsd.port.pre.mk>

.if  ${OSVERSION} >= 1000055
EXTRACT_DEPENDS=    rcs:devel/rcs57
.endif

post-extract:
    cd ${WRKSRC} ; co RCS/*,v

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/rdist ${STAGEDIR}${PREFIX}/bin/44bsd-rdist
    ${INSTALL_MAN} ${WRKSRC}/rdist.1 ${STAGEDIR}${PREFIX}/man/man1/44bsd-rdist.1

tarup:
    -cd ${WRKSRC} ; ${RM} *
    cd ${WRKSRC} ; ${TAR} cvyf /tmp/${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} .

.include <bsd.port.post.mk>