1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00
freebsd-ports/cad/gnucap/Makefile
Rong-En Fan f935a609c5 - Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
supports them.  This is determined by running ``configure --help'' in
  do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
  which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
  Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
  PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
  subdirectory detection.

PR:		ports/111470
Approved by:	portmgr
Discussed with:	stas (Mk/*), gerald (info related stuffs)
Tested by:	pointyhat exp run
2007-07-23 09:36:51 +00:00

34 lines
749 B
Makefile

# ex:ts=8
# Ports collection makefile for: gnucap
# Date created: Feb 7, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= gnucap
PORTVERSION= 2007.03.29
CATEGORIES= cad
MASTER_SITES= http://www.gnucap.org/devel/ \
http://www.geda.seul.org/dist/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/./-/g}
MAINTAINER= stas@FreeBSD.org
COMMENT= The Gnu Circuit Analysis Package
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --docdir=${PREFIX}/share/doc/${PORTNAME}
OPTIONS= READLINE "Enable commandline features via readline" on
MAN1= gnucap.1 gnucap-ibis.1
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_READLINE) || exists(${LOCALBASE}/lib/libreadline.so.5)
LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline
.endif
.include <bsd.port.post.mk>