Re: lua.port.mk - should avoid FULLPKGNAME in PLIST

2016-05-19 Thread Stuart Henderson
On 2016/05/19 02:20, Gleydson Soares wrote: > I noticed that lua.port.mk is setting MODLUA_EXAMPLEDIR and MODLUA_DOCDIR to > ${PREFIX}/share/examples/${FULLPKGNAME}/ and > ${PREFIX}/share/doc/${FULLPKGNAME}/ > respectively. > > We must use ${DISTNAME:C/-([0-9]+\.[0-9]+).*$//g} instead of

lua.port.mk - should avoid FULLPKGNAME in PLIST

2016-05-18 Thread Gleydson Soares
I noticed that lua.port.mk is setting MODLUA_EXAMPLEDIR and MODLUA_DOCDIR to ${PREFIX}/share/examples/${FULLPKGNAME}/ and ${PREFIX}/share/doc/${FULLPKGNAME}/ respectively. We must use ${DISTNAME:C/-([0-9]+\.[0-9]+).*$//g} instead of ${FULLPKGNAME} It will strip the name correctly as expected.