freebsd-ports/sysutils/rsyslog3/bsd.rsyslog.mk

35 lines
1 KiB
Makefile
Raw Normal View History

PORTNAME?= rsyslog
2009-04-25 02:41:50 +02:00
PORTVERSION?= 3.22.0
CATEGORIES?= sysutils
MASTER_SITES?= http://download.rsyslog.com/rsyslog/
MAINTAINER?= miwi@FreeBSD.org
CONFLICTS= rsyslog-2.[0-9]*
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
USE_GNOME+= pkgconfig
.ifdef MNAME
PKGNAMESUFFIX?= -${MNAME}
CONFIGURE_ARGS+= --enable-${MNAME:S|gssapi|gssapi-krb5|} \
--disable-rsyslogd --disable-klog
RUN_DEPENDS= rsyslog>=3:${PORTSDIR}/sysutils/rsyslog3
PLIST_FILES= ${MTYPES:S|^|lib/rsyslog/|:S|$|${MNAME}.so|}
PLIST= ""
DESCR?= ${.CURDIR}/../rsyslog3/pkg-descr
MD5_FILE?= ${.CURDIR}/../rsyslog3/distinfo
2009-02-20 16:44:48 +01:00
PORTSCOUT= skipv:3.21.10,3.21.9,3.21.8,3.21.7,3.21.6,3.21.5,3.21.4,3.21.3,3.21.2,3.21.1,3.21.0
2008-12-29 17:11:18 +01:00
do-install:
@${INSTALL} -d ${PREFIX}/lib/rsyslog/
.for _T in ${MTYPES}
@${INSTALL_PROGRAM} \
${WRKSRC}/plugins/${_T}${MNAME}/.libs/${_T}${MNAME}.so \
${PREFIX}/lib/rsyslog/
.endfor
@${ECHO_CMD} '@unexec rmdir %D/lib/rsyslog 2>/dev/null || true' >> ${TMPPLIST}
.endif # def MNAME