summaryrefslogtreecommitdiff
path: root/sysutils/webjob/Makefile
diff options
context:
space:
mode:
authorFoxfair Hu <foxfair@FreeBSD.org>2003-08-04 07:48:53 +0000
committerFoxfair Hu <foxfair@FreeBSD.org>2003-08-04 07:48:53 +0000
commit8eb6a2ba7cba334daee8d97630ea821095884085 (patch)
tree16cd7dec9568f0bf36c39dd2fd985dc96f26c3d3 /sysutils/webjob/Makefile
parent- Fix support for python2.3 (diff)
PR: 54872
Submitted by: klm@uidzero.org <mavrik@ruby.ir.exodus.net> Update to 1.3.0, also change maintainer's email address.
Notes
Notes: svn path=/head/; revision=86261
Diffstat (limited to 'sysutils/webjob/Makefile')
-rw-r--r--sysutils/webjob/Makefile40
1 files changed, 22 insertions, 18 deletions
diff --git a/sysutils/webjob/Makefile b/sysutils/webjob/Makefile
index d756d6230265..ef90d6ae57ac 100644
--- a/sysutils/webjob/Makefile
+++ b/sysutils/webjob/Makefile
@@ -1,34 +1,38 @@
# New ports collection makefile for: webjob
# Date created: 20 August 2002
-# Whom: Klayton Monroe <klm@ir.exodus.net>
+# Whom: Klayton Monroe <klm@uidzero.org>
#
# $FreeBSD$
#
-PORTNAME= webjob
-PORTVERSION= 1.2.3
-CATEGORIES= sysutils security
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+PORTNAME= webjob
+PORTVERSION= 1.3.0
+CATEGORIES= security sysutils
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= webjob
-EXTRACT_SUFX= .tgz
+EXTRACT_SUFX= .tgz
-MAINTAINER= klm@ir.exodus.net
-COMMENT= Download and execute a program over HTTP/HTTPS
+MAINTAINER= klm@uidzero.org
+COMMENT= Download and execute a program over HTTP/HTTPS
-MAN1= webjob.1
-
-GNU_CONFIGURE= YES
+GNU_CONFIGURE= YES
.if defined(WITHOUT_SSL)
-CONFIGURE_ARGS= --without-ssl
+CONFIGURE_ARGS+= --without-ssl
.else
-USE_OPENSSL= YES
-CONFIGURE_ARGS= --with-ssl=${OPENSSLBASE}
+USE_OPENSSL= YES
+CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE}
.endif
-pre-build:
- @${MV} ${WRKSRC}/etc/webjob.cfg ${WRKSRC}/etc/webjob.cfg.sample
- @${MV} ${WRKSRC}/etc/Makefile ${WRKSRC}/etc/Makefile.orig
- @${SED} 's/webjob.cfg/webjob.cfg.sample/g' ${WRKSRC}/etc/Makefile.orig > ${WRKSRC}/etc/Makefile
+.if defined(NO_STATIC)
+CFLAGS+=
+.else
+CFLAGS+= -static
+.endif
+
+MAN1= webjob.1
+
+post-install:
+ @${STRIP_CMD} ${PREFIX}/bin/webjob
.include <bsd.port.mk>