1998-07-09 10:18:42 +00:00
|
|
|
# New ports collection makefile for: ucspi-tcp
|
|
|
|
# Date created: 12 June 1998
|
|
|
|
# Whom: Dom Mitchell <dom@myrddin.demon.co.uk>
|
|
|
|
#
|
1999-08-31 02:00:46 +00:00
|
|
|
# $FreeBSD$
|
1998-07-09 10:18:42 +00:00
|
|
|
#
|
|
|
|
|
2000-04-09 19:09:11 +00:00
|
|
|
PORTNAME= ucspi-tcp
|
|
|
|
PORTVERSION= 0.84
|
1998-07-26 18:33:16 +00:00
|
|
|
CATEGORIES= sysutils net
|
2000-02-09 04:52:57 +00:00
|
|
|
MASTER_SITES= http://cr.yp.to/software/
|
1998-07-09 10:18:42 +00:00
|
|
|
|
|
|
|
MAINTAINER= dom@myrddin.demon.co.uk
|
|
|
|
|
1999-04-04 17:54:52 +00:00
|
|
|
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
|
|
|
|
|
1998-07-09 10:18:42 +00:00
|
|
|
NO_PACKAGE= Unsure of djb's license
|
|
|
|
|
1999-04-04 17:54:52 +00:00
|
|
|
ALL_TARGET= prog install instcheck
|
1998-07-09 10:18:42 +00:00
|
|
|
|
|
|
|
SCRIPTS_ENV= BINOWN="${BINOWN}" BINGRP="${BINGRP}" BINMODE="${BINMODE}" \
|
|
|
|
MANMODE="${MANMODE}" CFLAGS="${CFLAGS}"
|
|
|
|
|
1999-04-04 17:54:52 +00:00
|
|
|
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
|
1998-07-09 10:18:42 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|