freebsd-ports/sysutils/rsyslog55-mysql/Makefile
Philip M. Gollucci 7acc749ea6 - Please welcome rsyslog55 which is tracking the -devel
- 2 custom optional patches
  o) microsecond support for MySQL
  o) sanely select and return FQDN for use in $fromhost templates

PR:                 ports/146316
No objection from:  cristianorolim@hotmail.com (rsyslog* maintainer)
Submitted by:       pgollucci@ (myself)
2010-05-12 21:40:42 +00:00

26 lines
699 B
Makefile

# New ports collection makefile for: rsyslog4-mysql
# Date created: 29 December 2008
# Whom: Cristiano Rolim Pereira <cristianorolim@hotmail.com>
#
# $FreeBSD$
#
COMMENT= MySQL output module for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog55
MNAME= mysql
USE_MYSQL= yes
CONFIGURE_ARGS+=--enable-mysql
do-install:
@${INSTALL_PROGRAM} \
${WRKSRC}/plugins/ommysql/.libs/ommysql.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/plugins/ommysql/ommysql.la ${PREFIX}/lib/rsyslog
post-install:
.ifndef NOPORTEXAMPLES
@${INSTALL} -d ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/plugins/ommysql/createDB.sql ${EXAMPLESDIR}/mysql_createDB.sql
.endif
.include "${MASTERDIR}/Makefile"