freebsd-ports/databases/xapian-core10/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

33 lines
810 B
Makefile

# New ports collection makefile for: xapian-core
# Date created: 5 November 2005
# Whom: J.F. Dockes
#
# $FreeBSD$
#
PORTNAME= xapian-core
PORTVERSION= 1.0.2
CATEGORIES= databases
MASTER_SITES= http://www.oligarchy.co.uk/xapian/${PORTVERSION}/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= miwi
MAINTAINER= jean-francois.dockes@wanadoo.fr
COMMENT= A probabilistic text search database engine
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
MAN1= quartzcheck.1 quartzcompact.1 quartzdump.1 \
xapian-check.1 xapian-compact.1 xapian-config.1 \
xapian-progsrv.1 xapian-tcpsrv.1 xapian-inspect.1
post-install:
.for file in delve quest copydatabase
${INSTALL_PROGRAM} ${WRKSRC}/examples/.libs/${file} ${PREFIX}/bin/xapian-${file}
.endfor
.ifdef(NOPORTDOCS)
${RM} -rf ${DOCSDIR}
.endif
.include <bsd.port.mk>