aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/webjob/Makefile
blob: 395edd91f278a58dd7db64491e2fe7cd33ff45f8 (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
35
36
37
38
39
40
41
42
43
# New ports collection makefile for:    webjob
# Date created:     20 August 2002
# Whom:         Klayton Monroe <klm@uidzero.org>
#
# $FreeBSD$
#

PORTNAME=       webjob
PORTVERSION=        1.5.0
CATEGORIES=     sysutils security
MASTER_SITES=       ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= webjob
EXTRACT_SUFX=       .tgz

MAINTAINER=     klm@uidzero.org
COMMENT=        Download and execute a program over HTTP/HTTPS

GNU_CONFIGURE=      YES

.if defined(WITHOUT_PAD)
PLIST_SUB+=     PAD="@comment "
.else
PLIST_SUB+=     PAD=""
CONFIGURE_ARGS+=    --with-pad-tools
.endif

.if defined(WITHOUT_SSL)
CONFIGURE_ARGS+=    --without-ssl
.else
USE_OPENSSL=        YES
CONFIGURE_ARGS+=    --with-ssl=${OPENSSLBASE}
.endif

.if !defined(NO_STATIC)
CFLAGS+=        -static
.endif

MAN1=           webjob.1

post-install:
    @${STRIP_CMD} ${PREFIX}/bin/webjob

.include <bsd.port.mk>