summaryrefslogtreecommitdiff
path: root/sysutils/rsyslog5-devel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/rsyslog5-devel/Makefile')
-rw-r--r--sysutils/rsyslog5-devel/Makefile86
1 files changed, 0 insertions, 86 deletions
diff --git a/sysutils/rsyslog5-devel/Makefile b/sysutils/rsyslog5-devel/Makefile
deleted file mode 100644
index 54f5cc40b45b..000000000000
--- a/sysutils/rsyslog5-devel/Makefile
+++ /dev/null
@@ -1,86 +0,0 @@
-# New ports collection makefile for: rsyslog4
-# Date created: 29 December 2008
-# Whom: Cristiano Rolim Pereira <cristianorolim@hotmail.com>
-#
-# $FreeBSD$
-#
-
-PORTNAME= rsyslog
-PORTVERSION= 5.3.7
-CATEGORIES= sysutils
-MASTER_SITES= http://download.rsyslog.com/rsyslog/
-.ifdef MNAME
-PKGNAMESUFFIX?= -${MNAME}
-.endif
-
-MAINTAINER= cristianorolim@hotmail.com
-COMMENT?= Syslogd supporting SQL, TCP and TLS
-
-.ifdef MNAME
-RUN_DEPENDS= rsyslog>=5:${PORTSDIR}/sysutils/rsyslog5
-
-PLIST= ${.CURDIR}/pkg-plist
-.endif
-
-CONFLICTS= rsyslog-[!5].[0-9]*
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-GNU_CONFIGURE= yes
-
-.ifdef WITH_DEBUG
-CONFIGURE_ARGS+=--enable-rtinst --enable-debug
-.endif
-
-.include <bsd.port.pre.mk>
-.if ${ARCH} == "i386"
-CPPFLAGS+=-march=i686
-.endif
-CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-
-.ifndef MNAME
-MAN8= rsyslogd.8
-MAN5= rsyslog.conf.5
-
-USE_RC_SUBR= ${PORTNAME}d
-SUB_FILES= pkg-message
-
-CONFIGURE_ARGS+=--enable-imfile --enable-mail --enable-imtemplate --enable-testbench=no
-
-post-patch:
- @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
- @${REINPLACE_CMD} -e 's|/lib/rsyslog/|${PREFIX}/lib/rsyslog/|'\
- ${WRKSRC}/tools/syslogd.c
- @${GREP} -rl '/etc/rsyslog.conf' ${WRKSRC}|${XARGS} ${REINPLACE_CMD} -e\
- 's|/etc/rsyslog.conf|${PREFIX}/etc/rsyslog.conf|'
- @${FIND} ${WRKSRC} -name '*.bak' -delete
-
-post-install:
-.ifndef NOPORTDOCS
- @${INSTALL} -d ${DOCSDIR}/
- @${INSTALL_DATA} ${WRKSRC}/doc/*html ${DOCSDIR}/
- @${INSTALL_DATA} ${WRKSRC}/doc/*jpg ${DOCSDIR}/
-.endif
-.ifndef NOPORTEXAMPLES
- @${INSTALL} -d ${EXAMPLESDIR}
- @${INSTALL_DATA} ${WRKSRC}/doc/rsyslog-example.conf ${EXAMPLESDIR}
-.endif
- @${CAT} ${PKGMESSAGE}
-.endif
-
-.ifdef MNAME
-
-.if ${MNAME} == "gssapi" && ${OSVERSION} < 700000
-IGNORE= with gssapi module is only supported on FreeBSD 7.x or later
-.endif
-
-CONFIGURE_ARGS+= --disable-rsyslogd --disable-klog
-
-DESCR?= ${.CURDIR}/../rsyslog5/pkg-descr
-MD5_FILE?= ${.CURDIR}/../rsyslog5/distinfo
-.endif
-
-.if ${OSVERSION} < 700042
-USE_GCC= 4.2+
-.endif
-
-.include <bsd.port.post.mk>