aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/prips/Makefile15
-rw-r--r--sysutils/prips/distinfo2
-rw-r--r--sysutils/prips/files/patch-aa8
-rw-r--r--sysutils/prips/files/patch-ab12
-rw-r--r--sysutils/prips/pkg-plist2
5 files changed, 35 insertions, 4 deletions
diff --git a/sysutils/prips/Makefile b/sysutils/prips/Makefile
index ce8f5dad2353..89f691f8643c 100644
--- a/sysutils/prips/Makefile
+++ b/sysutils/prips/Makefile
@@ -1,13 +1,13 @@
# New ports collection makefile for: prips
-# Version required: 0.9.2
+# Version required: 0.9.4
# Date created: 29 October 1999
# Whom: Jeremy Shaffner <jeremy@external.org>
#
# $FreeBSD$
#
-DISTNAME= prips-0.9.2-src
-PKGNAME= prips-0.9.2
+DISTNAME= prips-0.9.4-src
+PKGNAME= prips-0.9.4
CATEGORIES= sysutils
MASTER_SITES= http://www.interloper.net/~dan/software/dist/prips/
@@ -18,4 +18,13 @@ WRKSRC= ${WRKDIR}/prips
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/prips ${PREFIX}/bin
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/prips
+ @${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/prips/README
+.else
+ @${SED} 's#share/doc/prips/README##' ${TMPPLIST} > ${WRKDIR}/PLIST.tmp
+ @${SED} 's#@dirrm share/doc/prips##' ${WRKDIR}/PLIST.tmp > ${TMPPLIST}
+.endif
+
.include <bsd.port.mk>
diff --git a/sysutils/prips/distinfo b/sysutils/prips/distinfo
index 8640bf9e36ba..1005aad6ceee 100644
--- a/sysutils/prips/distinfo
+++ b/sysutils/prips/distinfo
@@ -1 +1 @@
-MD5 (prips-0.9.2-src.tar.gz) = a27bd11cc4f6d1f1b9470b589fd2dbef
+MD5 (prips-0.9.4-src.tar.gz) = 044283b90bfbbd6a858321202d031c2c
diff --git a/sysutils/prips/files/patch-aa b/sysutils/prips/files/patch-aa
new file mode 100644
index 000000000000..08cf74426f49
--- /dev/null
+++ b/sysutils/prips/files/patch-aa
@@ -0,0 +1,8 @@
+--- Makefile.orig Tue Jan 11 20:25:33 2000
++++ Makefile Tue Jan 11 20:25:41 2000
+@@ -1,5 +1,3 @@
+-CC=gcc
+-CFLAGS=-g -Wall -O2
+ LIBS=-lm
+
+ all: prips
diff --git a/sysutils/prips/files/patch-ab b/sysutils/prips/files/patch-ab
new file mode 100644
index 000000000000..fb0c0440a046
--- /dev/null
+++ b/sysutils/prips/files/patch-ab
@@ -0,0 +1,12 @@
+--- prips.c.orig Tue Jan 11 20:26:36 2000
++++ prips.c Tue Jan 11 20:26:38 2000
+@@ -1,8 +1,8 @@
++#include "prips.h"
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <math.h>
+ #include <arpa/inet.h>
+-#include "prips.h"
+
+ #if !defined(INET_ADDRSTRLEN)
+ #define INET_ADDRSTRLEN 16
diff --git a/sysutils/prips/pkg-plist b/sysutils/prips/pkg-plist
index e76103d1a096..1e04f9300dcc 100644
--- a/sysutils/prips/pkg-plist
+++ b/sysutils/prips/pkg-plist
@@ -1 +1,3 @@
bin/prips
+share/doc/prips/README
+@dirrm share/doc/prips