diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2011-08-13 03:30:04 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2011-08-13 03:30:04 +0800 |
commit | 6ea8d2fac4c018088ebf95ab52c9392de14fb6ce (patch) | |
tree | 88bfcf7ae15f94c5dbea0d6e62f957033e07b767 /editors/e93 | |
parent | d855aba8626630f2f0a9458804df8c082448aadc (diff) | |
download | freebsd-ports-gnome-6ea8d2fac4c018088ebf95ab52c9392de14fb6ce.tar.gz freebsd-ports-gnome-6ea8d2fac4c018088ebf95ab52c9392de14fb6ce.tar.zst freebsd-ports-gnome-6ea8d2fac4c018088ebf95ab52c9392de14fb6ce.zip |
Update to 1.4.2
PR: 159434
Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'editors/e93')
-rw-r--r-- | editors/e93/Makefile | 51 | ||||
-rw-r--r-- | editors/e93/distinfo | 4 | ||||
-rw-r--r-- | editors/e93/files/patch-machdef.mk | 44 | ||||
-rw-r--r-- | editors/e93/pkg-plist | 11 |
4 files changed, 36 insertions, 74 deletions
diff --git a/editors/e93/Makefile b/editors/e93/Makefile index ead0c83cdbdf..e5f19c64223e 100644 --- a/editors/e93/Makefile +++ b/editors/e93/Makefile @@ -6,37 +6,46 @@ # PORTNAME= e93 -PORTVERSION= 1.3.4 -PORTREVISION= 2 -CATEGORIES= editors tcl tk +PORTVERSION= 1.4.2 +CATEGORIES= editors tcl MASTER_SITES= ftp://ftp.e93.org/pub/ -DISTNAME= ${PORTNAME}-1.3r4X +DISTNAME= ${PORTNAME}-${PORTVERSION:R}r${PORTVERSION:E}X EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org -COMMENT= A nifty editor based on Tcl/Tk +COMMENT= A nifty editor based on Tcl + +LICENSE= GPLv2 -USE_TCL= 84 -USE_TCL_BUILD= 84 -USE_TK= 84 -USE_TK_BUILD= 84 -USE_XORG= x11 xt WRKSRC= ${WRKDIR}/${PORTNAME} -MAKE_JOBS_UNSAFE= yes + +USE_XORG= x11 xinerama +USE_TCL_BUILD= yes +USE_TCL= yes +USE_GMAKE= yes +MAKE_ARGS= PREFIX="${PREFIX}" \ + TCL_INCLUDE="-I${TCL_INCLUDEDIR}" \ + TCL_LIB="-L${LOCALBASE}/lib" \ + TCL_VERSION="${TCL_VER:S/.//}" \ + X_INCLUDE="-I${LOCALBASE}/include" \ + X_LIB="-L${LOCALBASE}/lib" \ + EXTRALIBS="-lm" \ + CC="${CXX}" \ + OPTIONS="${CXXFLAGS}" +MAKE_JOBS_SAFE= yes post-patch: - @${REINPLACE_CMD} 's|wish|wish${TK_VER}|' ${WRKSRC}/e93r - @${REINPLACE_CMD} 's|CFLAGS=|CFLAGS+=$$(TK_INCLUDE) -I${LOCALBASE}/include |' \ - ${WRKSRC}/Makefile ${WRKSRC}/xgui/Makefile + @${REINPLACE_CMD} -e 's|-lstdc++||g ; \ + s|;make|;$$(MAKE)|g' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e '/<X11\/Intrinsic.h>/d ; \ + /<X11\/Shell.h>/d' ${WRKSRC}/xgui/includes.h do-install: ${INSTALL_PROGRAM} ${WRKSRC}/e93 ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/e93r ${PREFIX}/bin - ${MKDIR} ${PREFIX}/lib/e93lib - ${CP} -R ${WRKSRC}/e93lib/* ${PREFIX}/lib/e93lib -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README* ${DOCSDIR} -.endif + @${MKDIR} ${PREFIX}/lib/e93lib +.for ext in e93 regex syntaxmaps + ${INSTALL_DATA} ${WRKSRC}/README.${ext} ${PREFIX}/lib/e93lib +.endfor + @(cd ${WRKSRC}/e93lib && ${COPYTREE_SHARE} . ${PREFIX}/lib/e93lib) .include <bsd.port.mk> diff --git a/editors/e93/distinfo b/editors/e93/distinfo index ccab3599231e..017c414015a2 100644 --- a/editors/e93/distinfo +++ b/editors/e93/distinfo @@ -1,2 +1,2 @@ -SHA256 (e93-1.3r4X.tgz) = 479f584d8d35ebbb5ceb8ee957ffa2b1dc84fdfa6d38e384756db6667d5c1329 -SIZE (e93-1.3r4X.tgz) = 431179 +SHA256 (e93-1.4r2X.tgz) = 750d812fe5911a71cf18a4e0d623ae6c4ee420d9c7886205d3dcf19aecfbc3c1 +SIZE (e93-1.4r2X.tgz) = 431733 diff --git a/editors/e93/files/patch-machdef.mk b/editors/e93/files/patch-machdef.mk deleted file mode 100644 index c89e771c74e3..000000000000 --- a/editors/e93/files/patch-machdef.mk +++ /dev/null @@ -1,44 +0,0 @@ ---- machdef.mk.orig Fri Sep 29 02:47:44 2000 -+++ machdef.mk Fri Sep 29 02:50:54 2000 -@@ -27,33 +27,32 @@ - # - # e93 will install its single executable "e93" in $PREFIX/bin - # and it will place a directory called "e93lib" in $PREFIX/lib --PREFIX=/usr/local - - - # The following lines may need to be altered if the Tcl - # files are located elsewhere on your system: --TCL_INCLUDE=-I/usr/local/include --TCL_LIB=-L/usr/local/lib -+TCL_INCLUDE=-I${LOCALBASE}/include/tcl8.4 -+TCL_LIB=-L${LOCALBASE}/lib - # uncomment and change if you want to link with specific versions of Tcl/Tk --#TCL_VERSION=8.3 -+TCL_VERSION=84 -+TK_INCLUDE=-I${LOCALBASE}/include/tk8.4 - - - # The following lines may need to be altered if the X include and library - # files are located elsewhere on your system: --X_INCLUDE=-I/usr/X11R6/include --X_LIB=-L/usr/X11R6/lib -+X_INCLUDE=-I${LOCALBASE}/include -+X_LIB=-L${LOCALBASE}/lib - - - # if your system needs some extra libraries, add them here: --EXTRALIBS=-lm -ldl -+EXTRALIBS=-lm - - # Uncomment this line if running Solaris: - #MACHINESPEC=-DSOLARIS - - # set compiler to use --CC=gcc - - - # set some compiler options --OPTIONS=-O2 -Wall -x c++ -g -+OPTIONS=-Wall -x c++ - #OPTIONS = -Wall -O2 -x c++ -mcpu=21164a -Wa,-m21164a -g diff --git a/editors/e93/pkg-plist b/editors/e93/pkg-plist index c6a656da5626..769760155be2 100644 --- a/editors/e93/pkg-plist +++ b/editors/e93/pkg-plist @@ -1,5 +1,7 @@ bin/e93 -bin/e93r +lib/e93lib/README.e93 +lib/e93lib/README.regex +lib/e93lib/README.syntaxmaps lib/e93lib/e93rc.tcl lib/e93lib/examples/README lib/e93lib/examples/sethighlightscheme.tcl @@ -18,6 +20,7 @@ lib/e93lib/syntaxmaps/asm.tcl lib/e93lib/syntaxmaps/c.tcl lib/e93lib/syntaxmaps/css.tcl lib/e93lib/syntaxmaps/eiffel.tcl +lib/e93lib/syntaxmaps/email.tcl lib/e93lib/syntaxmaps/html.tcl lib/e93lib/syntaxmaps/java.tcl lib/e93lib/syntaxmaps/javaScript.tcl @@ -29,12 +32,6 @@ lib/e93lib/syntaxmaps/verilog.tcl lib/e93lib/syntaxmaps/vhdl.tcl lib/e93lib/syntaxmaps/xml.tcl lib/e93lib/syntaxmaps/xsl.tcl -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/README.e93 -%%PORTDOCS%%%%DOCSDIR%%/README.rants -%%PORTDOCS%%%%DOCSDIR%%/README.regex -%%PORTDOCS%%%%DOCSDIR%%/README.syntaxmaps -%%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm lib/e93lib/syntaxmaps @dirrm lib/e93lib/newstuff @dirrm lib/e93lib/modules |