From owner-svn-ports-all@FreeBSD.ORG Sun Oct 14 02:38:40 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7E98AF9C; Sun, 14 Oct 2012 02:38:40 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 4E89F8FC08; Sun, 14 Oct 2012 02:38:40 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q9E2ceOi066299; Sun, 14 Oct 2012 02:38:40 GMT (envelope-from eadler@svn.freebsd.org) Received: (from eadler@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q9E2ceAf066296; Sun, 14 Oct 2012 02:38:40 GMT (envelope-from eadler@svn.freebsd.org) Message-Id: <201210140238.q9E2ceAf066296@svn.freebsd.org> From: Eitan Adler Date: Sun, 14 Oct 2012 02:38:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r305856 - head/x11-toolkits/tk84 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Oct 2012 02:38:40 -0000 Author: eadler Date: Sun Oct 14 02:38:39 2012 New Revision: 305856 URL: http://svn.freebsd.org/changeset/ports/305856 Log: Convert to OptionsNG Trim headers Reviewed by: ak Feature safe: yes Modified: head/x11-toolkits/tk84/Makefile Modified: head/x11-toolkits/tk84/Makefile ============================================================================== --- head/x11-toolkits/tk84/Makefile Sun Oct 14 02:00:51 2012 (r305855) +++ head/x11-toolkits/tk84/Makefile Sun Oct 14 02:38:39 2012 (r305856) @@ -1,9 +1,4 @@ -# New ports collection makefile for: tk -# Date created: 19 August 1997 -# Whom: jkh -# # $FreeBSD$ -# PORTNAME= tk PORTVERSION= 8.4.19 @@ -37,11 +32,13 @@ MANCOMPRESSED= no DATADIR= ${PREFIX}/share/${PORTNAME}${TK_VER} SUB_FILES= pkgIndex.tcl +OPTIONS_DEFINE= TK84_DOC +TK84_DOC_DESC= Install tk 8.4 function manpages + .if !defined(BUILDING_TK_THREADS) USE_TCL= 84 - -OPTIONS= TK84_DOC "Install tk 8.4 function manpages" off .else +OPTIONS_EXCLUDE= TK84_DOC USE_TK= ${SHORT_TK_VER} PLIST= ${PKGDIR}/pkg-plist.threads THREADS_SUFFIX= -threads @@ -71,7 +68,7 @@ CONFIGURE_ENV+= ac_cv_path_tclsh="${TCL SUB_LIST+= TK_PROVIDE="" -.if !defined(NO_INSTALL_MANPAGES) && defined(WITH_TK84_DOC) +.if !defined(NO_INSTALL_MANPAGES) && ${PORT_OPTIONS:MTK84_DOC} MAN3= 3DBorder.3 AddOption.3 BindTable.3 CanvPsY.3 CanvTkwin.3 \ CanvTxtInfo.3 Clipboard.3 ClrSelect.3 ConfigWidg.3 ConfigWind.3 \ @@ -426,13 +423,13 @@ post-install: .if !defined(NO_INSTALL_MANPAGES) ${MKDIR} ${MANPREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/../doc/wish.1 ${MANPREFIX}/man/man1/wish${TCL_VER}${THREADS_SUFFIX}.1 -.if !defined(BUILDING_TK_THREADS) && defined(WITH_TK84_DOC) +.if !defined(BUILDING_TK_THREADS) && ${PORT_OPTIONS:MTK84_DOC} .for mp in ${MAN3} ${MANN} @${REINPLACE_CMD} -e 's|^.so man.macros|.so ${DATADIR}/man.macros|' \ ${WRKSRC}/../doc/${mp} .endfor @cd ${WRKSRC} && ${MAKE} install-doc ${MAKE_ENV} -.endif # !defined(BUILDING_TK_THREADS) && defined(WITH_TK84_DOC) +.endif # !defined(BUILDING_TK_THREADS) && ${PORT_OPTIONS:MTK84_DOC} .endif # !defined(NO_INSTALL_MANPAGES)