diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2015-07-07 01:46:35 +0800 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2015-07-07 01:46:35 +0800 |
commit | 5c10f4e6d73bfa73ef628b954828dd14dc59591c (patch) | |
tree | 16b9ad202d4e662aee98594e1f2c125068187a3a /multimedia | |
parent | 57769ab34ba08f11567a5ece721ca4600044c3bf (diff) | |
download | freebsd-ports-gnome-5c10f4e6d73bfa73ef628b954828dd14dc59591c.tar.gz freebsd-ports-gnome-5c10f4e6d73bfa73ef628b954828dd14dc59591c.tar.zst freebsd-ports-gnome-5c10f4e6d73bfa73ef628b954828dd14dc59591c.zip |
- Convert to new option target helper
Diffstat (limited to 'multimedia')
-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 72df5bbf1e6a..a22baa81dde1 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}/ |