1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-04 11:23:46 +00:00

Fix the docs installation.

The port installs its man page as mann/pcb.n, so don't use a private
hack instead.

We already require LaTeX to be a prerequisite, but then don't install
the generated PS and HTML documentation.  Install it, as well as the
info file.
This commit is contained in:
Joerg Wunsch 2001-10-04 12:35:41 +00:00
parent e5adbe68e5
commit 8aa606b586
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=48428
2 changed files with 18 additions and 3 deletions

View File

@ -17,10 +17,17 @@ BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 \
latex:${PORTSDIR}/print/teTeX
USE_IMAKE= yes
MAN1= pcb.1
MANCOMPRESSED= yes
MANN= pcb.n
MANCOMPRESSED= no
pre-install:
@${CP} ${WRKSRC}/doc/pcb.man ${WRKSRC}/src
-${MKDIR} ${DOCSDIR}
cd ${WRKSRC}/doc && ${SETENV} PREFIX=${PREFIX} make install.info &&\
${INSTALL_DATA} index.html pcb.html pcb.ps refcard.ps ${DOCSDIR}
post-install:
install-info --section="Utilities" \
--entry="* PCB: (pcb). Interactive printed circuit board layout system for X11" \
${PREFIX}/info/pcb.info ${PREFIX}/info/dir
.include <bsd.port.mk>

View File

@ -42,5 +42,13 @@ lib/X11/pcb/m4/misc.inc
lib/X11/pcb/m4/qfp.inc
lib/X11/pcb/m4/plcc.inc
lib/X11/pcb/m4/to.inc
@unexec install-info --delete %D/info/pcb.info %D/info/dir
info/pcb.info
@exec install-info --section="Utilities" --entry="* PCB: (pcb). Interactive printed circuit board layout system for X11" %D/info/pcb.info %D/info/dir
share/doc/pcb/index.html
share/doc/pcb/pcb.html
share/doc/pcb/pcb.ps
share/doc/pcb/refcard.ps
@dirrm share/doc/pcb
@dirrm lib/X11/pcb/m4
@dirrm lib/X11/pcb