diff options
| author | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-10-04 10:48:50 +0000 |
|---|---|---|
| committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-10-04 10:48:50 +0000 |
| commit | 0c06111c464371ac05e6e30d841fc4e86a2d5700 (patch) | |
| tree | aea79b8d9b683f52f70634531007aeb451f8f1ed /security/openfwtk | |
| parent | Update to 1.8.12, which fixes build with clang. (diff) | |
Convert to new options framework
Diffstat (limited to 'security/openfwtk')
| -rw-r--r-- | security/openfwtk/Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/security/openfwtk/Makefile b/security/openfwtk/Makefile index aa23880841fb..6c152520438d 100644 --- a/security/openfwtk/Makefile +++ b/security/openfwtk/Makefile @@ -1,7 +1,4 @@ -# New ports collection makefile for: openfwtk -# Date created: 12 Oct 2007 -# Whom: Anton Karpov <toxa@toxahost.ru> -# +# Created by: Anton Karpov <toxa@toxahost.ru> # $FreeBSD$ PORTNAME= openfwtk @@ -16,7 +13,8 @@ COMMENT= Application proxy toolkit which inherits the ideology of TIS fwtk LICENSE= BSD -OPTIONS= WATCH "Install fw-watch GUI (require TCL/TK!)" off +OPTIONS_DEFINE= GUI +GUI_DESC= Install fw-watch GUI (require TCL/TK!) WRKSRC= ${WRKDIR}/fwtk WRKSRC_WATCH= ${WRKDIR}/fw_watch @@ -29,7 +27,7 @@ MANCOMPRESSED= no .include <bsd.port.options.mk> -.if defined(WITH_WATCH) +.if ${PORT_OPTIONS:MGUI} USE_TK_WRAPPER= yes PLIST_SUB+= WATCH="" .else @@ -67,7 +65,7 @@ pre-install: @${MKDIR} ${ETCDIR} post-install: -.if defined(WITH_WATCH) +.if ${PORT_OPTIONS:MGUI} @${MKDIR} ${PREFIX}/share/fw_watch .for data in fileselect.tcl fw_watch newsb.tcl searchbox.tcl taputils.tcl ${INSTALL_DATA} ${WRKSRC_WATCH}/${data} ${PREFIX}/share/fw_watch |
