summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>2001-10-04 12:35:41 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>2001-10-04 12:35:41 +0000
commit8aa606b586b69a6b9a4e13218efee5f47450ed0d (patch)
treeff5318758e3e56b4114143e9700cf98ed9c27238 /cad
parentCorrect MASTER_SITES. (diff)
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.
Notes
Notes: svn path=/head/; revision=48428
Diffstat (limited to 'cad')
-rw-r--r--cad/pcb/Makefile13
-rw-r--r--cad/pcb/pkg-plist8
2 files changed, 18 insertions, 3 deletions
diff --git a/cad/pcb/Makefile b/cad/pcb/Makefile
index 46ebfe4fcd90..c26cde2f8895 100644
--- a/cad/pcb/Makefile
+++ b/cad/pcb/Makefile
@@ -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>
diff --git a/cad/pcb/pkg-plist b/cad/pcb/pkg-plist
index f6a0486a82bb..2268878c24ef 100644
--- a/cad/pcb/pkg-plist
+++ b/cad/pcb/pkg-plist
@@ -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