svn commit: r391449 - head/multimedia/libquvi
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Mon Jul 6 17:46:36 UTC 2015
Author: sunpoet
Date: Mon Jul 6 17:46:35 2015
New Revision: 391449
URL: https://svnweb.freebsd.org/changeset/ports/391449
Log:
- Convert to new option target helper
Modified:
head/multimedia/libquvi/Makefile
Modified: head/multimedia/libquvi/Makefile
==============================================================================
--- head/multimedia/libquvi/Makefile Mon Jul 6 17:46:30 2015 (r391448)
+++ head/multimedia/libquvi/Makefile Mon Jul 6 17:46:35 2015 (r391449)
@@ -33,14 +33,11 @@ PORTDOCS= *
LUAJIT_LIB_DEPENDS= libluajit-5.1.so:${PORTSDIR}/lang/luajit
LUAJIT_USES_OFF= lua
-.include <bsd.port.options.mk>
+post-patch-LUAJIT-off:
+ @${REINPLACE_CMD} 's|lua-5.1|lua-${LUA_VER}|g' ${WRKSRC}/configure
-post-patch:
-.if ${PORT_OPTIONS:MLUAJIT}
+post-patch-LUAJIT-on:
@${REINPLACE_CMD} 's|lua >= 5.1|luajit|g' ${WRKSRC}/configure
-.else
- @${REINPLACE_CMD} 's|lua-5.1|lua-${LUA_VER}|g' ${WRKSRC}/configure
-.endif
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}/
More information about the svn-ports-head
mailing list