summaryrefslogtreecommitdiff
path: root/net/ucspi-tcp
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2004-07-22 01:04:35 +0000
committerschmonz <schmonz@pkgsrc.org>2004-07-22 01:04:35 +0000
commit74b20c27898a2ef8986a9cd8f1eee579af8ce811 (patch)
treeda40fecc66973909fe4981ba13987574fff86241 /net/ucspi-tcp
parent3d9b11e6bc30fd278280e9b981489bb5d027da7a (diff)
downloadpkgsrc-74b20c27898a2ef8986a9cd8f1eee579af8ce811.tar.gz
Clarify RESTRICTED. Set USE_BUILDLINK3=yes. Rename post-configure
to do-configure, and configure all the conf-* files. In post-install, install the man pages one at a time in a loop, both to simplify the Makefile and to help on our differently abled platforms. Sort PLIST. Take MAINTAINER.
Diffstat (limited to 'net/ucspi-tcp')
-rw-r--r--net/ucspi-tcp/Makefile19
-rw-r--r--net/ucspi-tcp/PLIST22
2 files changed, 21 insertions, 20 deletions
diff --git a/net/ucspi-tcp/Makefile b/net/ucspi-tcp/Makefile
index eb6ef8e0546..d10b11cb261 100644
--- a/net/ucspi-tcp/Makefile
+++ b/net/ucspi-tcp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2004/02/01 01:43:30 jlam Exp $
+# $NetBSD: Makefile,v 1.18 2004/07/22 01:04:35 schmonz Exp $
# FreeBSD Id: ports/sysutils/ucspi-tcp/Makefile,v 1.12 2000/07/10 01:41:24 steve Exp
DISTNAME= ucspi-tcp-0.88
@@ -9,14 +9,16 @@ MASTER_SITES= http://cr.yp.to/ucspi-tcp/ \
DISTFILES= ${DISTNAME}.tar.gz \
${DISTNAME}-man-20010502.tar.gz
-MAINTAINER= zuntum@NetBSD.org
+MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= http://cr.yp.to/ucspi-tcp.html
COMMENT= Command-line tools for building TCP client-server applications
-RESTRICTED= "Redistribution of modified package is forbidden"
+RESTRICTED= "modified source and binaries may not be distributed"
NO_BIN_ON_CDROM=${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
+USE_BUILDLINK3= yes
+
ALL_TARGET= it
INSTALL_TARGET= setup check
@@ -24,16 +26,15 @@ INSTALL_TARGET= setup check
GCC_REQD+= 3.0
.endif
-post-configure:
- ${ECHO} ${PREFIX} > ${WRKSRC}/conf-home
+do-configure:
${ECHO} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
${ECHO} ${CC} ${_STRIPFLAG_CC} > ${WRKSRC}/conf-ld
+ ${ECHO} ${PREFIX} > ${WRKSRC}/conf-home
post-install:
cd ${WRKDIR}/${DISTNAME}-man && \
- ${INSTALL_MAN} tcpserver.1 tcprules.1 tcprulescheck.1 argv0.1 \
- fixcrio.1 recordio.1 tcpclient.1 who@.1 date@.1 \
- finger@.1 http@.1 tcpcat.1 mconnect.1 addcr.1 delcr.1 \
- rblsmtpd.1 ${PREFIX}/man/man1
+ for i in *.1; do \
+ ${INSTALL_MAN} $${i} ${PREFIX}/man/man1; \
+ done
.include "../../mk/bsd.pkg.mk"
diff --git a/net/ucspi-tcp/PLIST b/net/ucspi-tcp/PLIST
index a9a294317cb..e6daf9cffcd 100644
--- a/net/ucspi-tcp/PLIST
+++ b/net/ucspi-tcp/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:59:40 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2004/07/22 01:04:35 schmonz Exp $
bin/addcr
bin/argv0
bin/date@
@@ -16,19 +16,19 @@ bin/tcprules
bin/tcprulescheck
bin/tcpserver
bin/who@
-man/man1/tcpserver.1
-man/man1/tcprules.1
-man/man1/tcprulescheck.1
+man/man1/addcr.1
man/man1/argv0.1
-man/man1/fixcrio.1
-man/man1/recordio.1
-man/man1/tcpclient.1
-man/man1/who@.1
man/man1/date@.1
+man/man1/delcr.1
man/man1/finger@.1
+man/man1/fixcrio.1
man/man1/http@.1
-man/man1/tcpcat.1
man/man1/mconnect.1
-man/man1/addcr.1
-man/man1/delcr.1
man/man1/rblsmtpd.1
+man/man1/recordio.1
+man/man1/tcpcat.1
+man/man1/tcpclient.1
+man/man1/tcprules.1
+man/man1/tcprulescheck.1
+man/man1/tcpserver.1
+man/man1/who@.1