1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Fix the post-install target now that there is more than

one text file to install.
This commit is contained in:
Mikhail Teterin 2001-05-08 15:39:47 +00:00
parent 05f7f8203f
commit 86721fb4e8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=42414
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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