blob: 6d94910b2b6560e226dc3e5fe68f236873214495 (
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# New ports collection makefile for: ucspi-tcp
# Date created: 12 June 1998
# Whom: Dom Mitchell <dom@myrddin.demon.co.uk>
#
# $FreeBSD$
#
PORTNAME= ucspi-tcp
PORTVERSION= 0.84
CATEGORIES= sysutils net
MASTER_SITES= http://cr.yp.to/software/
MAINTAINER= dom@myrddin.demon.co.uk
MAN1= tcpclient.1 tcpserver.1 tcprules.1 tcprulescheck.1 \
fixcr.1 addcr.1 delcr.1 who@.1 date@.1 finger@.1 http@.1 \
tcpcat.1 mconnect.1 argv0.1 recordio.1
MAN5= tcp-environ.5
.if defined(NOPORTDOCS)
PLIST= ${PKGDIR}/PLIST.nodocs
.endif
NO_PACKAGE= Unsure of djb's license
ALL_TARGET= prog install instcheck
SCRIPTS_ENV= BINOWN="${BINOWN}" BINGRP="${BINGRP}" BINMODE="${BINMODE}" \
MANMODE="${MANMODE}" CFLAGS="${CFLAGS}"
post-configure:
@${ECHO} ${PREFIX} > ${WRKSRC}/conf-home
@${ECHO} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
@${ECHO} ${CC} -s > ${WRKSRC}/conf-ld
do-install:
.for file in addcr argv0 delcr fixcr mconnect-io recordio tcpclient tcprules tcprulescheck tcpserver
@${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin
.endfor
.for file in date@ finger@ http@ mconnect who@ tcpcat
@${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PREFIX}/bin
.endfor
.for file in ${MAN1}
@${INSTALL_MAN} ${WRKSRC}/${file} ${PREFIX}/man/man1
.endfor
.for file in ${MAN5}
@${INSTALL_MAN} ${WRKSRC}/${file} ${PREFIX}/man/man5
.endfor
.if !defined(NOPORTDOCS)
@${ECHO} "===> Copying documents to ${PREFIX}/share/doc/ucspi-tcp"
@${MKDIR} ${PREFIX}/share/doc/ucspi-tcp
.for file in BLURB TCP UCSPI
@${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/ucspi-tcp
.endfor
.endif
.include <bsd.port.mk>
|