1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +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 DOCS= ChangeLog README README-0.4
DOCDIR= share/doc/${PORTNAME} DOCDIR= share/doc/${PORTNAME}
.if !defined(NOPORTDOCS) MAN1= as86.1 ld86.1
MAN1= as86.1 ld86.1
.endif
ONLY_FOR_ARCHS= i386 ONLY_FOR_ARCHS= i386
PLIST= ${WRKDIR}/pkg-plist PLIST= ${WRKDIR}/pkg-plist
WRKSRC= ${WRKDIR}/${PORTNAME} WRKSRC= ${WRKDIR}/${PORTNAME}
@ -37,6 +35,7 @@ pre-install:
.endif .endif
do-install: do-install:
${INSTALL_MAN} ${WRKSRC}/man/*1 ${PREFIX}/man/man1
${INSTALL_PROGRAM} `find ${WRKSRC} -type f -perm 755 |grep -v encap` \ ${INSTALL_PROGRAM} `find ${WRKSRC} -type f -perm 755 |grep -v encap` \
${PREFIX}/bin ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/as/as86_encap ${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/as/as86_encap ${PREFIX}/bin
@ -44,7 +43,6 @@ do-install:
${MKDIR} ${PREFIX}/${DOCDIR} ${MKDIR} ${PREFIX}/${DOCDIR}
.for i in ${DOCS} .for i in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/${DOCDIR} ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/${DOCDIR}
${INSTALL_MAN} ${WRKSRC}/man/*1 ${PREFIX}/man/man1
.endfor .endfor
.endif .endif