pkgsrc/sysutils/sarah/Makefile
jlam 9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00

38 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.12 2006/03/04 21:30:42 jlam Exp $
DISTNAME= sarah-0.9.1b
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.conundrum.com/pub/sarah/ \
http://prdownloads.sourceforge.net/sarah/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sarah.sourceforge.net/
COMMENT= Syslog automated Rotation and Archive Handler
USE_TOOLS+= perl:run
REPLACE_PERL= sarah
NO_BUILD= YES
INSTALLATION_DIRS= bin man/man1
CONF_FILES+= ${PREFIX}/share/examples/sarah/sarah.conf.sample \
${PKG_SYSCONFDIR}/sarah.conf
post-patch:
${SED} -e "s,/usr/local,${PREFIX},g" \
-e "s,syslog.pid,syslogd.pid,g" \
${WRKSRC}/sarah > ${WRKSRC}/sarah.done
${MV} ${WRKSRC}/sarah.done ${WRKSRC}/sarah
${SED} -e "s,/usr/local,${PREFIX},g" \
-e "s,syslog.pid,syslogd.pid,g" \
${WRKSRC}/sarah.1 > ${WRKSRC}/sarah.1.done
${MV} ${WRKSRC}/sarah.1.done ${WRKSRC}/sarah.1
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/sarah ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/sarah
${INSTALL_DATA} ${WRKSRC}/sarah.conf.sample ${PREFIX}/share/examples/sarah
${INSTALL_MAN} ${WRKSRC}/sarah.1 ${PREFIX}/man/man1
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sarah
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/sarah
.include "../../mk/bsd.pkg.mk"