diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-30 00:05:08 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-30 00:05:08 +0000 |
commit | 0d3552ac88a317d7cf007077bd71059022fd92c9 (patch) | |
tree | ff8603f346f56fd1763949694e895414320e9226 /databases/riak | |
parent | cb5de81339ada27548c9e6a5673956000a266ee0 (diff) | |
download | ports-0d3552ac88a317d7cf007077bd71059022fd92c9.tar.gz ports-0d3552ac88a317d7cf007077bd71059022fd92c9.zip |
Notes
Diffstat (limited to 'databases/riak')
-rw-r--r-- | databases/riak/Makefile | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/databases/riak/Makefile b/databases/riak/Makefile index 3c036629d10f..0f81bcf3e765 100644 --- a/databases/riak/Makefile +++ b/databases/riak/Makefile @@ -13,7 +13,7 @@ LICENSE= APACHE20 BUILD_DEPENDS= ${LOCALBASE}/lib/erlang15/bin/erlc:${PORTSDIR}/lang/erlang-runtime15 -USES= gmake +USES= gmake readline USE_RC_SUBR= riak PLIST= ${WRKDIR}/pkg-plist @@ -46,24 +46,24 @@ pre-install: ${CAT} ${PKGDIR}/pkg-plist >> ${PLIST} ${ECHO} "@owner ${USERS}" >> ${PLIST} ${ECHO} "@group ${GROUPS}" >> ${PLIST} - cd ${WRKSRC}/rel/${PORTNAME}; ${FIND} releases -type f \ + (cd ${WRKSRC}/rel/${PORTNAME}; ${FIND} releases -type f \ | ${AWK} '{print length, $$0}' | ${SORT} -rn | ${SED} -e 's/^/lib\//' \ - | ${AWK} '{print "lib/riak/"$$2 }' >> ${PLIST} - cd ${WRKSRC}/rel/${PORTNAME}; ${FIND} erts-* -type f \ + | ${AWK} '{print "lib/riak/"$$2 }' >> ${PLIST}) + (cd ${WRKSRC}/rel/${PORTNAME}; ${FIND} erts-* -type f \ | ${AWK} '{print length, $$0}' | ${SORT} -rn \ - | ${AWK} '{print "lib/riak/"$$2 }' >> ${PLIST} - cd ${WRKSRC}/rel; ${FIND} ${PORTNAME}/lib -type f \ + | ${AWK} '{print "lib/riak/"$$2 }' >> ${PLIST}) + (cd ${WRKSRC}/rel; ${FIND} ${PORTNAME}/lib -type f \ | ${AWK} '{print length, $$0}' | ${SORT} -rn | ${SED} -e 's/^/lib\//' \ - | ${AWK} '{print "lib/"$$2 }' >> ${PLIST} - cd ${WRKSRC}/rel/${PORTNAME}; ${FIND} releases -type d \ + | ${AWK} '{print "lib/"$$2 }' >> ${PLIST}) + (cd ${WRKSRC}/rel/${PORTNAME}; ${FIND} releases -type d \ | ${AWK} '{print length, $$0}' | ${SORT} -rn | ${SED} -e 's/^/lib\//' \ - | ${AWK} '{print "lib/riak/"$$2 }' | ${SED} -e "s/^/@dirrm\ /" >> ${PLIST} - cd ${WRKSRC}/rel/${PORTNAME}; ${FIND} erts-* -type d \ + | ${AWK} '{print "lib/riak/"$$2 }' | ${SED} -e "s/^/@dirrm\ /" >> ${PLIST}) + (cd ${WRKSRC}/rel/${PORTNAME}; ${FIND} erts-* -type d \ | ${AWK} '{print length, $$0}' | ${SORT} -rn | ${SED} -e 's/^/lib\//' \ - | ${AWK} '{print "lib/riak/"$$2 }' | ${SED} -e "s/^/@dirrm\ /" >> ${PLIST} - cd ${WRKSRC}/rel; ${FIND} ${PORTNAME}/lib -type d \ + | ${AWK} '{print "lib/riak/"$$2 }' | ${SED} -e "s/^/@dirrm\ /" >> ${PLIST}) + (cd ${WRKSRC}/rel; ${FIND} ${PORTNAME}/lib -type d \ | ${AWK} '{print length, $$0}' | ${SORT} -rn | ${SED} -e 's/^/lib\//' \ - | ${AWK} '{print "lib/"$$2 }' | ${SED} -e "s/^/@dirrm\ /" >> ${PLIST} + | ${AWK} '{print "lib/"$$2 }' | ${SED} -e "s/^/@dirrm\ /" >> ${PLIST}) ${ECHO} "@dirrm lib/riak" >> ${PLIST} ${ECHO} "@cwd /" >> ${PLIST} ${ECHO} "@dirrmtry %%RIAK_DBDIR%%" >> ${PLIST} |