diff options
author | bapt <bapt@FreeBSD.org> | 2013-06-04 18:01:59 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-06-04 18:01:59 +0800 |
commit | d90e07b31b9fb92bb34812bb5353a3a9029d4edb (patch) | |
tree | a09a16b1600a6515e11db81862fcd0fe5c5afc97 /www/havp | |
parent | 87b18a86fb113bc0416ba5527c5d42f336b87c57 (diff) | |
download | freebsd-ports-gnome-d90e07b31b9fb92bb34812bb5353a3a9029d4edb.tar.gz freebsd-ports-gnome-d90e07b31b9fb92bb34812bb5353a3a9029d4edb.tar.zst freebsd-ports-gnome-d90e07b31b9fb92bb34812bb5353a3a9029d4edb.zip |
Convert to new options framework
Diffstat (limited to 'www/havp')
-rw-r--r-- | www/havp/Makefile | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/www/havp/Makefile b/www/havp/Makefile index 61806360248e..353b0a01ba83 100644 --- a/www/havp/Makefile +++ b/www/havp/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: havp -# Date created: 17 June 2006 -# Whom: Elisey Savateev <b3k@mail.ru> -# +# Created by: Elisey Savateev <b3k@mail.ru> # $FreeBSD$ -# PORTNAME= havp PORTVERSION= 0.91 @@ -32,25 +28,27 @@ PLIST_SUB+= LOG_DIR=${LOG_DIR} TMP_DIR=${TMP_DIR} RUN_DIR=${RUN_DIR} SUB_FILES= pkg-install pkg-deinstall SUB_LIST= LOG_DIR=${LOG_DIR} TMP_DIR=${TMP_DIR} RUN_DIR=${RUN_DIR} -OPTIONS= SSL "Enable SSL proxying (not scanned, only forwarded!)" on \ - CLAMAV "Enable libclamav support" on \ - TROPHIE "Enable Trend Micro (Trophie) support" off +OPTIONS_DEFINE= SSL CLAMAV TROPHIE +OPTIONS_DEFAULT= SSL CLAMAV +SSL_DESC= SSL proxying (not scanned, only forwarded!) +CLAMAV_DESC= libclamav support +TROPHIE_DESC= Trend Micro (Trophie) support -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if defined(WITH_SSL) +.if ${PORT_OPTIONS:MSSL} CONFIGURE_ARGS+= --enable-ssl-tunnel .else CONFIGURE_ARGS+= --disable-ssl-tunnel .endif -.if defined(WITH_CLAMAV) +.if ${PORT_OPTIONS:MCLAMAV} CONFIGURE_ARGS+= --enable-clamav .else CONFIGURE_ARGS+= --disable-clamav .endif -.if defined(WITH_TROPHIE) +.if ${PORT_OPTIONS:MTROPHIE} CONFIGURE_ARGS+= --enable-trophie .else CONFIGURE_ARGS+= --disable-trophie @@ -68,4 +66,4 @@ post-install: @${CP} ${WRKSRC}/etc/havp/whitelist ${EXAMPLESDIR}/whitelist.sample @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL -.include <bsd.port.post.mk> +.include <bsd.port.mk> |