2004-12-15 13:39:25 +01:00
|
|
|
# Ports collection makefile for: foremost
|
|
|
|
# Date created: 16 June 2004
|
|
|
|
# Whom: Yonatan <Yonatan@xpert.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= foremost
|
2006-12-21 22:43:33 +01:00
|
|
|
PORTVERSION= 1.4
|
2007-01-28 15:24:59 +01:00
|
|
|
PORTREVISION= 1
|
2004-12-15 13:39:25 +01:00
|
|
|
CATEGORIES= sysutils
|
2006-04-19 07:01:03 +02:00
|
|
|
MASTER_SITES= http://foremost.sourceforge.net/pkg/
|
2004-12-15 13:39:25 +01:00
|
|
|
|
2005-01-29 20:54:56 +01:00
|
|
|
MAINTAINER= onatan@gmail.com
|
2004-12-15 13:39:25 +01:00
|
|
|
COMMENT= Console program to recover files based on their headers and footers
|
|
|
|
|
|
|
|
USE_GMAKE= yes
|
2005-06-30 22:34:54 +02:00
|
|
|
ALL_TARGET= freebsd
|
2004-12-15 13:39:25 +01:00
|
|
|
MAN1= foremost.1
|
|
|
|
|
|
|
|
PLIST_FILES= bin/foremost etc/foremost.conf.sample
|
|
|
|
|
|
|
|
post-patch:
|
2005-06-30 22:34:54 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|gcc|${CC}|; s|-Wall -O2|${CFLAGS}|' ${WRKSRC}/Makefile
|
|
|
|
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/config.c
|
|
|
|
@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|' ${WRKSRC}/${MAN1}
|
2004-12-15 13:39:25 +01:00
|
|
|
|
2005-06-30 22:34:54 +02:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/foremost.conf ${PREFIX}/etc/foremost.conf.sample
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1
|
2004-12-15 13:39:25 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|