1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/sysutils/ucspi-tcp/Makefile
Pav Lucistnik 81ae7eda3d - Put an option WITH_RSS_DIFF to apply ucspi-rss.diff, like Volker told on the
old PR, this is not a mandatory patch. It's useful just with qmail.
- SIZEify

PR:		ports/77397
Submitted by:	Renato Botelho <renato@galle.com.br>
Approved by:	Dominic Mitchell <dom@happygiraffe.net> (maintainer)
2005-02-17 08:53:06 +00:00

59 lines
1.6 KiB
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
PORTREVISION= 1
CATEGORIES= sysutils net
MASTER_SITES= http://cr.yp.to/ucspi-tcp/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
.if defined(WITH_RSS_DIFF)
PATCH_SITES= http://www.qmail.org/
PATCHFILES= ucspi-rss.diff
PATCH_DIST_STRIP= -p1
.endif
MAINTAINER= dom@happygiraffe.net
COMMENT= Command-line tools for building TCP client-server applications
.if !defined(WITHOUT_MAN)
MASTER_SITES+= http://smarden.org/pape/djb/manpages/:1
DISTFILES+= ${DISTNAME}-man.tar.gz:1
MAN1= addcr.1 argv0.1 date@.1 delcr.1 finger@.1 fixcrio.1 \
http@.1 mconnect.1 rblsmtpd.1 recordio.1 tcpcat.1 \
tcpclient.1 tcprules.1 tcprulescheck.1 tcpserver.1 who@.1
.endif
NO_PACKAGE= "Unsure of djb\'s license"
ALL_TARGET= prog install instcheck
SCRIPTS_ENV= BINOWN="${BINOWN}" BINGRP="${BINGRP}" BINMODE="${BINMODE}" \
MANMODE="${MANMODE}" CFLAGS="${CFLAGS}"
.include <bsd.port.pre.mk>
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_name in addcr argv0 delcr fixcrio mconnect-io rblsmtpd recordio tcpclient tcprules tcprulescheck tcpserver
@${INSTALL_PROGRAM} ${WRKSRC}/${file_name} ${PREFIX}/bin
.endfor
.for file_name in date@ finger@ http@ mconnect who@ tcpcat
@${INSTALL_SCRIPT} ${WRKSRC}/${file_name} ${PREFIX}/bin
.endfor
.if !defined(WITHOUT_MAN)
@cd ${WRKSRC}-man; ${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1/
.endif
.include <bsd.port.post.mk>