1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/net/httping/Makefile
2013-10-23 13:50:35 +00:00

50 lines
945 B
Makefile

# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
PORTNAME= httping
PORTVERSION= 2.3.3
CATEGORIES= net
MASTER_SITES= http://www.vanheusden.com/httping/ \
CRITICAL
EXTRACT_SUFX= .tgz
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Ping-like tool for HTTP requests
USES= gmake gettext
PLIST_FILES= bin/httping man/man1/httping.1.gz
OPTIONS_DEFINE= NCURSES FFTW SSL
OPTIONS_DEFAULT=NCURSES SSL
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNCURSES}
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:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>