blob: 29cf0af86db8eca5ba9f73d05f993d707c02547b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# New ports collection makefile for: sarah
# Version required: 0.3b
# Date created: 10 Jan 2000
# Whom: Matthew Pounsett <mattp@conundrum.com>
#
# $FreeBSD$
#
DISTNAME= sarah-0.3b
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.conundrum.com/pub/sarah/
MAINTAINER= mattp@conundrum.com
MAN1= sarah.1
USE_PERL5= yes
NO_BUILD= yes
do-configure:
@${PERL} -pi.orig -e "s|/usr/local|${PREFIX}|" ${WRKSRC}/sarah
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
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
.include <bsd.port.mk>
|