8aa606b586
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.
34 lines
874 B
Makefile
34 lines
874 B
Makefile
# New ports collection makefile for: PCB
|
|
# Date created: 19 October 1994
|
|
# Whom: mr
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= pcb
|
|
PORTVERSION= 1.7
|
|
CATEGORIES= cad
|
|
MASTER_SITES= ftp://ftp.riken.go.jp/pub/Linux/plamo/Plamo-1.4.x/contrib/Electronic/sources/ \
|
|
ftp://sunsite.sut.ac.jp/pub/archives/linux/jp-linux/plamo/Plamo-1.4.x/contrib/Electronic/sources/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 \
|
|
latex:${PORTSDIR}/print/teTeX
|
|
|
|
USE_IMAKE= yes
|
|
MANN= pcb.n
|
|
MANCOMPRESSED= no
|
|
|
|
pre-install:
|
|
-${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>
|