diff options
author | hubertf <hubertf@pkgsrc.org> | 2001-03-06 15:22:27 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2001-03-06 15:22:27 +0000 |
commit | 21163b9a080d1a410f9b36f4d9f0adc3fa0ea120 (patch) | |
tree | a2f34d0d5c11dd7281c89d077ce33d36989ad865 /net/ucspi-tcp | |
parent | 9c273b7c7868294492e69114f75fc6c8a7f8b809 (diff) | |
download | pkgsrc-21163b9a080d1a410f9b36f4d9f0adc3fa0ea120.tar.gz |
* Rework Makefile a little
* Set NO_BIN_ON_CDROM and NO_BIN_ON_FTP due to djb's licence
Patch contributed by Tomasz Luchowski <zuntum@eik.pl> in private mail.
Diffstat (limited to 'net/ucspi-tcp')
-rw-r--r-- | net/ucspi-tcp/Makefile | 37 |
1 files changed, 18 insertions, 19 deletions
diff --git a/net/ucspi-tcp/Makefile b/net/ucspi-tcp/Makefile index 0f39aa950a4..fb8a1542dda 100644 --- a/net/ucspi-tcp/Makefile +++ b/net/ucspi-tcp/Makefile @@ -1,36 +1,35 @@ -# $NetBSD: Makefile,v 1.3 2001/02/17 18:19:50 wiz Exp $ +# $NetBSD: Makefile,v 1.4 2001/03/06 15:22:27 hubertf Exp $ # FreeBSD Id: ports/sysutils/ucspi-tcp/Makefile,v 1.12 2000/07/10 01:41:24 steve Exp DISTNAME= ucspi-tcp-0.88 CATEGORIES= sysutils net -MASTER_SITES= http://cr.yp.to/ucspi-tcp/ \ +MASTER_SITES= http://cr.yp.to/ucspi-tcp/ \ + ftp://cr.yp.to/djbdns/ \ ftp://ftp.innominate.org/gpa/djb/ -DISTFILES= ucspi-tcp-0.88.tar.gz \ - ucspi-tcp-0.88-man.tar.gz +DISTFILES= ${DISTNAME}.tar.gz \ + ${DISTNAME}-man.tar.gz MAINTAINER= zuntum@eik.pl HOMEPAGE= http://cr.yp.to/ucspi-tcp.html COMMENT= Command-line tools for building TCP client-server applications -ALL_TARGET= prog install instcheck +RESTRICTED= "Redistribution of modified package is forbidden" +NO_BIN_ON_CDROM=${RESTRICTED} +NO_BIN_ON_FTP= ${RESTRICTED} -SCRIPTS_ENV= BINOWN="${BINOWN}" BINGRP="${BINGRP}" BINMODE="${BINMODE}" \ - MANMODE="${MANMODE}" CFLAGS="${CFLAGS}" +ALL_TARGET= it +INSTALL_TARGET= setup check post-configure: - @${ECHO} ${PREFIX} > ${WRKSRC}/conf-home - @${ECHO} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc - @${ECHO} ${CC} -s > ${WRKSRC}/conf-ld - -do-install: -.for f in addcr argv0 delcr fixcrio mconnect-io rblsmtpd recordio tcpclient tcprules tcprulescheck tcpserver - ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin -.endfor -.for f in date@ finger@ http@ mconnect who@ tcpcat - ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/bin -.endfor + ${ECHO} ${PREFIX} > ${WRKSRC}/conf-home + ${ECHO} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc + ${ECHO} ${CC} -s > ${WRKSRC}/conf-ld 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 + 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 .include "../../mk/bsd.pkg.mk" |