diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2011-08-10 16:42:21 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2011-08-10 16:42:21 +0000 |
commit | 328d0c6acd3425c2efd461a8df3299a2b8a457b7 (patch) | |
tree | 69332d57df067f9865f15c2a584285f6dd0f06e7 /x11-fm | |
parent | eb31b1ddf4c9b8c3133422e37e8f35cb96862bf9 (diff) | |
download | ports-328d0c6acd3425c2efd461a8df3299a2b8a457b7.tar.gz ports-328d0c6acd3425c2efd461a8df3299a2b8a457b7.zip |
Notes
Diffstat (limited to 'x11-fm')
-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/ |