aboutsummaryrefslogtreecommitdiffstats
path: root/net/44bsd-rdist/Makefile
blob: 4274b59eba7e39a61674614c1d4c8ac785f3d81f (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
CATEGORIES= net
MASTER_SITES=   ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= 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
BUILD_DEPENDS=    rcs:${PORTSDIR}/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>