|
Lines 25-37
PORTSCOUT= limit:0.4.[0-9]*
Link Here
|
| 25 |
CPPFLAGS+= -I${LOCALBASE}/include |
25 |
CPPFLAGS+= -I${LOCALBASE}/include |
| 26 |
GNU_CONFIGURE= yes |
26 |
GNU_CONFIGURE= yes |
| 27 |
INSTALL_TARGET= install-strip |
27 |
INSTALL_TARGET= install-strip |
| 28 |
USES= iconv libtool lua pathfix pkgconfig tar:xz |
28 |
USES= iconv libtool pathfix pkgconfig tar:xz |
| 29 |
USE_LDCONFIG= yes |
29 |
USE_LDCONFIG= yes |
| 30 |
|
30 |
|
| 31 |
PROJECTHOST= quvi |
31 |
PROJECTHOST= quvi |
| 32 |
|
32 |
|
|
|
33 |
OPTIONS_DEFINE= LUAJIT |
| 34 |
|
| 35 |
LUAJIT_LIB_DEPENDS= libluajit-5.1.so:${PORTSDIR}/lang/luajit |
| 36 |
LUAJIT_USES_OFF= lua |
| 37 |
LUAJIT_DESC= LuaJIT support |
| 38 |
|
| 39 |
.include <bsd.port.options.mk> |
| 40 |
|
| 33 |
post-patch: |
41 |
post-patch: |
|
|
42 |
.if ${PORT_OPTIONS:MLUAJIT} |
| 43 |
${REINPLACE_CMD} 's/lua >= 5.1/luajit/g' ${WRKSRC}/configure |
| 44 |
.else |
| 34 |
@${REINPLACE_CMD} 's/lua-5.1/lua-${LUA_VER}/g' ${WRKSRC}/configure |
45 |
@${REINPLACE_CMD} 's/lua-5.1/lua-${LUA_VER}/g' ${WRKSRC}/configure |
|
|
46 |
.endif |
| 35 |
|
47 |
|
| 36 |
post-install: |
48 |
post-install: |
| 37 |
${MKDIR} ${STAGEDIR}${DOCSDIR}/ |
49 |
${MKDIR} ${STAGEDIR}${DOCSDIR}/ |