diff options
Diffstat (limited to 'net/nepim')
-rw-r--r-- | net/nepim/Makefile | 9 | ||||
-rw-r--r-- | net/nepim/distinfo | 4 | ||||
-rw-r--r-- | net/nepim/files/patch-Makefile | 23 |
3 files changed, 24 insertions, 12 deletions
diff --git a/net/nepim/Makefile b/net/nepim/Makefile index bf4f7ad..7d45775 100644 --- a/net/nepim/Makefile +++ b/net/nepim/Makefile @@ -4,7 +4,7 @@ # $FreeBSD$ PORTNAME= nepim -PORTVERSION= 0.13 +PORTVERSION= 0.15 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SAVANNAH} \ http://www.yazzy.org/ports/ @@ -16,10 +16,17 @@ COMMENT= Tool for measuring available bandwidth between hosts LIB_DEPENDS= oop.4:${PORTSDIR}/devel/liboop USE_GMAKE= yes +USE_REINPLACE= yes ALL_TARGET= default + WRKSRC= ${WRKDIR}/${DISTNAME}/src + PLIST_FILES= bin/nepim +post-patch: + @${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \ + ${WRKSRC}/Makefile + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/nepim ${PREFIX}/bin diff --git a/net/nepim/distinfo b/net/nepim/distinfo index c72f000..30cfe8f 100644 --- a/net/nepim/distinfo +++ b/net/nepim/distinfo @@ -1,2 +1,2 @@ -MD5 (nepim-0.13.tar.gz) = 532bf7067619771ecf3f12a33bf860c6 -SIZE (nepim-0.13.tar.gz) = 39917 +MD5 (nepim-0.15.tar.gz) = 719d6a31f8f10919f1bde7d9aff5550b +SIZE (nepim-0.15.tar.gz) = 43041 diff --git a/net/nepim/files/patch-Makefile b/net/nepim/files/patch-Makefile index 7a275cb..df32839 100644 --- a/net/nepim/files/patch-Makefile +++ b/net/nepim/files/patch-Makefile @@ -1,17 +1,22 @@ ---- Makefile.orig Tue Sep 13 01:41:41 2005 -+++ Makefile Thu Sep 22 11:00:05 2005 -@@ -2,12 +2,12 @@ - # $Id: Makefile,v 1.18 2005/09/12 23:41:41 evertonm Exp $ +--- Makefile.orig Thu Oct 13 16:57:39 2005 ++++ Makefile Fri Oct 14 15:05:17 2005 +@@ -2,16 +2,14 @@ + # $Id: Makefile,v 1.20 2005/10/13 19:57:39 evertonm Exp $ # -OOP_BASE = /usr/local/oop -+OOP_BASE = ${LOCALBASE} ++OOP_BASE = %%LOCALBASE%% OOP_INC = $(OOP_BASE)/include OOP_LIB = $(OOP_BASE)/lib - CC = gcc --CFLAGS = -Wall -g -ggdb -I$(OOP_INC) -DHAVE_IPV6_MREQ -+CFLAGS += -Wall -I$(OOP_INC) -DHAVE_IPV6_MREQ - LDFLAGS = -L$(OOP_LIB) -loop + ENABLE_DLOPEN = -DHAVE_DLOPEN + +-CC = gcc +-CFLAGS = -Wall -g -ggdb -I$(OOP_INC) $(ENABLE_DLOPEN) \ +- -DHAVE_IPV6_MREQ +-LDFLAGS = -L$(OOP_LIB) -loop ++CFLAGS += -Wall -I$(OOP_INC) -DHAVE_IPV6_MREQ $(ENABLE_DLOPEN) ++LDFLAGS += -L$(OOP_LIB) -loop PLATFORM=$(shell uname) + |