diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2015-07-06 17:46:35 +0000 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2015-07-06 17:46:35 +0000 |
commit | c7ebefcb5d41255aa6f27da39fed7bebda5153b1 (patch) | |
tree | 16b9ad202d4e662aee98594e1f2c125068187a3a | |
parent | 212f9f0180744a7e188cbe6f88029b4584ca726a (diff) | |
download | FreeBSD-ports-c7ebefcb5d41255aa6f27da39fed7bebda5153b1.zip FreeBSD-ports-c7ebefcb5d41255aa6f27da39fed7bebda5153b1.tar.gz |
- Convert to new option target helper
-rw-r--r-- | multimedia/libquvi/Makefile | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/multimedia/libquvi/Makefile b/multimedia/libquvi/Makefile index 72df5bb..a22baa8 100644 --- a/multimedia/libquvi/Makefile +++ b/multimedia/libquvi/Makefile @@ -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}/ |