summaryrefslogtreecommitdiff
path: root/net/ucspi-tcp/Makefile
blob: 0e254588e2c926b60841e64cefa9a1cbe86a3a6b (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.15 2003/09/12 20:07:25 grant 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} == "arm" || ${MACHINE_ARCH} == "arm32"
USE_GCC3=	# defined
.endif

post-configure:
	${ECHO} ${PREFIX} > ${WRKSRC}/conf-home
	${ECHO} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
	${ECHO} ${CC} ${_STRIPFLAG_CC} > ${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"