aboutsummaryrefslogtreecommitdiffstats
path: root/www/htdump/Makefile
blob: f141c1a759cb7536565a2410a881e3cd2615cf42 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Ports collection makefile for:  htdump
# Date created:                   Tue Feb 20, 2001
# Whom:                           Maxime Henrion (mux@FreeBSD.org)
#
# $FreeBSD$
#

PORTNAME=   htdump
PORTVERSION=    0.9x
PORTREVISION=   1
CATEGORIES= www
MASTER_SITES=   http://ivo.palli.nl/prog/linux/htdump/bin/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A tool to retrieve WWW data

USE_GETOPT_LONG=yes
CFLAGS+=    ${CPPFLAGS}
MAKE_ENV=   LDFLAGS="${LDFLAGS}"

.if defined(WITH_SSL)
USE_OPENSSL=    yes
ALL_TARGET= ssl
.endif

pre-extract:
.if !defined(WITH_SSL)
    @${ECHO} "Define WITH_SSL if you want to build with SSL support"
.endif

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/htdump ${PREFIX}/bin

.include <bsd.port.mk>