2003-04-02 14:39:26 +02:00
|
|
|
# New ports collection makefile for: webjob
|
|
|
|
# Date created: 20 August 2002
|
2003-08-04 09:48:53 +02:00
|
|
|
# Whom: Klayton Monroe <klm@uidzero.org>
|
2003-04-02 14:39:26 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2003-08-04 09:48:53 +02:00
|
|
|
PORTNAME= webjob
|
2006-07-26 17:23:58 +02:00
|
|
|
PORTVERSION= 1.6.0
|
2003-10-28 10:08:15 +01:00
|
|
|
CATEGORIES= sysutils security
|
2003-08-04 09:48:53 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2003-04-02 14:39:26 +02:00
|
|
|
MASTER_SITE_SUBDIR= webjob
|
2003-08-04 09:48:53 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
2003-04-02 14:39:26 +02:00
|
|
|
|
2003-08-04 09:48:53 +02:00
|
|
|
MAINTAINER= klm@uidzero.org
|
|
|
|
COMMENT= Download and execute a program over HTTP/HTTPS
|
2003-04-02 14:39:26 +02:00
|
|
|
|
2003-08-04 09:48:53 +02:00
|
|
|
GNU_CONFIGURE= YES
|
2003-04-02 14:39:26 +02:00
|
|
|
|
2005-06-12 15:44:26 +02:00
|
|
|
.if defined(WITHOUT_PAD)
|
|
|
|
PLIST_SUB+= PAD="@comment "
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= PAD=""
|
|
|
|
CONFIGURE_ARGS+= --with-pad-tools
|
|
|
|
.endif
|
|
|
|
|
2003-04-02 14:39:26 +02:00
|
|
|
.if defined(WITHOUT_SSL)
|
2003-08-04 09:48:53 +02:00
|
|
|
CONFIGURE_ARGS+= --without-ssl
|
2003-04-02 14:39:26 +02:00
|
|
|
.else
|
2003-08-04 09:48:53 +02:00
|
|
|
USE_OPENSSL= YES
|
|
|
|
CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE}
|
2006-07-26 17:23:58 +02:00
|
|
|
.if defined(WITHOUT_DSV) # Note: DSV requires SSL
|
|
|
|
PLIST_SUB+= DSV="@comment "
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= DSV=""
|
|
|
|
CONFIGURE_ARGS+= --with-dsv-tools
|
|
|
|
MAN1+= webjob-dsvtool.1
|
|
|
|
.endif
|
2003-04-02 14:39:26 +02:00
|
|
|
.endif
|
|
|
|
|
2005-06-12 15:44:26 +02:00
|
|
|
.if !defined(NO_STATIC)
|
2004-05-03 01:31:17 +02:00
|
|
|
CFLAGS+= -static
|
2003-08-04 09:48:53 +02:00
|
|
|
.endif
|
|
|
|
|
2006-07-26 17:23:58 +02:00
|
|
|
MAN1+= webjob.1
|
2003-08-04 09:48:53 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${STRIP_CMD} ${PREFIX}/bin/webjob
|
2003-04-02 14:39:26 +02:00
|
|
|
|
2004-04-05 02:39:58 +02:00
|
|
|
.include <bsd.port.mk>
|