- Update to 2.20
PR: 136043 Submitted by: Ports Fury
This commit is contained in:
parent
b221f2d9a7
commit
b8e38785f8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=237104
@ -6,8 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= ted
|
||||
PORTVERSION= 2.17
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 2.20
|
||||
CATEGORIES= editors
|
||||
MASTER_SITES= ftp://ftp.nluug.nl/pub/editors/ted/
|
||||
EXTRACT_SUFX= .src.tar.gz
|
||||
@ -15,45 +14,60 @@ EXTRACT_SUFX= .src.tar.gz
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= X11 based RTF editor
|
||||
|
||||
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
|
||||
LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre \
|
||||
png.5:${PORTSDIR}/graphics/png \
|
||||
tiff.4:${PORTSDIR}/graphics/tiff
|
||||
RUN_DEPENDS= ${LOCALBASE}/share/ghostscript/fonts/a010013l.pfb:${PORTSDIR}/print/gsfonts
|
||||
|
||||
WRKSRC= ${WRKDIR}/Ted-${PORTVERSION}
|
||||
|
||||
USE_MOTIF= yes
|
||||
USE_XORG= xpm xp xmu xt xext sm ice x11
|
||||
USE_XORG= xext xft
|
||||
USE_ICONV= yes
|
||||
USE_GHOSTSCRIPT_RUN= yes
|
||||
GNU_CONFIGURE= yes
|
||||
MAKE_ENV+= DEF_AFMDIR="-DAFMDIR=\"\\\"${AFMDIR}\\\"\"" \
|
||||
DEF_INDDIR="-DINDDIR=\"\\\"${INDDIR}\\\"\"" \
|
||||
DEF_DOCUMENT_DIR="-DDOCUMENT_DIR=\"\\\"${DOCSDIR}/\\\"\""
|
||||
CONFIGURE_ARGS= --with-MOTIF
|
||||
MAKE_ENV= DEF_AFMDIR="-DAFMDIR=\"\\\"${AFMDIR}/\\\"\"" \
|
||||
DEF_INDDIR="-DINDDIR=\"\\\"${INDDIR}/\\\"\"" \
|
||||
DEF_DOCUMENT_DIR="-DDOCUMENT_DIR=\"\\\"${DOCSDIR}/\\\"\"" \
|
||||
DEF_PSSCRIPT_DIR="-DPSSCRIPT_DIR=\"\\\"${DATADIR}/\\\"\""
|
||||
ALL_TARGET= compile.shared
|
||||
|
||||
AFMDIR= ${PREFIX}/share/Ted/afm
|
||||
INDDIR= ${PREFIX}/share/Ted/ind
|
||||
MAN1= Ted.1 rtf2pdf.1 rtf2ps.1
|
||||
|
||||
DATADIR= ${PREFIX}/share/Ted
|
||||
DOCSDIR= ${PREFIX}/share/doc/Ted
|
||||
|
||||
AFMDIR= ${DATADIR}/afm
|
||||
INDDIR= ${DATADIR}/dfa
|
||||
|
||||
post-extract:
|
||||
cd ${WRKSRC}/tedPackage && ${TAR} xf TedBindist.tar
|
||||
${CP} -p ${FILESDIR}/configure ${WRKSRC}/configure
|
||||
${CHMOD} +x ${WRKSRC}/configure
|
||||
@cd ${WRKSRC}/tedPackage && ${TAR} xf TedBindist.tar
|
||||
@${INSTALL_SCRIPT} ${FILESDIR}/configure ${WRKSRC}
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/*/configure
|
||||
${REINPLACE_CMD} \
|
||||
's|DEF_PKGDIR|DEF_DOCUMENT_DIR|g' ${WRKSRC}/Ted/makefile.in
|
||||
@${FIND} ${WRKSRC} -name "configure" -print0 | ${XARGS} -0 \
|
||||
${REINPLACE_CMD} -e \
|
||||
's|/usr/X11R6|${LOCALBASE}|g ; \
|
||||
s|/usr/local|${LOCALBASE}|g ; \
|
||||
s|/iconv.so|/libiconv.so|g'
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|<malloc\.h>|<stdlib.h>|g' ${WRKSRC}/appUtil/csvsheet.c
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/Ted/Ted ${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/tedPackage/Ted/rtf2*.sh ${PREFIX}/bin/
|
||||
${INSTALL_MAN} ${WRKSRC}/tedPackage/Ted/Ted.1 ${MANPREFIX}/man/man1
|
||||
${INSTALL_MAN} ${WRKSRC}/tedPackage/Ted/rtf2*.1 ${MANPREFIX}/man/man1
|
||||
@${MKDIR} ${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/tedPackage/Ted/*.ps ${DATADIR}
|
||||
@${MKDIR} ${AFMDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/tedPackage/afm/* ${AFMDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/tedPackage/Ted/afm/*.afm ${AFMDIR}
|
||||
@${MKDIR} ${INDDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/tedPackage/ind/US_English.ind ${INDDIR}
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/tedPackage/Ted/dfa/*.dfa ${INDDIR}
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_MAN} ${WRKSRC}/tedPackage/Ted/TedDocument-en_US.rtf ${DOCSDIR}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/tedPackage/Ted/TedDocument-en_US.rtf ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (ted-2.17.src.tar.gz) = 8adc2ab0a67954b2b5068c9be243c82d
|
||||
SHA256 (ted-2.17.src.tar.gz) = e080ef452173ec781feb60026b4b01f37343e06c1a0083ca8ccc899c97c2368a
|
||||
SIZE (ted-2.17.src.tar.gz) = 3000864
|
||||
MD5 (ted-2.20.src.tar.gz) = f4e613951107dc9ea53d75b811d7ccb0
|
||||
SHA256 (ted-2.20.src.tar.gz) = 5cc58ccb7bc38f7f0dacc1dfc836a43d35ac94a32cde54275b583b2e4d6f5335
|
||||
SIZE (ted-2.20.src.tar.gz) = 3903673
|
||||
|
2
editors/ted/files/configure
vendored
2
editors/ted/files/configure
vendored
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
dirs="Ted appFrame appUtil bitmap ind libreg tedPackage"
|
||||
dirs="Ted appFrame appUtil bitmap ind docBuf tedPackage"
|
||||
|
||||
for d in $dirs; do
|
||||
(cd $d && echo -n "./configure $* in:" && pwd && ./configure $*)
|
||||
|
12
editors/ted/files/patch-Ted__makefile.in
Normal file
12
editors/ted/files/patch-Ted__makefile.in
Normal file
@ -0,0 +1,12 @@
|
||||
--- Ted/makefile.in.orig 2009-06-10 14:41:19.000000000 +0900
|
||||
+++ Ted/makefile.in 2009-06-26 01:00:56.000000000 +0900
|
||||
@@ -42,7 +42,8 @@
|
||||
-I../bitmap \
|
||||
-I../ind \
|
||||
-I../include \
|
||||
- $(DEF_PKGDIR)
|
||||
+ $(DEF_DOCUMENT_DIR) \
|
||||
+ $(DEF_PSSCRIPT_DIR)
|
||||
|
||||
CFLAGS= \
|
||||
@CFLAGS@ \
|
@ -1,4 +1,4 @@
|
||||
Ted 2.17 is a text editor running under X Windows on Unix/Linux systems.
|
||||
Ted is a text editor running under X11 on Unix/Linux systems.
|
||||
|
||||
Features
|
||||
--------
|
||||
@ -15,7 +15,7 @@ Features
|
||||
* Symbols and accented characters are fully supported.
|
||||
* Hyperlinks.
|
||||
* Saving a document in HTML format.
|
||||
* Save to *.pdf using /usr/X11R6/bin/rtf2pdf.sh
|
||||
* Save to *.pdf using /usr/local/bin/rtf2pdf.sh
|
||||
* Numbered or bulleted lists
|
||||
|
||||
WWW: http://www.nllgg.nl/Ted/
|
||||
|
@ -1,22 +1,48 @@
|
||||
bin/Ted
|
||||
bin/rtf2pdf.sh
|
||||
bin/rtf2ps.sh
|
||||
share/Ted/afm/Courier-Bold.afm
|
||||
share/Ted/afm/Courier-BoldOblique.afm
|
||||
share/Ted/afm/Courier-Oblique.afm
|
||||
share/Ted/afm/Courier.afm
|
||||
share/Ted/afm/Helvetica-Bold.afm
|
||||
share/Ted/afm/Helvetica-BoldOblique.afm
|
||||
share/Ted/afm/Helvetica-Oblique.afm
|
||||
share/Ted/afm/Helvetica.afm
|
||||
share/Ted/afm/Symbol.afm
|
||||
share/Ted/afm/Times-Bold.afm
|
||||
share/Ted/afm/Times-BoldItalic.afm
|
||||
share/Ted/afm/Times-Italic.afm
|
||||
share/Ted/afm/Times-Roman.afm
|
||||
share/Ted/ind/US_English.ind
|
||||
bin/rtf2txt.sh
|
||||
%%DATADIR%%/afm/AvantGarde-Book.afm
|
||||
%%DATADIR%%/afm/AvantGarde-BookOblique.afm
|
||||
%%DATADIR%%/afm/AvantGarde-Demi.afm
|
||||
%%DATADIR%%/afm/AvantGarde-DemiOblique.afm
|
||||
%%DATADIR%%/afm/Bookman-Demi.afm
|
||||
%%DATADIR%%/afm/Bookman-DemiItalic.afm
|
||||
%%DATADIR%%/afm/Bookman-Light.afm
|
||||
%%DATADIR%%/afm/Bookman-LightItalic.afm
|
||||
%%DATADIR%%/afm/Courier-Bold.afm
|
||||
%%DATADIR%%/afm/Courier-BoldOblique.afm
|
||||
%%DATADIR%%/afm/Courier-Oblique.afm
|
||||
%%DATADIR%%/afm/Courier.afm
|
||||
%%DATADIR%%/afm/Helvetica-Bold.afm
|
||||
%%DATADIR%%/afm/Helvetica-BoldOblique.afm
|
||||
%%DATADIR%%/afm/Helvetica-Narrow-Bold.afm
|
||||
%%DATADIR%%/afm/Helvetica-Narrow-BoldOblique.afm
|
||||
%%DATADIR%%/afm/Helvetica-Narrow-Oblique.afm
|
||||
%%DATADIR%%/afm/Helvetica-Narrow.afm
|
||||
%%DATADIR%%/afm/Helvetica-Oblique.afm
|
||||
%%DATADIR%%/afm/Helvetica.afm
|
||||
%%DATADIR%%/afm/NewCenturySchlbk-Bold.afm
|
||||
%%DATADIR%%/afm/NewCenturySchlbk-BoldItalic.afm
|
||||
%%DATADIR%%/afm/NewCenturySchlbk-Italic.afm
|
||||
%%DATADIR%%/afm/NewCenturySchlbk-Roman.afm
|
||||
%%DATADIR%%/afm/Palatino-Bold.afm
|
||||
%%DATADIR%%/afm/Palatino-BoldItalic.afm
|
||||
%%DATADIR%%/afm/Palatino-Italic.afm
|
||||
%%DATADIR%%/afm/Palatino-Roman.afm
|
||||
%%DATADIR%%/afm/Symbol.afm
|
||||
%%DATADIR%%/afm/Times-Bold.afm
|
||||
%%DATADIR%%/afm/Times-BoldItalic.afm
|
||||
%%DATADIR%%/afm/Times-Italic.afm
|
||||
%%DATADIR%%/afm/Times-Roman.afm
|
||||
%%DATADIR%%/afm/ZapfChancery-MediumItalic.afm
|
||||
%%DATADIR%%/afm/ZapfDingbats.afm
|
||||
%%DATADIR%%/dfa/en_US.dfa
|
||||
%%DATADIR%%/gsfontmetrics.ps
|
||||
%%DATADIR%%/gslibpath.ps
|
||||
%%DATADIR%%/gslsfonts.ps
|
||||
%%PORTDOCS%%%%DOCSDIR%%/TedDocument-en_US.rtf
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
@dirrm share/Ted/ind
|
||||
@dirrm share/Ted/afm
|
||||
@dirrm share/Ted
|
||||
@dirrm %%DATADIR%%/dfa
|
||||
@dirrm %%DATADIR%%/afm
|
||||
@dirrm %%DATADIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user