1999-08-27 23:37:10 +00:00
|
|
|
# $FreeBSD$
|
1996-08-20 23:58:03 +00:00
|
|
|
|
2000-01-10 11:38:51 +00:00
|
|
|
MAINTAINER= peter@FreeBSD.org
|
1999-12-08 16:43:32 +00:00
|
|
|
|
1996-08-20 23:58:03 +00:00
|
|
|
.include "${.CURDIR}/../Makefile.inc"
|
|
|
|
|
|
|
|
.PATH: ${CVSDIR}/src
|
|
|
|
.PATH: ${CVSDIR}/man
|
2001-08-10 10:22:43 +00:00
|
|
|
.PATH: ${CVSDIR}
|
1995-12-10 23:10:40 +00:00
|
|
|
|
2001-04-07 11:21:35 +00:00
|
|
|
SCRIPTS= cvsbug
|
|
|
|
MAN= cvsbug.8
|
1995-12-10 23:10:40 +00:00
|
|
|
|
2003-01-21 22:31:07 +00:00
|
|
|
CLEANFILES+= cvsbug
|
1995-12-10 23:10:40 +00:00
|
|
|
|
2001-08-10 11:24:23 +00:00
|
|
|
cvsbug: cvsbug.in
|
2003-09-07 13:17:31 +00:00
|
|
|
version=`sed < ${CVSDIR}/configure \
|
2004-09-28 21:02:43 +00:00
|
|
|
-e '/^[ ]*VERSION=/!d' -e 's/.*=["'\'']\{0,1\}\([^"'\'']*\)["'\'']\{0,1\}/\1/' -e q`; \
|
2004-09-28 21:19:31 +00:00
|
|
|
sed -e "s,@VERSION@,$${version}-FreeBSD,g" \
|
|
|
|
-e "s,@MKTEMP@,/usr/bin/mktemp,g" \
|
|
|
|
-e "s,@PACKAGE_BUGREPORT@,bug-cvs@gnu.org,g" \
|
|
|
|
-e "s,@SENDMAIL@,/usr/sbin/sendmail,g" \
|
|
|
|
-e "s,@MKTEMP_FUNCTION@,," \
|
2004-12-10 18:16:52 +00:00
|
|
|
-e "s,@MKTEMP_SH_FUNCTION@,," \
|
2004-09-28 21:19:31 +00:00
|
|
|
${.ALLSRC} > ${.TARGET}
|
1995-12-10 23:10:40 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|