freebsd-ports/net/httping/Makefile
Tijl Coosemans 4bdd97e324 math/fftw3:
- Add USES=libtool and bump dependent ports
- Add INSTALL_TARGET=install-strip
- Remove PTHREAD_CFLAGS and PTHREAD_LIBS
- Use MAKE_CMD
2014-08-31 16:36:22 +00:00

52 lines
972 B
Makefile

# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
PORTNAME= httping
PORTVERSION= 2.3.4
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.vanheusden.com/httping/ \
CRITICAL
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Ping-like tool for HTTP requests
LICENSE= GPLv2
USES= gmake gettext tar:tgz
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+= libfftw3.so:${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>