diff options
author | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-07-20 03:54:44 +0000 |
---|---|---|
committer | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-07-20 03:54:44 +0000 |
commit | 406081a6ca10ad1ba6a6976c1ca67f7a2214f719 (patch) | |
tree | 86c1765476f12b8d1d0bf3a4da0b980743fff179 /sysutils/epylog/Makefile | |
parent | dd665c5eb8724b539cbf78a9c650c9a5e3cc97d5 (diff) |
Notes
Diffstat (limited to 'sysutils/epylog/Makefile')
-rw-r--r-- | sysutils/epylog/Makefile | 34 |
1 files changed, 31 insertions, 3 deletions
diff --git a/sysutils/epylog/Makefile b/sysutils/epylog/Makefile index 554cd7004939..480a41329a39 100644 --- a/sysutils/epylog/Makefile +++ b/sysutils/epylog/Makefile @@ -7,6 +7,7 @@ PORTNAME= epylog PORTVERSION= 1.0.3 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://linux.duke.edu/projects/epylog/download/ @@ -14,15 +15,42 @@ MAINTAINER= alan@wave2.co.uk COMMENT= Epylog is a syslog parser which mails you the output BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2 -RUN_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2 +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2 \ + lynx:${PORTSDIR}/www/lynx MAN3= epylog.3 MAN5= epylog-modules.5 epylog.conf.5 MAN8= epylog.8 -HAS_CONFIGURE= yes -CONFIGURE_ARGS= --with-lynx --prefix=${PREFIX} +USE_REINPLACE= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-lynx=${LOCALBASE}/bin/lynx USE_PERL5= yes USE_PYTHON= yes +CONF_FILES= epylog.conf \ + modules.d/logins.conf \ + modules.d/mail.conf \ + modules.d/notices.conf \ + modules.d/packets.conf \ + modules.d/spamd.conf \ + modules.d/weeder.conf \ + notice_local.xml \ + report_template.html \ + weed_local.cf + +SUB_FILES= pkg-install pkg-deinstall +SUB_LIST= CONF_FILES="${CONF_FILES}" + +post-patch: + @${REINPLACE_CMD} -e 's|$$sysconfdir/cron\.daily|$$sysconfdir/epylog|' \ + ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|/var/log/secure|/var/log/auth.log|' \ + ${WRKSRC}/etc/modules.d/logins.conf.in \ + ${WRKSRC}/etc/modules.d/notices.conf.in \ + ${WRKSRC}/etc/modules.d/weeder.conf.in + +post-install: + @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL + .include <bsd.port.mk> |