freebsd-ports/sysutils/xsi/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

45 lines
936 B
Makefile

# New ports collection makefile for: xsi
# Date created: 18 October 2006
# Whom: Tom McLaughlin <tmclaugh@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= xsi
PORTVERSION= 1.0.b2
CATEGORIES= sysutils
MASTER_SITES= http://xsi.kolabore.ath.cx/download/
DISTNAME= ${PORTNAME}-1.0-beta2
MAINTAINER= tmclaugh@FreeBSD.org
COMMENT= System monitor that provides XML encoded stats
LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2
USE_GNOME= gnometarget
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-user=_xsi
USE_RC_SUBR= xsi
MAN8= xsi.8
post-configure:
.if defined(NOPORTDOCS)
${REINPLACE_CMD} -e 's|-exec-am install-data-am|-exec-am|' \
${WRKSRC}/Makefile
.endif
post-install:
.if !defined(PACKAGE_BUILDING)
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.endif
.include <bsd.port.pre.mk>
.if (${OSVERSION} < 600007)
IGNORE= is not supported on FreeBSD < 6.0
.endif
.include <bsd.port.post.mk>