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

Install man pages regardless of whether NOPORTDOCS is defined.

This commit is contained in:
Trevor Johnson 2000-12-25 08:44:50 +00:00
parent 114b854ce8
commit a5929c64e8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=36329

View File

@ -14,9 +14,7 @@ MAINTAINER= trevor@FreeBSD.org
DOCS= ChangeLog README README-0.4
DOCDIR= share/doc/${PORTNAME}
.if !defined(NOPORTDOCS)
MAN1= as86.1 ld86.1
.endif
MAN1= as86.1 ld86.1
ONLY_FOR_ARCHS= i386
PLIST= ${WRKDIR}/pkg-plist
WRKSRC= ${WRKDIR}/${PORTNAME}
@ -37,6 +35,7 @@ pre-install:
.endif
do-install:
${INSTALL_MAN} ${WRKSRC}/man/*1 ${PREFIX}/man/man1
${INSTALL_PROGRAM} `find ${WRKSRC} -type f -perm 755 |grep -v encap` \
${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/as/as86_encap ${PREFIX}/bin
@ -44,7 +43,6 @@ do-install:
${MKDIR} ${PREFIX}/${DOCDIR}
.for i in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/${DOCDIR}
${INSTALL_MAN} ${WRKSRC}/man/*1 ${PREFIX}/man/man1
.endfor
.endif