Assuming you're going to do something like this:
EXDIR= ${PREFIX}/share/examples/${????}
pre-fake:
${INSTALL_DATA_DIR} ${EXDIR}
${INSTALL_DATA} ${WRKSRC}/README ${EXDIR}
${INSTALL_SCRIPT} ${WRKSRC}/example/*.pl ${EXDIR}
Which is considered more correct (or is preferred) ?
EXDIR= ${PREFIX}/share/examples/${PKGNAME}
or
EXDIR= ${PREFIX}/share/examples/${BASE_PKGPATH}
The first gives: /usr/local/share/example/portname-0.00p0/
The second gives: /usr/local/share/example/port-dir-name/portname/
Thanks,
JCR