2010-03-08 02:21:59 +01:00
|
|
|
# $NetBSD: Makefile,v 1.23 2010/03/08 01:21:59 dholland Exp $
|
2002-01-03 11:58:57 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= tct-1.09
|
2010-03-08 02:21:59 +01:00
|
|
|
PKGREVISION= 4
|
2002-01-03 13:45:06 +01:00
|
|
|
CATEGORIES= security
|
2002-01-03 11:58:57 +01:00
|
|
|
MASTER_SITES= http://www.porcupine.org/forensics/
|
|
|
|
|
2002-02-18 10:57:57 +01:00
|
|
|
MAINTAINER= frazee.23@osu.edu
|
2002-01-03 11:58:57 +01:00
|
|
|
HOMEPAGE= http://www.porcupine.org/forensics/tct.html
|
2003-07-21 19:20:17 +02:00
|
|
|
COMMENT= Programs to aid post-mortem after a break-in
|
2002-01-03 11:58:57 +01:00
|
|
|
|
2010-01-27 21:57:22 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2002-01-09 12:15:32 +01:00
|
|
|
DEPENDS+= p5-Date-Manip-[0-9]*:../../devel/p5-Date-Manip
|
|
|
|
|
2005-08-06 08:19:03 +02:00
|
|
|
USE_TOOLS+= perl:run
|
2006-03-01 23:48:05 +01:00
|
|
|
REPLACE_PERL+= bin/grave-robber bin/mactime bin/strip_tct_home
|
2002-01-03 11:58:57 +01:00
|
|
|
REPLACE_PERL+= extras/bdf extras/ils2mac extras/realpath
|
|
|
|
REPLACE_PERL+= lazarus/lazarus
|
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
MAKE_ENV+= PERL5=${PERL5:Q}
|
2005-06-19 03:03:04 +02:00
|
|
|
|
2010-01-27 21:57:22 +01:00
|
|
|
INSTALLATION_DIRS+= tct/bin tct/conf tct/etc share/doc/tct ${PERL5_INSTALLVENDORLIB}
|
|
|
|
|
2002-01-03 11:58:57 +01:00
|
|
|
do-install:
|
2002-11-15 02:18:39 +01:00
|
|
|
cd ${WRKSRC}/bin && \
|
|
|
|
for f in grave-robber mactime; do \
|
2010-01-27 21:57:22 +01:00
|
|
|
${INSTALL_SCRIPT} $$f ${DESTDIR}${PREFIX}/tct/bin; \
|
2002-11-15 02:18:39 +01:00
|
|
|
done; \
|
|
|
|
for f in file icat ils lastcomm major_minor md5 pcat timeout unrm; do \
|
2010-01-27 21:57:22 +01:00
|
|
|
${INSTALL_PROGRAM} $$f ${DESTDIR}${PREFIX}/tct/bin; \
|
2002-01-03 11:58:57 +01:00
|
|
|
done
|
2002-11-15 02:18:39 +01:00
|
|
|
cd ${WRKSRC}/extras && \
|
|
|
|
for f in bdf ils2mac realpath; do \
|
2010-01-27 21:57:22 +01:00
|
|
|
${INSTALL_SCRIPT} $$f ${DESTDIR}${PREFIX}/tct/bin; \
|
2002-01-03 11:58:57 +01:00
|
|
|
done
|
2010-01-27 21:57:22 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/lazarus/lazarus ${DESTDIR}${PREFIX}/tct/bin
|
|
|
|
cd ${WRKSRC}/etc && ${INSTALL_DATA} magic ${DESTDIR}${PREFIX}/tct/etc
|
2002-11-15 02:18:39 +01:00
|
|
|
cd ${WRKSRC}/docs && \
|
2002-01-03 11:58:57 +01:00
|
|
|
for f in README design-notes grave-robber.README lazarus.README mac.README; do \
|
2010-01-27 21:57:22 +01:00
|
|
|
${INSTALL_DATA} $$f ${DESTDIR}${PREFIX}/share/doc/tct; \
|
2002-01-03 11:58:57 +01:00
|
|
|
done
|
2010-01-27 21:57:22 +01:00
|
|
|
cd ${WRKSRC}/lib && ${INSTALL_DATA} *.pl ${DESTDIR}${PERL5_INSTALLVENDORLIB}
|
|
|
|
cd ${WRKSRC}/conf && ${INSTALL_DATA} paths.pl *.cf ${DESTDIR}${PREFIX}/tct/conf
|
2002-01-03 11:58:57 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|