diff options
-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 |