mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00: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
@ -27,15 +27,15 @@ do-install:
|
||||
|
||||
post-install:
|
||||
.for files in *.wmc
|
||||
@${MKDIR} ${PREFIX}/share/${DISTNAME}
|
||||
@${MKDIR} ${DATADIR}${PKGNAMESUFFIX}
|
||||
@${INSTALL_DATA} ${WRKSRC}/3dObjects/${files} \
|
||||
${PREFIX}/share/${DISTNAME}
|
||||
${DATADIR}${PKGNAMESUFFIX}
|
||||
.endfor
|
||||
.ifndef(NOPORTDOCS)
|
||||
@${MKDIR} ${PREFIX}/share/doc/${DISTNAME}
|
||||
@${MKDIR} ${DOCSDIR}${PKGNAMESUFFIX}
|
||||
.for file in CHANGES README README.GDK TODO
|
||||
@${INSTALL_DATA} ${WRKSRC}/${file} \
|
||||
${PREFIX}/share/doc/${DISTNAME}
|
||||
${DOCSDIR}${PKGNAMESUFFIX}
|
||||
.endfor
|
||||
.endif #NOPORTDOCS
|
||||
@${SED} -e "s|%%PREFIX%%|${PREFIX}|" ${PKGMESSAGE}
|
||||
|
Loading…
Reference in New Issue
Block a user