aboutsummaryrefslogtreecommitdiffstats
path: root/net/scotty/Makefile
blob: 53cd44a5c804818a834ef0a0283356d3a3e8cca3 (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
38
39
40
41
42
43
# New ports collection makefile for:    scotty
# Version required: 2.1.3
# Date created:     18 Februar 1995
# Whom:         Gennady Sorokopud <gena@netvision.net.il>
#
# $Id: Makefile,v 1.16 1997/03/04 22:34:21 phk Exp $
#

DISTNAME=   scotty-2.1.5
CATEGORIES= net
MASTER_SITES=   ftp://ftp.ibr.cs.tu-bs.de/pub/local/tkined/

MAINTAINER= phk@freebsd.org

LIB_DEPENDS=    tk41\\.1\\.:${PORTSDIR}/x11/tk41

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-tcl-config=/usr/libdata/tcl \
        --with-tk-config=/usr/local/lib

WRKSRC=${WRKDIR}/${DISTNAME}/unix
MAN1=       tkined.1 scotty.1
MAN8=       ntping.8 straps.8
MANN=       Tnm.n cmip.n dns.n gdmo.n http.n icmp.n ined.n job.n \
        mib.n msqltcl.n netdb.n ntp.n rpc.n snmp.n sunrpc.n \
        syslog.n udp.n
PLIST=      ${PKGDIR}/PLIST.tmp

pre-install:
    @cd ${WRKSRC};make sinstall
    @${CP} ${WRKSRC}/../tnm/ntping/ntping.8 ${WRKSRC}/../doc
    @sed "s,@FREEBSD_VERSION@,$$(uname -m)-$$(uname)-$$(uname -r)," pkg/PLIST >/tmp/PLIST
.if defined(NOMANCOMPRESS)
    @sed "s,@GZIP@,," /tmp/PLIST >pkg/PLIST.tmp
.else
    @sed "s,@GZIP@,.gz," /tmp/PLIST >pkg/PLIST.tmp
.endif
    @${RM} /tmp/PLIST

pre-clean:
    @${RM} -f pkg/PLIST.tmp

.include <bsd.port.mk>