View | Details | Raw Unified | Return to bug 136043
Collapse All | Expand All

(-)editors/ted/Makefile (-19 / +30 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=	ted
8
PORTNAME=	ted
9
PORTVERSION=	2.17
9
PORTVERSION=	2.20
10
PORTREVISION=	1
11
CATEGORIES=	editors
10
CATEGORIES=	editors
12
MASTER_SITES=	ftp://ftp.nluug.nl/pub/editors/ted/
11
MASTER_SITES=	ftp://ftp.nluug.nl/pub/editors/ted/
13
EXTRACT_SUFX=	.src.tar.gz
12
EXTRACT_SUFX=	.src.tar.gz
Lines 25-59 Link Here
25
USE_XORG=	xpm xp xmu xt xext sm ice x11
24
USE_XORG=	xpm xp xmu xt xext sm ice x11
26
USE_GHOSTSCRIPT_RUN=	yes
25
USE_GHOSTSCRIPT_RUN=	yes
27
GNU_CONFIGURE=	yes
26
GNU_CONFIGURE=	yes
28
MAKE_ENV+=	DEF_AFMDIR="-DAFMDIR=\"\\\"${AFMDIR}\\\"\"" \
27
CONFIGURE_ARGS=	--with-MOTIF
29
		DEF_INDDIR="-DINDDIR=\"\\\"${INDDIR}\\\"\"" \
28
MAKE_ENV=	DEF_AFMDIR="-DAFMDIR=\"\\\"${AFMDIR}/\\\"\"" \
30
		DEF_DOCUMENT_DIR="-DDOCUMENT_DIR=\"\\\"${DOCSDIR}/\\\"\""
29
		DEF_INDDIR="-DINDDIR=\"\\\"${INDDIR}/\\\"\"" \
30
		DEF_DOCUMENT_DIR="-DDOCUMENT_DIR=\"\\\"${DOCSDIR}/\\\"\"" \
31
		DEF_PSSCRIPT_DIR="-DPSSCRIPT_DIR=\"\\\"${DATADIR}/\\\"\""
31
ALL_TARGET=	compile.shared
32
ALL_TARGET=	compile.shared
32
33
33
AFMDIR=		${PREFIX}/share/Ted/afm
34
MAN1=		Ted.1 rtf2pdf.1 rtf2ps.1
34
INDDIR=		${PREFIX}/share/Ted/ind
35
36
DATADIR=	${PREFIX}/share/Ted
37
DOCSDIR=	${PREFIX}/share/doc/Ted
38
39
AFMDIR=		${DATADIR}/afm
40
INDDIR=		${DATADIR}/dfa
35
41
36
post-extract:
42
post-extract:
37
	cd ${WRKSRC}/tedPackage && ${TAR} xf TedBindist.tar
43
	@cd ${WRKSRC}/tedPackage && ${TAR} xf TedBindist.tar
38
	${CP} -p ${FILESDIR}/configure ${WRKSRC}/configure
44
	@${INSTALL_SCRIPT} ${FILESDIR}/configure ${WRKSRC}
39
	${CHMOD} +x ${WRKSRC}/configure
40
45
41
post-patch:
46
post-patch:
42
	${REINPLACE_CMD} 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/*/configure
47
	@${FIND} ${WRKSRC} -name "configure" -print0 | ${XARGS} -0 \
43
	${REINPLACE_CMD} \
48
		${REINPLACE_CMD} -e \
44
		's|DEF_PKGDIR|DEF_DOCUMENT_DIR|g' ${WRKSRC}/Ted/makefile.in
49
		's|/usr/local|${LOCALBASE}|g ; \
50
		 s|/iconv.so|/libiconv.so|g'
51
	@${REINPLACE_CMD} -e \
52
		's|<malloc\.h>|<stdlib.h>|g' ${WRKSRC}/appUtil/csvsheet.c
45
53
46
do-install:
54
do-install:
47
	${INSTALL_PROGRAM} ${WRKSRC}/Ted/Ted ${PREFIX}/bin
55
	${INSTALL_PROGRAM} ${WRKSRC}/Ted/Ted ${PREFIX}/bin
48
	${INSTALL_SCRIPT} ${WRKSRC}/tedPackage/Ted/rtf2*.sh ${PREFIX}/bin/
56
	${INSTALL_SCRIPT} ${WRKSRC}/tedPackage/Ted/rtf2*.sh ${PREFIX}/bin/
57
	${INSTALL_MAN} ${WRKSRC}/tedPackage/Ted/Ted.1 ${MANPREFIX}/man/man1
58
	${INSTALL_MAN} ${WRKSRC}/tedPackage/Ted/rtf2*.1 ${MANPREFIX}/man/man1
59
	@${MKDIR} ${DATADIR} 
60
	${INSTALL_DATA} ${WRKSRC}/tedPackage/Ted/*.ps ${DATADIR}
49
	@${MKDIR} ${AFMDIR}
61
	@${MKDIR} ${AFMDIR}
50
	${INSTALL_DATA} ${WRKSRC}/tedPackage/afm/* ${AFMDIR}
62
	${INSTALL_DATA} ${WRKSRC}/tedPackage/Ted/afm/*.afm ${AFMDIR}
51
	@${MKDIR} ${INDDIR}
63
	@${MKDIR} ${INDDIR}
52
	${INSTALL_DATA} ${WRKSRC}/tedPackage/ind/US_English.ind ${INDDIR}
64
	${INSTALL_DATA} ${WRKSRC}/tedPackage/Ted/dfa/*.dfa ${INDDIR}
53
54
post-install:
55
.if !defined(NOPORTDOCS)
65
.if !defined(NOPORTDOCS)
56
	${MKDIR}  ${DOCSDIR}
66
	@${MKDIR} ${DOCSDIR}
57
	${INSTALL_MAN} ${WRKSRC}/tedPackage/Ted/TedDocument-en_US.rtf ${DOCSDIR}
67
	${INSTALL_DATA} ${WRKSRC}/tedPackage/Ted/TedDocument-en_US.rtf ${DOCSDIR}
58
.endif
68
.endif
69
59
.include <bsd.port.mk>
70
.include <bsd.port.mk>
(-)editors/ted/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (ted-2.17.src.tar.gz) = 8adc2ab0a67954b2b5068c9be243c82d
1
MD5 (ted-2.20.src.tar.gz) = f4e613951107dc9ea53d75b811d7ccb0
2
SHA256 (ted-2.17.src.tar.gz) = e080ef452173ec781feb60026b4b01f37343e06c1a0083ca8ccc899c97c2368a
2
SHA256 (ted-2.20.src.tar.gz) = 5cc58ccb7bc38f7f0dacc1dfc836a43d35ac94a32cde54275b583b2e4d6f5335
3
SIZE (ted-2.17.src.tar.gz) = 3000864
3
SIZE (ted-2.20.src.tar.gz) = 3903673
(-)editors/ted/files/configure (-1 / +1 lines)
Lines 1-6 Link Here
1
#!/bin/sh
1
#!/bin/sh
2
2
3
dirs="Ted appFrame appUtil bitmap ind libreg tedPackage"
3
dirs="Ted appFrame appUtil bitmap ind docBuf tedPackage"
4
4
5
for d in $dirs; do
5
for d in $dirs; do
6
  (cd $d && echo -n "./configure $* in:" && pwd && ./configure $*)
6
  (cd $d && echo -n "./configure $* in:" && pwd && ./configure $*)
(-)editors/ted/files/patch-Ted__makefile.in (+12 lines)
Line 0 Link Here
1
--- Ted/makefile.in.orig	2009-06-10 14:41:19.000000000 +0900
2
+++ Ted/makefile.in	2009-06-26 01:00:56.000000000 +0900
3
@@ -42,7 +42,8 @@
4
 	-I../bitmap	\
5
 	-I../ind	\
6
 	-I../include	\
7
-	$(DEF_PKGDIR)
8
+	$(DEF_DOCUMENT_DIR)	\
9
+	$(DEF_PSSCRIPT_DIR)
10
 
11
 CFLAGS=			\
12
 	@CFLAGS@	\
(-)editors/ted/pkg-descr (-2 / +2 lines)
Lines 1-4 Link Here
1
Ted 2.17 is a text editor running under X Windows on Unix/Linux systems.
1
Ted is a text editor running under X11 on Unix/Linux systems.
2
2
3
Features 
3
Features 
4
--------   
4
--------   
Lines 15-21 Link Here
15
  * Symbols and accented characters are fully supported.
15
  * Symbols and accented characters are fully supported.
16
  * Hyperlinks. 
16
  * Hyperlinks. 
17
  * Saving a document in HTML format.
17
  * Saving a document in HTML format.
18
  * Save to *.pdf using /usr/X11R6/bin/rtf2pdf.sh
18
  * Save to *.pdf using /usr/local/bin/rtf2pdf.sh
19
  * Numbered or bulleted lists 
19
  * Numbered or bulleted lists 
20
20
21
WWW: http://www.nllgg.nl/Ted/
21
WWW: http://www.nllgg.nl/Ted/
(-)editors/ted/pkg-plist (-17 / +43 lines)
Lines 1-22 Link Here
1
bin/Ted
1
bin/Ted
2
bin/rtf2pdf.sh
2
bin/rtf2pdf.sh
3
bin/rtf2ps.sh
3
bin/rtf2ps.sh
4
share/Ted/afm/Courier-Bold.afm
4
bin/rtf2txt.sh
5
share/Ted/afm/Courier-BoldOblique.afm
5
%%DATADIR%%/afm/AvantGarde-Book.afm
6
share/Ted/afm/Courier-Oblique.afm
6
%%DATADIR%%/afm/AvantGarde-BookOblique.afm
7
share/Ted/afm/Courier.afm
7
%%DATADIR%%/afm/AvantGarde-Demi.afm
8
share/Ted/afm/Helvetica-Bold.afm
8
%%DATADIR%%/afm/AvantGarde-DemiOblique.afm
9
share/Ted/afm/Helvetica-BoldOblique.afm
9
%%DATADIR%%/afm/Bookman-Demi.afm
10
share/Ted/afm/Helvetica-Oblique.afm
10
%%DATADIR%%/afm/Bookman-DemiItalic.afm
11
share/Ted/afm/Helvetica.afm
11
%%DATADIR%%/afm/Bookman-Light.afm
12
share/Ted/afm/Symbol.afm
12
%%DATADIR%%/afm/Bookman-LightItalic.afm
13
share/Ted/afm/Times-Bold.afm
13
%%DATADIR%%/afm/Courier-Bold.afm
14
share/Ted/afm/Times-BoldItalic.afm
14
%%DATADIR%%/afm/Courier-BoldOblique.afm
15
share/Ted/afm/Times-Italic.afm
15
%%DATADIR%%/afm/Courier-Oblique.afm
16
share/Ted/afm/Times-Roman.afm
16
%%DATADIR%%/afm/Courier.afm
17
share/Ted/ind/US_English.ind
17
%%DATADIR%%/afm/Helvetica-Bold.afm
18
%%DATADIR%%/afm/Helvetica-BoldOblique.afm
19
%%DATADIR%%/afm/Helvetica-Narrow-Bold.afm
20
%%DATADIR%%/afm/Helvetica-Narrow-BoldOblique.afm
21
%%DATADIR%%/afm/Helvetica-Narrow-Oblique.afm
22
%%DATADIR%%/afm/Helvetica-Narrow.afm
23
%%DATADIR%%/afm/Helvetica-Oblique.afm
24
%%DATADIR%%/afm/Helvetica.afm
25
%%DATADIR%%/afm/NewCenturySchlbk-Bold.afm
26
%%DATADIR%%/afm/NewCenturySchlbk-BoldItalic.afm
27
%%DATADIR%%/afm/NewCenturySchlbk-Italic.afm
28
%%DATADIR%%/afm/NewCenturySchlbk-Roman.afm
29
%%DATADIR%%/afm/Palatino-Bold.afm
30
%%DATADIR%%/afm/Palatino-BoldItalic.afm
31
%%DATADIR%%/afm/Palatino-Italic.afm
32
%%DATADIR%%/afm/Palatino-Roman.afm
33
%%DATADIR%%/afm/Symbol.afm
34
%%DATADIR%%/afm/Times-Bold.afm
35
%%DATADIR%%/afm/Times-BoldItalic.afm
36
%%DATADIR%%/afm/Times-Italic.afm
37
%%DATADIR%%/afm/Times-Roman.afm
38
%%DATADIR%%/afm/ZapfChancery-MediumItalic.afm
39
%%DATADIR%%/afm/ZapfDingbats.afm
40
%%DATADIR%%/dfa/en_US.dfa
41
%%DATADIR%%/gsfontmetrics.ps
42
%%DATADIR%%/gslibpath.ps
43
%%DATADIR%%/gslsfonts.ps
18
%%PORTDOCS%%%%DOCSDIR%%/TedDocument-en_US.rtf
44
%%PORTDOCS%%%%DOCSDIR%%/TedDocument-en_US.rtf
19
%%PORTDOCS%%@dirrm %%DOCSDIR%%
45
%%PORTDOCS%%@dirrm %%DOCSDIR%%
20
@dirrm share/Ted/ind
46
@dirrm %%DATADIR%%/dfa
21
@dirrm share/Ted/afm
47
@dirrm %%DATADIR%%/afm
22
@dirrm share/Ted
48
@dirrm %%DATADIR%%

Return to bug 136043