77f6c01ede
the ECHO macro is set to "echo" by default, but it is set to "true" if make(1) is invoked with the -s option while ECHO_CMD is always set to the echo command.
36 lines
951 B
Makefile
36 lines
951 B
Makefile
# New ports collection makefile for: ucspi-tcp
|
|
# Date created: 12 June 1998
|
|
# Whom: Dom Mitchell <dom@happygiraffe.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ucspi-tcp
|
|
PORTVERSION= 0.88
|
|
CATEGORIES= sysutils net
|
|
MASTER_SITES= http://cr.yp.to/ucspi-tcp/
|
|
|
|
MAINTAINER= dom@happygiraffe.net
|
|
|
|
NO_PACKAGE= "Unsure of djb\'s license"
|
|
|
|
ALL_TARGET= prog install instcheck
|
|
|
|
SCRIPTS_ENV= BINOWN="${BINOWN}" BINGRP="${BINGRP}" BINMODE="${BINMODE}" \
|
|
MANMODE="${MANMODE}" CFLAGS="${CFLAGS}"
|
|
|
|
post-configure:
|
|
@${ECHO_CMD} ${PREFIX} > ${WRKSRC}/conf-home
|
|
@${ECHO_CMD} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
|
|
@${ECHO_CMD} ${CC} -s > ${WRKSRC}/conf-ld
|
|
|
|
do-install:
|
|
.for file in addcr argv0 delcr fixcrio mconnect-io rblsmtpd 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
|
|
|
|
.include <bsd.port.mk>
|