freebsd-ports/sysutils/foremost/Makefile
Ruslan Makhmatkhanov 7456c1bdfa - update to 1.5.7
- update MASTER_SITES
- trim Makefile header, while here

changelog:
 Version 1.5.7: Added support for MP4 files
 Version 1.5.6: Added support for Office 2007 file as well as bug fixes

PR:		176752
Submitted by:	antoine
Approved by:	maintainer timeout (2 weeks)
2013-03-22 11:18:39 +00:00

29 lines
855 B
Makefile

# Created by: Yonatan <Yonatan@xpert.com>
# $FreeBSD$
PORTNAME= foremost
PORTVERSION= 1.5.7
CATEGORIES= sysutils
MASTER_SITES= http://foremost.sourceforge.net/pkg/
MAINTAINER= onatan@gmail.com
COMMENT= Console program to recover files based on their headers and footers
USE_GMAKE= yes
ALL_TARGET= freebsd
MAN8= foremost.8
PLIST_FILES= bin/foremost etc/foremost.conf.sample
post-patch:
@${REINPLACE_CMD} -e 's|gcc|${CC}|; s|-Wall -O2|${CFLAGS}|' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/config.c
@${GZCAT} ${WRKSRC}/${MAN8}.gz | ${SED} -e 's|/etc|${PREFIX}/etc|' \
> ${WRKSRC}/${MAN8}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/foremost.conf ${PREFIX}/etc/foremost.conf.sample
${INSTALL_MAN} ${WRKSRC}/${MAN8} ${MAN8PREFIX}/man/man8
.include <bsd.port.mk>