1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

- Update to 2.2

- Provide an option for a newly implemented ncurses mode

Feature safe:	yes
This commit is contained in:
Emanuel Haupt 2013-04-17 20:52:00 +00:00
parent 313cdd2fce
commit 69a89a6bd1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=316007
3 changed files with 42 additions and 9 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= httping
PORTVERSION= 2.1
PORTVERSION= 2.2
CATEGORIES= net
MASTER_SITES= http://www.vanheusden.com/httping/ \
CRITICAL
@ -17,6 +17,19 @@ MAKE_JOBS_SAFE= yes
MAN1= httping.1
PLIST_FILES= bin/httping
OPTIONS_DEFINE= NCURSES
NCURSES_DESC= ncurses support
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNCURSES}
LIB_DEPENDS+= fftw3:${PORTSDIR}/math/fftw3
MAKE_ENV+= SSL=yes NC=yes FW=yes
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1

View File

@ -1,2 +1,2 @@
SHA256 (httping-2.1.tgz) = 8b2eabbd480e38b55711f8aac264defef59a9a21c537166e17e9032e86c5e3a8
SIZE (httping-2.1.tgz) = 24121
SHA256 (httping-2.2.tgz) = 157125fb1394651854840ca5be2f346be527130f9410372011064a181ec61b49
SIZE (httping-2.2.tgz) = 32645

View File

@ -1,12 +1,22 @@
--- ./Makefile.orig 2013-03-19 20:10:16.000000000 +0100
+++ ./Makefile 2013-03-20 11:56:23.000000000 +0100
@@ -18,12 +18,11 @@
--- ./Makefile.orig 2013-04-04 21:46:48.000000000 +0200
+++ ./Makefile 2013-04-17 21:50:18.735645308 +0200
@@ -12,8 +12,6 @@
# version. If you delete this exception statement from all source
# files in the program, then also delete it here.
--include makefile.inc
-
# *** configure script ***
# support for tcp fast open?
#TFO=yes
@@ -32,12 +30,11 @@
DEBUG=yes
WFLAGS=-Wall -W
-OFLAGS=-O3
CFLAGS+=$(WFLAGS) $(OFLAGS) -DVERSION=\"$(VERSION)\"
LDFLAGS=-lm
-LDFLAGS=-lm
+LDFLAGS+=-lm
PACKAGE=$(TARGET)-$(VERSION)
-PREFIX=/usr
@ -14,8 +24,8 @@
BINDIR=$(PREFIX)/bin
MANDIR=$(PREFIX)/share/man
DOCDIR=$(PREFIX)/share/doc/$(TARGET)
@@ -59,11 +58,6 @@
CFLAGS+=-DTCP_TFO
@@ -82,11 +79,6 @@
LDFLAGS+=-lfftw3
endif
-ifeq ($(DEBUG),yes)
@ -26,3 +36,13 @@
ifeq ($(ARM),yes)
CC=arm-linux-gcc
endif
@@ -109,9 +101,6 @@
$(STRIP) $(DESTDIR)/$(BINDIR)/$(TARGET)
endif
-makefile.inc:
- ./configure
-
clean:
$(RMDIR) $(OBJS) $(TARGET) makefile.inc *~ core cov-int