diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2011-08-11 00:42:21 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2011-08-11 00:42:21 +0800 |
commit | 4a0f2a76ff2865ac125d79be5e924055d50ea3be (patch) | |
tree | 1b2c765b98bbe8b2871551dc3b5e3d04d00d3615 /x11-fm/tkdesk | |
parent | 7d1f12cdaf17feca19e1488dfcc82364d16945db (diff) | |
download | freebsd-ports-gnome-4a0f2a76ff2865ac125d79be5e924055d50ea3be.tar.gz freebsd-ports-gnome-4a0f2a76ff2865ac125d79be5e924055d50ea3be.tar.zst freebsd-ports-gnome-4a0f2a76ff2865ac125d79be5e924055d50ea3be.zip |
- Support USE_TK
- Fix WWW: line
PR: 159496
Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'x11-fm/tkdesk')
-rw-r--r-- | x11-fm/tkdesk/Makefile | 29 | ||||
-rw-r--r-- | x11-fm/tkdesk/files/patch-ab | 2 | ||||
-rw-r--r-- | x11-fm/tkdesk/pkg-descr | 6 |
3 files changed, 23 insertions, 14 deletions
diff --git a/x11-fm/tkdesk/Makefile b/x11-fm/tkdesk/Makefile index aca5e6db7016..e726e097027a 100644 --- a/x11-fm/tkdesk/Makefile +++ b/x11-fm/tkdesk/Makefile @@ -7,7 +7,7 @@ PORTNAME= tkdesk PORTVERSION= 2.0.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11-fm tk MASTER_SITES= SF/${PORTNAME}/TkDesk/2.0 DISTNAME= ${PORTNAME}-${PORTVERSION:R} @@ -18,26 +18,33 @@ MAINTAINER= ports@FreeBSD.org COMMENT= A graphical, highly configurable and powerful file manager LIB_DEPENDS= BLT24:${PORTSDIR}/x11-toolkits/blt \ - itcl:${PORTSDIR}/lang/itcl \ - tk84:${PORTSDIR}/x11-toolkits/tk84 + itcl:${PORTSDIR}/lang/itcl +EXTRACT_AFTER_ARGS=| ${TAR} -xf - --exclude blt PATCH_DIST_STRIP=-p1 + +USE_TCL_BUILD= yes +USE_TCL= yes +USE_TK_BUILD= yes +USE_TK= yes USE_GMAKE= yes GNU_CONFIGURE= yes -MAKE_ENV+= LIB_RUNTIME_DIR=${LOCABASE}/lib -CONFIGURE_ENV= CPPFLAG="-I${LOCALBASE}/include/itcl3.3" \ - LDFLAGS="-L${LOCALBASE}/lib -litcl" -CONFIGURE_ARGS= --with-tcl=${LOCALBASE}/lib/tcl8.4 \ - --with-tk=${LOCALBASE}/lib/tk8.4 \ - --with-blt=${LOCALBASE} \ - --with-itcl=${LOCALBASE}/lib/itcl3.3 -EXTRACT_AFTER_ARGS=| ${TAR} -xf - --exclude blt +CONFIGURE_ENV= LDFLAGS="${LDFLAGS}" +CONFIGURE_ARGS= --with-tcl=${TCL_LIBDIR} \ + --with-tk=${TK_LIBDIR} \ + --with-blt=${LOCALBASE} \ + --with-itcl=${LOCALBASE}/lib/itcl3.4 +MAKE_ENV= LIB_RUNTIME_DIR="${LOCABASE}/lib" MAN1= tkdesk.1 cd-tkdesk.1 ed-tkdesk.1 od-tkdesk.1 +CPPFLAG= -I${LOCALBASE}/include/itcl3.4 +LDFLAGS= -L${LOCALBASE}/lib -litcl + post-patch: @${GREP} -lR "<malloc\.h>" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ 's|<malloc\.h>|<stdlib.h>|g' + @${REINPLACE_CMD} -e 's|%%TCLSH%%|${TCLSH}|g' ${WRKSRC}/Makefile.in pre-install: @${FIND} ${WRKSRC} -type f -name "*.orig" -delete diff --git a/x11-fm/tkdesk/files/patch-ab b/x11-fm/tkdesk/files/patch-ab index 6aeac8f499ad..39793503ca3e 100644 --- a/x11-fm/tkdesk/files/patch-ab +++ b/x11-fm/tkdesk/files/patch-ab @@ -14,7 +14,7 @@ find $(SCRIPT_INSTALL_DIR) -type d -exec chmod a+rx {} \; @echo "=== Creating index..." - cd $(SCRIPT_INSTALL_DIR); $(BIN_INSTALL_DIR)/tkdesksh mkindex -+ cd $(SCRIPT_INSTALL_DIR); tclsh8.4 mkindex ++ cd $(SCRIPT_INSTALL_DIR); %%TCLSH%% mkindex @echo "=== Installing the manual pages..." @for f in tkdesk.1 cd-tkdesk.1 ed-tkdesk.1 od-tkdesk.1; do \ echo "installing $$f" ;\ diff --git a/x11-fm/tkdesk/pkg-descr b/x11-fm/tkdesk/pkg-descr index 6ce83b4547c5..f6e136f048cc 100644 --- a/x11-fm/tkdesk/pkg-descr +++ b/x11-fm/tkdesk/pkg-descr @@ -1,2 +1,4 @@ - TkDesk is a graphical, highly configurable and powerful file manager - for Unix and the X Window System. +TkDesk is a graphical, highly configurable and powerful file manager for +Unix and the X Window System. + +WWW: http://tkdesk.sourceforge.net/ |