mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Fix DATADIR and DOCSDIR installation since this port has PKGNAMESUFFIX
defined PR: 30853 Submitted by: MAINTAINER
This commit is contained in:
parent
e9ef5141bf
commit
e833ba5e59
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=48213
1 changed files with 4 additions and 4 deletions
|
@ -27,15 +27,15 @@ do-install:
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.for files in *.wmc
|
.for files in *.wmc
|
||||||
@${MKDIR} ${PREFIX}/share/${DISTNAME}
|
@${MKDIR} ${DATADIR}${PKGNAMESUFFIX}
|
||||||
@${INSTALL_DATA} ${WRKSRC}/3dObjects/${files} \
|
@${INSTALL_DATA} ${WRKSRC}/3dObjects/${files} \
|
||||||
${PREFIX}/share/${DISTNAME}
|
${DATADIR}${PKGNAMESUFFIX}
|
||||||
.endfor
|
.endfor
|
||||||
.ifndef(NOPORTDOCS)
|
.ifndef(NOPORTDOCS)
|
||||||
@${MKDIR} ${PREFIX}/share/doc/${DISTNAME}
|
@${MKDIR} ${DOCSDIR}${PKGNAMESUFFIX}
|
||||||
.for file in CHANGES README README.GDK TODO
|
.for file in CHANGES README README.GDK TODO
|
||||||
@${INSTALL_DATA} ${WRKSRC}/${file} \
|
@${INSTALL_DATA} ${WRKSRC}/${file} \
|
||||||
${PREFIX}/share/doc/${DISTNAME}
|
${DOCSDIR}${PKGNAMESUFFIX}
|
||||||
.endfor
|
.endfor
|
||||||
.endif #NOPORTDOCS
|
.endif #NOPORTDOCS
|
||||||
@${SED} -e "s|%%PREFIX%%|${PREFIX}|" ${PKGMESSAGE}
|
@${SED} -e "s|%%PREFIX%%|${PREFIX}|" ${PKGMESSAGE}
|
||||||
|
|
Loading…
Add table
Reference in a new issue