diff options
Diffstat (limited to 'misc/colorize/Makefile')
-rw-r--r-- | misc/colorize/Makefile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/misc/colorize/Makefile b/misc/colorize/Makefile new file mode 100644 index 00000000000..4a61eb02b8c --- /dev/null +++ b/misc/colorize/Makefile @@ -0,0 +1,40 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/03/26 04:11:11 zuntum Exp $ +# + +DISTNAME= colorize_0.2.6 +PKGNAME= colorize-0.2.6 +CATEGORIES= misc +MASTER_SITES= http://nrg.martos.bme.hu/release/colorize/download/bz2/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= zuntum@netbsd.org +HOMEPAGE= http://nrg.martos.bme.hu/release/colorize/ +COMMENT= log colorize perl script + +WRKSRC= ${WRKDIR}/${PKGNAME} +NO_BUILD= yes +USE_PERL5= yes + +post-patch: + ${SED} -e "s,/usr/bin/perl,${LOCALBASE}/bin/perl," \ + -e "s,/etc/colorizerc,${PREFIX}/etc/colorizerc," \ + ${WRKSRC}/colorize.pl > ${WRKSRC}/colorize.pl.done + ${MV} ${WRKSRC}/colorize.pl.done ${WRKSRC}/colorize.pl + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/colorize.pl ${PREFIX}/bin/colorize + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/colorize + ${INSTALL_DATA} ${WRKSRC}/colorizerc ${PREFIX}/share/examples/colorize + ${GUNZIP_CMD} ${WRKSRC}/colorize.pl.1.gz + ${INSTALL_MAN} ${WRKSRC}/colorize.pl.1 ${PREFIX}/man/man1/colorize.1 + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/colorize + cd ${WRKSRC} && ${INSTALL_DATA} README TIPS ${PREFIX}/share/doc/colorize + ${GUNZIP_CMD} ${WRKSRC}/examples/colorize-fifo.sh.gz + ${GUNZIP_CMD} ${WRKSRC}/examples/colorize-tail.sh.gz + ${INSTALL_SCRIPT} ${WRKSRC}/examples/colorize-fifo.sh \ + ${PREFIX}/share/examples/colorize + ${INSTALL_SCRIPT} ${WRKSRC}/examples/colorize-tail.sh \ + ${PREFIX}/share/examples/colorize + ${INSTALL_DATA} ${WRKSRC}/examples/Xlog.tar.gz ${PREFIX}/share/examples/colorize + +.include "../../mk/bsd.pkg.mk" |