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
|
|
|
|
PORTVERSION= 1.3.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
|
|
|
|
|
|
|
.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}
|
2003-04-02 14:39:26 +02:00
|
|
|
.endif
|
|
|
|
|
2003-08-04 09:48:53 +02:00
|
|
|
.if defined(NO_STATIC)
|
|
|
|
CFLAGS+=
|
|
|
|
.else
|
|
|
|
CFLAGS+= -static
|
|
|
|
.endif
|
|
|
|
|
|
|
|
MAN1= webjob.1
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${STRIP_CMD} ${PREFIX}/bin/webjob
|
2003-04-02 14:39:26 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|