2000-01-10 19:31:24 +00:00
|
|
|
# New ports collection makefile for: sarah
|
|
|
|
# Date created: 10 Jan 2000
|
|
|
|
# Whom: Matthew Pounsett <mattp@conundrum.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-09 19:09:11 +00:00
|
|
|
PORTNAME= sarah
|
|
|
|
PORTVERSION= 0.3b
|
2000-01-10 19:31:24 +00:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
MASTER_SITES= ftp://ftp.conundrum.com/pub/sarah/
|
|
|
|
|
|
|
|
MAINTAINER= mattp@conundrum.com
|
|
|
|
|
|
|
|
MAN1= sarah.1
|
|
|
|
USE_PERL5= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
2000-01-18 00:33:26 +00:00
|
|
|
do-configure:
|
|
|
|
@${PERL} -pi.orig -e "s|/usr/local|${PREFIX}|" ${WRKSRC}/sarah
|
|
|
|
|
2000-01-10 19:31:24 +00:00
|
|
|
do-install:
|
|
|
|
cd ${WRKSRC} && \
|
|
|
|
${INSTALL_SCRIPT} sarah ${PREFIX}/bin
|
|
|
|
cd ${WRKSRC} && \
|
|
|
|
${INSTALL_DATA} sarah.conf.sample ${PREFIX}/etc
|
|
|
|
cd ${WRKSRC} && \
|
|
|
|
${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1
|
|
|
|
|
2000-01-18 00:33:26 +00:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/sarah
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/sarah
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/CHANGES ${PREFIX}/share/doc/sarah
|
|
|
|
.endif
|
|
|
|
|
2000-01-10 19:31:24 +00:00
|
|
|
.include <bsd.port.mk>
|