# $OpenBSD: Makefile,v 1.7 2005/11/27 10:54:10 sturm Exp $ COMMENT= syslogd replacement CATEGORIES= sysutils DISTNAME= syslog-ng-1.6.8 LIBOL= libol-0.3.16 MAINTAINER= Jakob Schlyter MASTER_SITE_SYSLOGNG=\ http://www.balabit.com/downloads/ MASTER_SITES= ${MASTER_SITE_SYSLOGNG:=syslog-ng/1.6/src/} MASTER_SITES0= ${MASTER_SITE_SYSLOGNG:=libol/0.3/} HOMEPAGE= http://www.balabit.com/products/syslog_ng/ DISTFILES= ${DISTNAME}.tar.gz \ ${LIBOL}.tar.gz:0 # GPL PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes WANTLIB= c CONFIGURE_STYLE= gnu CONFIGURE_ARGS+= --with-libol=${WRKDIR}/${LIBOL} \ --enable-tcp-wrapper DOC= ${PREFIX}/share/doc/syslog-ng EXAMPLES= ${PREFIX}/share/examples/syslog-ng pre-configure: cp -f ${PORTSDIR}/infrastructure/db/config.guess \ ${PORTSDIR}/infrastructure/db/config.sub ${WRKDIR}/${LIBOL} cd ${WRKDIR}/${LIBOL}; ./configure ; ${MAKE} post-install: ${INSTALL_DATA_DIR} ${DOC} ${INSTALL_DATA} ${WRKSRC}/doc/sgml/*.{ps,sgml,txt} ${DOC} (cd ${DOC} ;\ tar xzf ${WRKSRC}/doc/sgml/syslog-ng.html.tar.gz ;\ ln -s book1.html syslog-ng.html/index.html ) ${INSTALL_DATA_DIR} ${EXAMPLES} ${INSTALL_DATA} ${WRKSRC}/doc/syslog-ng.conf.sample ${EXAMPLES} .include