7f4287f5cd
fixed bug introduced 2004/02/05 which caused true default options, such as INCDEPTH, to be destroyed when new options blocks are defined. PR: ports/62560 Submitted by: Matt Pounsett <mattp@conundrum.com> (maintainer)
38 lines
927 B
Makefile
38 lines
927 B
Makefile
# New ports collection makefile for: sarah
|
|
# Date created: 10 Jan 2000
|
|
# Whom: Matthew Pounsett <mattp@conundrum.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= sarah
|
|
PORTVERSION= 0.9.1b
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ftp://ftp.conundrum.com/pub/sarah/
|
|
|
|
MAINTAINER= mattp@conundrum.com
|
|
COMMENT= Syslog automated Rotation and Archive Handler
|
|
|
|
USE_PERL5= yes
|
|
NO_BUILD= yes
|
|
|
|
MAN1= sarah.1
|
|
PLIST_FILES= bin/sarah etc/sarah.conf.sample
|
|
PORTDOCS= README CHANGES TODO
|
|
|
|
do-configure:
|
|
@${PERL} -pi.orig -e "s|/usr/local|${PREFIX}|" ${WRKSRC}/sarah
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/sarah ${PREFIX}/bin && \
|
|
${INSTALL_DATA} ${WRKSRC}/sarah.conf.sample ${PREFIX}/etc && \
|
|
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/CHANGES ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/TODO ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|