- Add staging support

- Convert to USES=tar:bzip2
This commit is contained in:
Pawel Pekala 2014-04-08 10:22:15 +00:00
parent 12b5b06604
commit eab11a05b7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350594

View file

@ -16,9 +16,7 @@ BUILD_DEPENDS= ${LOCALBASE}/include/lv2.h:${PORTSDIR}/audio/lv2core
LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack \
librdf.so:${PORTSDIR}/textproc/redland
USES= pkgconfig
NO_STAGE= yes
USE_BZIP2= yes
USES= pkgconfig tar:bzip2
USE_PYTHON_BUILD= yes
USE_LDCONFIG= yes
@ -47,9 +45,10 @@ do-build:
@(cd ${WRKSRC} && ${PYTHON_CMD} waf ${WAF_VERBOSE} ${WAF_JOBS} build)
do-install:
@(cd ${WRKSRC} && ${PYTHON_CMD} waf ${WAF_VERBOSE} install)
@(cd ${WRKSRC} && ${PYTHON_CMD} waf ${WAF_VERBOSE} \
--destdir=${STAGEDIR} install)
.for file in lv2_inspect lv2_jack_host lv2_list lv2_simple_jack_host
@${STRIP_CMD} ${PREFIX}/bin/${file}
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${file}
.endfor
.include <bsd.port.post.mk>