2013-04-28 22:01:07 +02:00
|
|
|
# Created by: Klayton Monroe <klm@uidzero.org>
|
2003-04-02 14:39:26 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2014-06-30 16:42:19 +02:00
|
|
|
PORTNAME= webjob
|
|
|
|
PORTVERSION= 1.9.0
|
|
|
|
PORTREVISION= 1
|
|
|
|
CATEGORIES= sysutils security
|
|
|
|
MASTER_SITES= SF
|
2003-04-02 14:39:26 +02:00
|
|
|
|
2014-06-30 16:42:19 +02:00
|
|
|
MAINTAINER= klm@uidzero.org
|
|
|
|
COMMENT= Download and execute a program over HTTP/HTTPS
|
2003-04-02 14:39:26 +02:00
|
|
|
|
2016-11-08 20:29:56 +01:00
|
|
|
BROKEN_aarch64= fails to build: aarch64 is not currently supported
|
2016-11-08 03:37:52 +01:00
|
|
|
BROKEN_mips64= fails to build: mips64 is not currently supported
|
|
|
|
|
2014-07-29 21:11:51 +02:00
|
|
|
USES= perl5 shebangfix tar:tgz
|
2014-06-30 16:42:19 +02:00
|
|
|
SHEBANG_FILES= tools/xshar/xshar
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_PERL5= build
|
2003-04-02 14:39:26 +02:00
|
|
|
|
2013-04-28 22:01:07 +02:00
|
|
|
OPTIONS_DEFINE= PAD_TOOLS DSV_TOOLS SSL
|
|
|
|
OPTIONS_DEFAULT= PAD_TOOLS DSV_TOOLS
|
|
|
|
PAD_TOOLS_DESC= install PaD tools
|
|
|
|
DSV_TOOLS_DESC= install DSV tools
|
2008-12-25 20:47:36 +01:00
|
|
|
|
2013-04-28 22:01:07 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2008-12-25 20:47:36 +01:00
|
|
|
|
2013-04-28 22:01:07 +02:00
|
|
|
.if ${PORT_OPTIONS:MPAD_TOOLS}
|
2008-12-25 20:47:36 +01:00
|
|
|
PLIST_SUB+= PAD_TOOLS=""
|
2005-06-12 15:44:26 +02:00
|
|
|
CONFIGURE_ARGS+= --with-pad-tools
|
2008-12-25 20:47:36 +01:00
|
|
|
.else
|
|
|
|
PLIST_SUB+= PAD_TOOLS="@comment "
|
2005-06-12 15:44:26 +02:00
|
|
|
.endif
|
|
|
|
|
2013-04-28 22:01:07 +02:00
|
|
|
.if ! ${PORT_OPTIONS:MSSL}
|
2003-08-04 09:48:53 +02:00
|
|
|
CONFIGURE_ARGS+= --without-ssl
|
2013-06-11 21:02:20 +02:00
|
|
|
PLIST_SUB+= DSV_TOOLS="@comment "
|
2003-04-02 14:39:26 +02:00
|
|
|
.else
|
2017-03-15 15:45:30 +01:00
|
|
|
USES+= ssl
|
2003-08-04 09:48:53 +02:00
|
|
|
CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE}
|
2013-04-28 22:01:07 +02:00
|
|
|
.if ! ${PORT_OPTIONS:MDSV_TOOLS} # Note: DSV requires SSL
|
2008-12-25 20:47:36 +01:00
|
|
|
PLIST_SUB+= DSV_TOOLS="@comment "
|
2006-07-26 17:23:58 +02:00
|
|
|
.else
|
2008-12-25 20:47:36 +01:00
|
|
|
PLIST_SUB+= DSV_TOOLS=""
|
2006-07-26 17:23:58 +02:00
|
|
|
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
|
|
|
|
|
|
|
|
post-install:
|
2014-06-30 16:42:19 +02:00
|
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/webjob
|
2003-04-02 14:39:26 +02:00
|
|
|
|
2013-04-28 22:01:07 +02:00
|
|
|
.include <bsd.port.mk>
|