mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
f899c758a6
everything at once. Sometime, rename post-install into a options helper target. I did not fix ports that were such a mess that I could not figure out what they really wanted to do. I also did not change ports that had some version of an auto-plist code in post-install, for the same reason. With hat: portmgr Sponsored by: Absolight
30 lines
767 B
Makefile
30 lines
767 B
Makefile
# Created by: 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
|
|
|
|
USES= tar:bzip2
|
|
NO_MTREE= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
PLIST_FILES= lib/libeatmydata.so \
|
|
lib/libeatmydata.so.1 \
|
|
lib/libeatmydata.so.1.0
|
|
|
|
post-patch:
|
|
${SED} -i '' -e 's|gcc|${CC}|' ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/lib
|
|
${INSTALL_DATA} ${WRKSRC}/libeatmydata.so.1.0 ${STAGEDIR}${PREFIX}/lib
|
|
${LN} -sf libeatmydata.so.1.0 ${STAGEDIR}${PREFIX}/lib/libeatmydata.so.1
|
|
${LN} -sf libeatmydata.so.1.0 ${STAGEDIR}${PREFIX}/lib/libeatmydata.so
|
|
|
|
.include <bsd.port.mk>
|