freebsd-ports/devel/cxref/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
800 B
Makefile

# New ports collection makefile for: cxref
# Date created: 23 October 1996
# Whom: Thomas Gellekum <tg@freebsd.org>
#
# $FreeBSD$
#
PORTNAME= cxref
PORTVERSION= 1.6b
PORTREVISION= 0
CATEGORIES= devel
MASTER_SITES= http://www.gedanken.demon.co.uk/download-cxref/ \
${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= devel/lang/c
EXTRACT_SUFX= .tgz
MAINTAINER= stas@FreeBSD.org
COMMENT= C program cross-referencing & documentation tool
USE_GMAKE= yes
USE_GNOME= gnometarget
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-cxref-cpp
ALL_TARGET= programs
MAN1= cxref.1 cxref-query.1
post-install:
@${MKDIR} ${DATADIR}
@${INSTALL_SCRIPT} ${WRKSRC}/contrib/*.pl ${DATADIR}
@${INSTALL_DATA} ${WRKSRC}/contrib/*.el ${DATADIR}
@${INSTALL_DATA} ${WRKSRC}/contrib/README* ${DATADIR}
.include <bsd.port.mk>