1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/sysutils/Tee/Makefile
2004-02-06 13:12:53 +00:00

43 lines
1.1 KiB
Makefile

# New ports collection makefile for: Tee
# Date created: Nov 1 2002
# Whom: Stephen Gunn <csg@fedex.com>, <csg@waterspout.com>
#
# $FreeBSD$
#
PORTNAME= Tee
PORTVERSION= 3.4
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.physics.purdue.edu/pub/pundits/ \
http://archive.progeny.com/pundits/
DISTNAME= xapply-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= csg@fedex.com
COMMENT= An enhanced version of tee(1)
BUILD_DEPENDS= makeme:${PORTSDIR}/devel/msrc0 \
mkcmd:${PORTSDIR}/devel/mkcmd
USE_REINPLACE= yes
MAKE_FLAGS=
MAKEFILE=
MAN1= ${PORTNAME}.1
PLIST_FILES= bin/Tee
post-patch:
@${REINPLACE_CMD} -e 's,CFLAGS=,CFLAGS+=,' -e 's,^DEBUG,#DEBUG,'\
-e 's,gcc,${CC},' ${WRKSRC}/bin/Tee/Make.host
do-build:
( cd ${WRKSRC}/bin/${PORTNAME} && ${SETENV} ${MAKE_ENV} makeme \
${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET} )
do-install:
( cd ${WRKSRC}/bin/Tee && ${SETENV} ${MAKENV} makeme \
${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET} )
${INSTALL_MAN} ${WRKSRC}/bin/${PORTNAME}/${PORTNAME}.man \
${PREFIX}/man/man1/${PORTNAME}.1
.include <bsd.port.mk>