svn commit: r318839 - head/sysutils/hfsutils
Alexey Dokuchaev
danfe at FreeBSD.org
Thu May 23 03:57:46 UTC 2013
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 at 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 <bsd.port.options.mk>
.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
More information about the svn-ports-all
mailing list