summaryrefslogtreecommitdiff
path: root/net/ucspi-tcp/Makefile
blob: 22075ec40f815313136d5c37d4aeae31dc28fceb (plain)
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
# $NetBSD: Makefile,v 1.9 2002/02/12 15:18:46 mrauch 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/				\
		ftp://cr.yp.to/djbdns/					\
		ftp://ftp.innominate.org/pub/pape/djb/
DISTFILES=	${DISTNAME}.tar.gz					\
		${DISTNAME}-man-20010502.tar.gz

MAINTAINER=	zuntum@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"
NO_BIN_ON_CDROM=${RESTRICTED}
NO_BIN_ON_FTP=	${RESTRICTED}

ALL_TARGET=	it
INSTALL_TARGET=	setup check

.if (${MACHINE_ARCH} == "arm32" && ${CFLAGS:M-O2} == "-O2")
CFLAGS:=	${CFLAGS:S/-O2/-O0/}
.endif
	
post-configure:
	${ECHO} ${PREFIX} > ${WRKSRC}/conf-home
	${ECHO} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
	${ECHO} ${CC} ${STRIPFLAG} > ${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

.include "../../mk/bsd.pkg.mk"