aboutsummaryrefslogtreecommitdiffstats
path: root/net/rdist6/Makefile
blob: 4ed2f27206eddb30175bde4433457cedd903f9ed (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
# New ports collection makefile for:    rdist
# Version required: rdist-6.1.4
# Date created:     19 August 1995
# Whom:         peter
#
# $Id: Makefile,v 1.14 1998/08/22 17:27:00 hoek Exp $
#

DISTNAME=   rdist-6.1.4
CATEGORIES= net
MASTER_SITES=   http://www.magnicomp.com/download/rdist/ \
        ftp://ftp.rge.com/pub/admin/rdist/ \
        ftp://ftp.sunet.se/pub/unix/admin/mirror-magnicomp/download/rdist/

MAINTAINER= peter@FreeBSD.org

OSVERSION!=     sysctl -n kern.osreldate
.if ${OSVERSION} >= 300000
BROKEN=         MOUNT_NFS undeclared
.endif

# To avoid confusion with /usr/bin/rdist, you may prefer otherwise.
RDIST_NAME?=    rdist6

INSTALL_TARGET= install install.man
MAKE_ENV=   BUILD_OPT="${CFLAGS}" BUILD_CLIENT=${RDIST_NAME}
MAN1=       ${RDIST_NAME}.1
MAN8=       rdistd.8
PLIST_SUB=  RDIST_NAME=${RDIST_NAME}

post-install:
    @strip ${PREFIX}/bin/${RDIST_NAME}
    @strip ${PREFIX}/bin/rdistd

.include <bsd.port.mk>