Bug 67736 - Maintainer update for Ted word processor editors/ted
Summary: Maintainer update for Ted word processor editors/ted
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-09 05:30 UTC by j.e.drews
Modified: 2004-06-10 04:51 UTC (History)
0 users

See Also:


Attachments
pkg-plist.diff (393 bytes, patch)
2004-06-09 05:58 UTC, j.e.drews
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description j.e.drews 2004-06-09 05:30:23 UTC
Update to gsfonts-8.11 required changes to Ted's Makefile

Fix: Apply the attached patches. Note for the committer:
Ted was tested in accordance with section 3.4 "Testing the port" and passed all 7 tests. Hardcopies were
printed consisting of tables, footnotes, images and Math symbols. All the hardcopies were OK.
 portlint -Av showed only two minor warnings.

--NextPart_Webmail_9m3u9jl4l_6178_1086755284_0
Content-Type: application/octet-stream; name="Makefile.diff"
Content-Transfer-Encoding: 7bit



--NextPart_Webmail_9m3u9jl4l_6178_1086755284_0
Content-Type: application/octet-stream; name="pkg-plist"
Content-Transfer-Encoding: 7bit

bin/Ted
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
%%PORTDOCS%%%%DOCSDIR%%/TedDocument-en_US.rtf
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm share/Ted/ind
@dirrm share/Ted/afm
@dirrm share/Ted

--NextPart_Webmail_9m3u9jl4l_6178_1086755284_0----92Cdws0RhYwKRK3HCVciyqek7w2a2onhNJbm3XO7ZobS5YMb
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- Makefile.orig	Mon Jun  7 20:48:39 2004
+++ Makefile.new2	Tue Jun  8 23:01:12 2004
@@ -18,7 +18,7 @@
 LIB_DEPENDS=	png.5:${PORTSDIR}/graphics/png \
 		jpeg.9:${PORTSDIR}/graphics/jpeg \
 		tiff.4:${PORTSDIR}/graphics/tiff
-RUN_DEPENDS=	${LOCALBASE}/share/ghostscript/fonts/Fontmap:${PORTSDIR}/print/gsfonts
+RUN_DEPENDS=	${LOCALBASE}/share/ghostscript/fonts/COPYING:${PORTSDIR}/print/gsfonts
 
 WRKSRC=		${WRKDIR}/Ted-${PORTVERSION}
 CONFIGURE_WRKSRC=	${WRKSRC}/Ted
@@ -31,12 +31,11 @@
 CONFIGURE_ENV=	CC="${CC}" CFLAGS="${CFLAGS}"
 MAKE_ENV=	DEF_AFMDIR="-DAFMDIR=\"\\\"${AFMDIR}\\\"\"" \
 		DEF_INDDIR="-DINDDIR=\"\\\"${INDDIR}\\\"\"" \
-		DEF_DOCUMENT_DIR="-DDOCUMENT_DIR=\"\\\"${INFODIR}/\\\"\""
+		DEF_DOCUMENT_DIR="-DDOCUMENT_DIR=\"\\\"${DOCSDIR}/\\\"\""
 ALL_TARGET=	compile.shared
 
 AFMDIR=		${PREFIX}/share/Ted/afm
 INDDIR=		${PREFIX}/share/Ted/ind
-INFODIR=	${PREFIX}/share/doc/Ted
 
 post-extract:
 	cd ${WRKSRC}/tedPackage && ${TAR} xf TedBindist.tar
@@ -59,7 +58,10 @@
 	${INSTALL_DATA} ${WRKSRC}/tedPackage/afm/* ${AFMDIR}
 	@${MKDIR} ${INDDIR}
 	${INSTALL_DATA} ${WRKSRC}/tedPackage/ind/US_English.ind ${INDDIR}
-	@${MKDIR} ${INFODIR}
-	${INSTALL_DATA} ${WRKSRC}/tedPackage/Ted/TedDocument-en_US.rtf ${INFODIR}
 
+post-install:
+.if !defined(NOPORTDOCS)
+	${MKDIR}  ${DOCSDIR}
+	${INSTALL_MAN} ${WRKSRC}/tedPackage/Ted/TedDocument-en_US.rtf ${DOCSDIR}
+.endif
 .include <bsd.port.mk>
How-To-Repeat:  No bug in particular; this is just an update to accomodate new fonts port.
Comment 1 Will Andrews freebsd_committer 2004-06-10 04:51:21 UTC
State Changed
From-To: open->closed

committed, thanks