aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sysutils/sarah/Makefile14
-rw-r--r--sysutils/sarah/distinfo2
-rw-r--r--sysutils/sarah/pkg-plist3
3 files changed, 16 insertions, 3 deletions
diff --git a/sysutils/sarah/Makefile b/sysutils/sarah/Makefile
index d469de760195..29cf0af86db8 100644
--- a/sysutils/sarah/Makefile
+++ b/sysutils/sarah/Makefile
@@ -1,12 +1,12 @@
# New ports collection makefile for: sarah
-# Version required: 0.1b
+# Version required: 0.3b
# Date created: 10 Jan 2000
# Whom: Matthew Pounsett <mattp@conundrum.com>
#
# $FreeBSD$
#
-DISTNAME= sarah-0.1b
+DISTNAME= sarah-0.3b
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.conundrum.com/pub/sarah/
@@ -16,6 +16,9 @@ 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
@@ -24,4 +27,11 @@ do-install:
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>
diff --git a/sysutils/sarah/distinfo b/sysutils/sarah/distinfo
index a0b77e7bc5a6..f26f2f11805a 100644
--- a/sysutils/sarah/distinfo
+++ b/sysutils/sarah/distinfo
@@ -1 +1 @@
-MD5 (sarah-0.1b.tar.gz) = b26ff4543af084ecd76cf65b18caa824
+MD5 (sarah-0.3b.tar.gz) = b3bb9066202d068fe982b5b0565cd30b
diff --git a/sysutils/sarah/pkg-plist b/sysutils/sarah/pkg-plist
index 7f7969ba6313..50428452f2ee 100644
--- a/sysutils/sarah/pkg-plist
+++ b/sysutils/sarah/pkg-plist
@@ -1,2 +1,5 @@
bin/sarah
etc/sarah.conf.sample
+share/doc/sarah/README
+share/doc/sarah/CHANGES
+@dirrm share/doc/sarah