svn commit: r316033 - head/net/httping

Emanuel Haupt ehaupt at FreeBSD.org
Thu Apr 18 09:45:11 UTC 2013


Author: ehaupt
Date: Thu Apr 18 09:45:10 2013
New Revision: 316033
URL: http://svnweb.freebsd.org/changeset/ports/316033

Log:
  - Make fftw3 support optional from NCURSES support
  - Add an option to expicitly disable SSL support
  - Now that fftw3 support is optional and off by default turn on NCURSES support
    by default
  
  Feature safe:   yes

Modified:
  head/net/httping/Makefile

Modified: head/net/httping/Makefile
==============================================================================
--- head/net/httping/Makefile	Thu Apr 18 09:44:29 2013	(r316032)
+++ head/net/httping/Makefile	Thu Apr 18 09:45:10 2013	(r316033)
@@ -3,6 +3,7 @@
 
 PORTNAME=	httping
 PORTVERSION=	2.2.1
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	http://www.vanheusden.com/httping/ \
 		CRITICAL
@@ -17,17 +18,31 @@ MAKE_JOBS_SAFE=	yes
 MAN1=		httping.1
 PLIST_FILES=	bin/httping
 
-OPTIONS_DEFINE=	NCURSES
+OPTIONS_DEFINE=	NCURSES FFTW SSL
 
-NCURSES_DESC=	ncurses support
+OPTIONS_DEFAULT=NCURSES SSL
 
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MNCURSES}
-LIB_DEPENDS+=	fftw3:${PORTSDIR}/math/fftw3
-MAKE_ENV+=	SSL=yes NC=yes FW=yes
+MAKE_ENV+=	NC=yes
 CFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
+.else
+MAKE_ENV+=	NC=no
+.endif
+
+.if ${PORT_OPTIONS:MFFTW}
+MAKE_ENV+=	FW=yes
+LIB_DEPENDS+=	fftw3:${PORTSDIR}/math/fftw3
+.else
+MAKE_ENV+=	FW=no
+.endif
+
+.if ${PORT_OPTIONS:MSSL}
+MAKE_ENV+=	SSL=yes
+.else
+MAKE_ENV+=	SSL=no
 .endif
 
 do-install:


More information about the svn-ports-all mailing list