mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
bb5196a149
variables deprecation revision WITHOUT_NLS 2013-12-13 r336337 WITH_/WITHOUT_ 2014-02-24 r345870 NOPORT(DOC|EXAMPLE)S 2014-04-19 r351587 WITH_BDB_VER 2016-05-02 r414444 OVERRIDE_LINUX_BASE_PORT 2016-09-05 r421387 WITH_OPENSSL_(BASE|PORT) 2016-06-16 r416965 While there, add an ERROR variable that works like DEV_ERROR, but for user facing errors, and move NOPORTDOCS, NOPORTEXAMPLES and WITHOUT_NLS to it. Cleanup bsd.sanity.mk a bit. Fix fallout. PR: 224613 Submitted by: mat Exp-run by: antoine Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D13490
57 lines
1.2 KiB
Makefile
57 lines
1.2 KiB
Makefile
# Created by: Klayton Monroe <klm@uidzero.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= webjob
|
|
PORTVERSION= 1.9.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= sysutils security
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= klm@uidzero.org
|
|
COMMENT= Download and execute a program over HTTP/HTTPS
|
|
|
|
BROKEN_aarch64= fails to build: aarch64 is not currently supported
|
|
BROKEN_mips64= fails to build: mips64 is not currently supported
|
|
|
|
USES= perl5 shebangfix tar:tgz
|
|
SHEBANG_FILES= tools/xshar/xshar
|
|
GNU_CONFIGURE= yes
|
|
USE_PERL5= build
|
|
|
|
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
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MPAD_TOOLS}
|
|
PLIST_SUB+= PAD_TOOLS=""
|
|
CONFIGURE_ARGS+= --with-pad-tools
|
|
.else
|
|
PLIST_SUB+= PAD_TOOLS="@comment "
|
|
.endif
|
|
|
|
.if ! ${PORT_OPTIONS:MSSL}
|
|
CONFIGURE_ARGS+= --without-ssl
|
|
PLIST_SUB+= DSV_TOOLS="@comment "
|
|
.else
|
|
USES+= ssl
|
|
CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE}
|
|
.if ! ${PORT_OPTIONS:MDSV_TOOLS} # Note: DSV requires SSL
|
|
PLIST_SUB+= DSV_TOOLS="@comment "
|
|
.else
|
|
PLIST_SUB+= DSV_TOOLS=""
|
|
CONFIGURE_ARGS+= --with-dsv-tools
|
|
.endif
|
|
.endif
|
|
|
|
.if !defined(NO_STATIC)
|
|
CFLAGS+= -static
|
|
.endif
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/webjob
|
|
|
|
.include <bsd.port.mk>
|