1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/sysutils/syslog-ng1/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

49 lines
1.1 KiB
Makefile

# New ports collection makefile for: syslog-ng
# Date created: 22 April 2000
# Whom: Vince Valenti <vince@blue-box.net>
#
# $FreeBSD$
#
PORTNAME= syslog-ng
PORTVERSION= 1.6.12
CATEGORIES= sysutils
MASTER_SITES= http://www.balabit.com/downloads/files/syslog-ng/sources/1.6/src/
MAINTAINER= lme@FreeBSD.org
COMMENT= A powerful syslogd replacement
GNU_CONFIGURE= yes
PKGMESSAGE= ${WRKDIR}/MESSAGE
USE_GCC= 3.3+
USE_RC_SUBR= syslog-ng.sh
OPTIONS= TCP_WRAPPERS "Enable TCP wrapper support" off
SUB_FILES= pkg-message
MAN5= syslog-ng.conf.5
MAN8= syslog-ng.8
.include <bsd.port.pre.mk>
.if defined(WITH_TCP_WRAPPERS)
CONFIGURE_ARGS+= --enable-tcp-wrapper
.endif
post-install:
.if !defined(NOPORTDOCS)
${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} \
${DOCSDIR} ${DOCSDIR}/sgml
.for f in AUTHORS COPYING ChangeLog INSTALL NEWS PORTS README
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
${INSTALL_DATA} ${WRKSRC}/doc/sgml/${PORTNAME}.* ${DOCSDIR}/sgml
.endif
${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} ${PREFIX}/etc/syslog-ng
${INSTALL_DATA} ${FILESDIR}/syslog-ng.conf.sample \
${PREFIX}/etc/syslog-ng
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>