aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-06-19 23:49:09 +0800
committervanilla <vanilla@FreeBSD.org>2014-06-19 23:49:09 +0800
commit4c278fb472c80c51ba0d2e6e82cfa8316c4a1e30 (patch)
tree507e34a8ac957560fcb1b2a6e412e61698658091 /misc
parentc0d6de8901e5691dab493240751ae49188460798 (diff)
downloadfreebsd-ports-gnome-4c278fb472c80c51ba0d2e6e82cfa8316c4a1e30.tar.gz
freebsd-ports-gnome-4c278fb472c80c51ba0d2e6e82cfa8316c4a1e30.tar.zst
freebsd-ports-gnome-4c278fb472c80c51ba0d2e6e82cfa8316c4a1e30.zip
1: Stagify.
2: switch to USES=tar:bzip2 Approved by: portmgr@
Diffstat (limited to 'misc')
-rw-r--r--misc/libeatmydata/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/misc/libeatmydata/Makefile b/misc/libeatmydata/Makefile
index c332fcbe0259..44e18eb3680e 100644
--- a/misc/libeatmydata/Makefile
+++ b/misc/libeatmydata/Makefile
@@ -9,7 +9,7 @@ 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
+USES= tar:bzip2
NO_MTREE= yes
USE_LDCONFIG= yes
@@ -17,15 +17,15 @@ PLIST_FILES= lib/libeatmydata.so \
lib/libeatmydata.so.1 \
lib/libeatmydata.so.1.0
-NO_STAGE= yes
post-patch:
${SED} -i '' -e 's/gcc/${CC}/' ${WRKSRC}/Makefile
do-install:
- ${INSTALL_DATA} ${WRKSRC}/libeatmydata.so.1.0 ${PREFIX}/lib
+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/libeatmydata.so.1.0 ${STAGEDIR}${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
+ ${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>