90d8d127ca
fsync (and friends, like open(O_SYNC)). This has two side-effects: making software that writes data safely to disk a lot quicker and making this software no longer crash safe. DO NOT use libeatmydata on software where you care about what it stores. It's called libEAT-MY-DATA for a reason. PR: ports/142892 Submitted by: Attila Nagy <bra at fsn.hu>
31 lines
767 B
Makefile
31 lines
767 B
Makefile
# New ports collection makefile for: libeatmydata
|
|
# Date created: Sat Jan 16 20:41:35 CET 2010
|
|
# Whom: Attila Nagy <bra@fsn.hu>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libeatmydata
|
|
PORTVERSION= 9
|
|
CATEGORIES= misc
|
|
MASTER_SITES= http://www.flamingspork.com/projects/libeatmydata/
|
|
|
|
MAINTAINER= bra@fsn.hu
|
|
COMMENT= a small LD_PRELOAD library designed to (transparently) disable fsync
|
|
|
|
USE_BZIP2= yes
|
|
NO_MTREE= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
PLIST_FILES= lib/libeatmydata.so \
|
|
lib/libeatmydata.so.1 \
|
|
lib/libeatmydata.so.1.0
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/libeatmydata.so.1.0 ${PREFIX}/lib
|
|
|
|
post-install:
|
|
${LN} ${PREFIX}/lib/libeatmydata.so.1.0 ${PREFIX}/lib/libeatmydata.so.1
|
|
${LN} ${PREFIX}/lib/libeatmydata.so.1.0 ${PREFIX}/lib/libeatmydata.so
|
|
|
|
.include <bsd.port.mk>
|