aboutsummaryrefslogtreecommitdiffstats
path: root/misc/libeatmydata/Makefile
blob: ac99dfb57cc38f98f143df844be484bddaf96067 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# 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>