Fix the port building/installing with non default LOCALBASE.

Pointed out by:	QAT
Reviewed by:	itetcu@
This commit is contained in:
Boris Samorodov 2009-06-05 08:29:18 +00:00
parent f18207efd0
commit b3ec9ea276
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=235198
2 changed files with 2 additions and 1 deletions

View file

@ -21,6 +21,7 @@ PLIST_FILES=
do-configure:
${SED} -e 's,PYTHON_SITELIBDIR,${PYTHON_SITELIBDIR},' \
-e 's,PREFIX,${PREFIX},' \
-e 's,LOCALBASE,${LOCALBASE},' \
-e 's,DOCSDIR,${DOCSDIR},' \
-e 's,EXAMPLESDIR,${EXAMPLESDIR},' \
< ${FILESDIR}/config > ${WRKSRC}/eric4config.freebsd

View file

@ -18,5 +18,5 @@ cfg = {
'ericOthersDir' : 'PYTHON_SITELIBDIR/eric4',
'bindir' : 'PREFIX/bin',
'mdir' : 'PYTHON_SITELIBDIR',
'apidir' : '/usr/local/share/qt4/qsci/api',
'apidir' : 'LOCALBASE/share/qt4/qsci/api',
}