From owner-svn-ports-head@FreeBSD.ORG Thu May 23 03:57:46 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B63AE5BF; Thu, 23 May 2013 03:57:46 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id A7334EDB; Thu, 23 May 2013 03:57:46 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4N3vkBV013791; Thu, 23 May 2013 03:57:46 GMT (envelope-from danfe@svn.freebsd.org) Received: (from danfe@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4N3vk8m013790; Thu, 23 May 2013 03:57:46 GMT (envelope-from danfe@svn.freebsd.org) Message-Id: <201305230357.r4N3vk8m013790@svn.freebsd.org> From: Alexey Dokuchaev Date: Thu, 23 May 2013 03:57:46 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r318839 - head/sysutils/hfsutils X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 May 2013 03:57:46 -0000 Author: danfe Date: Thu May 23 03:57:45 2013 New Revision: 318839 URL: http://svnweb.freebsd.org/changeset/ports/318839 Log: Adjust CATEGORIES, allow to install developer libraries, improve TCLTK option description while here. The port now matches pkg-descr closely. Modified: head/sysutils/hfsutils/Makefile Modified: head/sysutils/hfsutils/Makefile ============================================================================== --- head/sysutils/hfsutils/Makefile Thu May 23 03:53:41 2013 (r318838) +++ head/sysutils/hfsutils/Makefile Thu May 23 03:57:45 2013 (r318839) @@ -4,7 +4,7 @@ PORTNAME= hfsutils PORTVERSION= 3.2.6 PORTREVISION= 3 -CATEGORIES= emulators tk +CATEGORIES= sysutils MASTER_SITES= ftp://ftp.mars.org/pub/hfs/ MAINTAINER= ports@FreeBSD.org @@ -33,14 +33,18 @@ MAN1= hattrib.1 \ humount.1 \ hvol.1 -OPTIONS_DEFINE= TCLTK DOCS -TCLTK_DESC= Build tools that require Tcl/Tk support +OPTIONS_DEFINE= TCLTK DEVLIBS DOCS + +TCLTK_DESC= Enable Tcl interface (HFS "shell") and Tk-based GUI +DEVLIBS_DESC= Install developer libraries and header files PORTDOCS= * .include .if ${PORT_OPTIONS:MTCLTK} +CATEGORIES+= tcl tk + USE_TCL= 84+ USE_TK= 84+ @@ -58,6 +62,15 @@ PLIST_FILES+= bin/hfs \ CONFIGURE_ARGS= --without-tcl --without-tk .endif +.if ${PORT_OPTIONS:MDEVLIBS} +CONFIGURE_ARGS+= --enable-devlibs + +PLIST_FILES+= include/hfs.h \ + include/rsrc.h \ + lib/libhfs.a \ + lib/librsrc.a +.endif + post-patch: # Unbreak against Tcl 8.6 @${ECHO_CMD} '#define USE_INTERP_RESULT 1' >> ${WRKSRC}/config.h.in