diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2013-04-18 17:45:10 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2013-04-18 17:45:10 +0800 |
commit | d5a3e236677daee726dc59e47591f43f84133623 (patch) | |
tree | 5a2fb565d47779929ca0237c4cae46deb357a923 /net | |
parent | c8890872a3add84a9e03171c8beb1ba44315c1a6 (diff) | |
download | freebsd-ports-gnome-d5a3e236677daee726dc59e47591f43f84133623.tar.gz freebsd-ports-gnome-d5a3e236677daee726dc59e47591f43f84133623.tar.zst freebsd-ports-gnome-d5a3e236677daee726dc59e47591f43f84133623.zip |
- 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
Diffstat (limited to 'net')
-rw-r--r-- | net/httping/Makefile | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/net/httping/Makefile b/net/httping/Makefile index e70726014f4b..ba962f78dcd8 100644 --- a/net/httping/Makefile +++ b/net/httping/Makefile @@ -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: |