diff options
author | joerg <joerg@FreeBSD.org> | 2001-10-04 20:35:41 +0800 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 2001-10-04 20:35:41 +0800 |
commit | 2b9083242059f10c179791f957b095ed35da9774 (patch) | |
tree | 9ac5793196b892ffdf53fbd24b314e3e6ed29bc1 /cad/pcb | |
parent | 7f6c1d92c201c1323d62b4003501ace904180048 (diff) | |
download | freebsd-ports-gnome-2b9083242059f10c179791f957b095ed35da9774.tar.gz freebsd-ports-gnome-2b9083242059f10c179791f957b095ed35da9774.tar.zst freebsd-ports-gnome-2b9083242059f10c179791f957b095ed35da9774.zip |
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.
Diffstat (limited to 'cad/pcb')
-rw-r--r-- | cad/pcb/Makefile | 13 | ||||
-rw-r--r-- | cad/pcb/pkg-plist | 8 |
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 |