1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Upgrade to v3.2.

This commit is contained in:
Joseph Koshy 2002-10-07 04:24:24 +00:00
parent 700fc18eae
commit f26fe11531
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=67531
4 changed files with 30 additions and 29 deletions

View File

@ -4,25 +4,30 @@
#
# $FreeBSD$
PORTNAME= netpipe
PORTVERSION= 2.4
PORTNAME= NetPIPE
PORTVERSION= 3.2
CATEGORIES= benchmarks net
MASTER_SITES= ftp://ftp.scl.ameslab.gov/pub/netpipe/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=jkoshy
MASTER_SITES= http://www.scl.ameslab.gov/Projects/Netpipe/code/
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= jkoshy@freebsd.org
# The default port builds and installs only the TCP version of
# netpipe(1). The sources also support PVM and MPI.
WRKSRC= ${WRKDIR}/${PORTNAME}
MAKEFILE= makefile
ALL_TARGET= NPtcp
MAN1= netpipe.1
MLINKS= netpipe.1 NPtcp.1
MANCOMPRESSED= no
# The default port builds and installs only the TCP version of
# netpipe(1). The sources support many other variants.
ALL_TARGET= tcp
DOCS= README netpipe_paper.ps
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/NPtcp ${PREFIX}/bin/NPtcp
${INSTALL_DATA} ${WRKSRC}/netpipe.1 ${PREFIX}/man/man1/netpipe.1
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/netpipe
.for doc in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/dox/${doc} ${PREFIX}/share/doc/netpipe/${doc}
.endfor
.endif
.include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (netpipe-2.4.tar.gz) = 0a3a868a122b526a7adeea08ca3422ee
MD5 (NetPIPE_3.2.tar.gz) = ef22a3024bf408c08fe74a6d7fca08e2

View File

@ -1,20 +1,13 @@
--- Makefile.orig Sat Jan 22 14:47:22 2000
+++ Makefile Sat Jan 22 14:47:33 2000
@@ -4,7 +4,7 @@
--- makefile-- Mon Oct 7 10:33:20 2002
+++ makefile Mon Oct 7 10:33:26 2002
@@ -20,8 +20,8 @@
#
########################################################################
# Default C compiler: must be an ANSI C compiler
-CC = cc
-CFLAGS = -O
+CC ?= cc
# File names for the main source files
DRIV_SRC = netpipe.c
DRIV_OBJ = netpipe.o
@@ -13,7 +13,7 @@
TARGETS = NPtcp
# If you have TCP, MPI and PVM
#TARGETS = NPtcp NPmpi NPpvm
-CFLAGS = -O
+CFLAGS ?= -O
# Adjust these for MPI (only used if you have MPI)
MPI_HOME = /home/mpich
MPI_ARCH = IRIX
+CFLAGS ?= -O
SRC = ./src
# For MPI, mpicc will set up the proper include and library paths

View File

@ -1 +1,4 @@
bin/NPtcp
%%PORTDOCS%%share/doc/netpipe/README
%%PORTDOCS%%share/doc/netpipe/netpipe_paper.ps
%%PORTDOCS%%@dirrm share/doc/netpipe