diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2013-05-23 03:57:45 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2013-05-23 03:57:45 +0000 |
commit | 59e03e06cc332df0324f403bd161cfcce93be631 (patch) | |
tree | b7c381babb485b72d4400e24a9a99bbc1f7f78c4 | |
parent | Move `emulators/hfsutils' to a more appropriate category (sysutils). (diff) |
Adjust CATEGORIES, allow to install developer libraries, improve TCLTK
option description while here. The port now matches pkg-descr closely.
Notes
Notes:
svn path=/head/; revision=318839
-rw-r--r-- | sysutils/hfsutils/Makefile | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/sysutils/hfsutils/Makefile b/sysutils/hfsutils/Makefile index 6df1a64bdf88..55d930a6da5a 100644 --- a/sysutils/hfsutils/Makefile +++ b/sysutils/hfsutils/Makefile @@ -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 <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 |