mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Fix the post-install target now that there is more than
one text file to install.
This commit is contained in:
parent
05f7f8203f
commit
86721fb4e8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=42414
@ -32,10 +32,10 @@ do-build:
|
||||
do-install:
|
||||
cd ${WRKSRC} && ${LOCALBASE}/sbin/apxs -A -i ${PORTNAME}.so
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
post-install:
|
||||
@${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
|
||||
@${INSTALL_DATA} ${_DISTDIR}/${DISTFILES:N*gz} \
|
||||
@cd ${_DISTDIR} && ${INSTALL_DATA} ${DISTFILES:N*gz} \
|
||||
${PREFIX}/share/doc/${PORTNAME}
|
||||
.endif
|
||||
|
||||
|
@ -32,10 +32,10 @@ do-build:
|
||||
do-install:
|
||||
cd ${WRKSRC} && ${LOCALBASE}/sbin/apxs -A -i ${PORTNAME}.so
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
post-install:
|
||||
@${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
|
||||
@${INSTALL_DATA} ${_DISTDIR}/${DISTFILES:N*gz} \
|
||||
@cd ${_DISTDIR} && ${INSTALL_DATA} ${DISTFILES:N*gz} \
|
||||
${PREFIX}/share/doc/${PORTNAME}
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user