aboutsummaryrefslogtreecommitdiff
path: root/sysutils/ucspi-tcp
diff options
context:
space:
mode:
authorJustin M. Seger <jseger@FreeBSD.org>1999-04-04 17:54:52 +0000
committerJustin M. Seger <jseger@FreeBSD.org>1999-04-04 17:54:52 +0000
commit9b8acfb3fd29afb2577446772b61c68ad62b3887 (patch)
tree253aaef2924d673e9b9cbbb116d8886521e8fe50 /sysutils/ucspi-tcp
parent0ed16ade28885e691d14fc4fb53db3b69ec2408a (diff)
downloadports-9b8acfb3fd29afb2577446772b61c68ad62b3887.tar.gz
ports-9b8acfb3fd29afb2577446772b61c68ad62b3887.zip
Notes
Diffstat (limited to 'sysutils/ucspi-tcp')
-rw-r--r--sysutils/ucspi-tcp/Makefile45
-rw-r--r--sysutils/ucspi-tcp/pkg-plist4
2 files changed, 41 insertions, 8 deletions
diff --git a/sysutils/ucspi-tcp/Makefile b/sysutils/ucspi-tcp/Makefile
index d1c991160d51..f02458d17501 100644
--- a/sysutils/ucspi-tcp/Makefile
+++ b/sysutils/ucspi-tcp/Makefile
@@ -1,9 +1,9 @@
# New ports collection makefile for: ucspi-tcp
-# Version required: 0.80
+# Version required: 0.84
# Date created: 12 June 1998
# Whom: Dom Mitchell <dom@myrddin.demon.co.uk>
#
-# $Id: Makefile,v 1.3 1998/07/27 00:08:10 steve Exp $
+# $Id$
#
DISTNAME= ucspi-tcp-0.84
@@ -12,17 +12,46 @@ MASTER_SITES= ftp://koobera.math.uic.edu/pub/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= it
-INSTALL_TARGET= setup
+ALL_TARGET= prog install instcheck
SCRIPTS_ENV= BINOWN="${BINOWN}" BINGRP="${BINGRP}" BINMODE="${BINMODE}" \
MANMODE="${MANMODE}" CFLAGS="${CFLAGS}"
-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
+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>
diff --git a/sysutils/ucspi-tcp/pkg-plist b/sysutils/ucspi-tcp/pkg-plist
index ecb6478d2a1d..07e40e25c69b 100644
--- a/sysutils/ucspi-tcp/pkg-plist
+++ b/sysutils/ucspi-tcp/pkg-plist
@@ -14,3 +14,7 @@ bin/tcprules
bin/tcprulescheck
bin/tcpserver
bin/who@
+share/doc/ucspi-tcp/BLURB
+share/doc/ucspi-tcp/TCP
+share/doc/ucspi-tcp/UCSPI
+@dirrm share/doc/ucspi-tcp