1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

Update to 0.9.4.

PR:		16053
Submitted by:	maintainer

Also add some patches to respect CC/CFLAGS and avoid a warning.
This commit is contained in:
Chris Piazza 2000-01-12 04:29:57 +00:00
parent 386b6a446f
commit c3d735c03b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=24662
5 changed files with 35 additions and 4 deletions

View File

@ -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>

View File

@ -1 +1 @@
MD5 (prips-0.9.2-src.tar.gz) = a27bd11cc4f6d1f1b9470b589fd2dbef
MD5 (prips-0.9.4-src.tar.gz) = 044283b90bfbbd6a858321202d031c2c

View File

@ -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

View File

@ -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

View File

@ -1 +1,3 @@
bin/prips
share/doc/prips/README
@dirrm share/doc/prips