ports/70560: Update port: editors/tea to 2.0

Jean-Yves Lefort jylefort at brutele.be
Tue Aug 17 00:30:17 UTC 2004


>Number:         70560
>Category:       ports
>Synopsis:       Update port: editors/tea to 2.0
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 17 00:30:17 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Jean-Yves Lefort
>Release:        FreeBSD 4.10-RELEASE i386
>Organization:
>Environment:
System: FreeBSD jsite.lefort.net 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Thu Jul 1 14:25:43 CEST 2004 jylefort at jsite.lefort.net:/usr/obj/usr/src/sys/JSITE i386
>Description:
>How-To-Repeat:
>Fix:
diff -ruN /usr/ports/editors/tea/Makefile tea/Makefile
--- /usr/ports/editors/tea/Makefile	Tue Jul 13 18:10:45 2004
+++ tea/Makefile	Tue Aug 17 02:16:34 2004
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=		tea
-PORTVERSION=		0.9.1
+PORTVERSION=		2.0
 CATEGORIES=		editors
 MASTER_SITES=		http://tea.linux.kiev.ua/
 DISTNAME=		${PORTNAME}
@@ -18,18 +18,16 @@
 
 USE_X_PREFIX=		yes
 USE_BZIP2=		yes
+USE_REINPLACE=		yes
 GNU_CONFIGURE=		yes
 USE_GCC=		3.3
 USE_GNOME=		gtk20
 CONFIGURE_ENV=		CPPFLAGS="-I${LOCALBASE}/include" \
 			LDFLAGS="-L${LOCALBASE}/lib"
 
-.if !defined(NOPORTDOCS)
-post-install:
-	${MKDIR} ${DOCSDIR}/en
-	${MKDIR} ${DOCSDIR}/ru
-	${INSTALL_DATA} ${WRKSRC}/doc/EN/index.html ${DOCSDIR}/en
-	${INSTALL_DATA} ${WRKSRC}/doc/RU/index.html ${DOCSDIR}/ru
-.endif
+post-patch:
+	@${REINPLACE_CMD} -e 's|/usr/share/doc/tea|${DOCSDIR}|g' \
+		${WRKSRC}/Makefile.in \
+		${WRKSRC}/src/tea_funx.c
 
 .include <bsd.port.mk>
diff -ruN /usr/ports/editors/tea/distinfo tea/distinfo
--- /usr/ports/editors/tea/distinfo	Tue Jul 13 18:10:45 2004
+++ tea/distinfo	Tue Aug 17 02:11:05 2004
@@ -1,2 +1,2 @@
-MD5 (tea.tar.bz2) = a88523a562d12a0ece89133c647c3558
-SIZE (tea.tar.bz2) = 176078
+MD5 (tea.tar.bz2) = c1065c65ec03d64c072b228fed86e9cd
+SIZE (tea.tar.bz2) = 190976
diff -ruN /usr/ports/editors/tea/pkg-plist tea/pkg-plist
--- /usr/ports/editors/tea/pkg-plist	Tue Jul 13 18:10:45 2004
+++ tea/pkg-plist	Tue Aug 17 02:19:40 2004
@@ -1,8 +1,9 @@
 bin/tea
 share/locale/ru/LC_MESSAGES/tea.mo
 share/locale/uk/LC_MESSAGES/tea.mo
-%%PORTDOCS%%%%DOCSDIR%%/en/index.html
-%%PORTDOCS%%%%DOCSDIR%%/ru/index.html
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/en
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/ru
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%DOCSDIR%%/doc/en/index.html
+%%DOCSDIR%%/doc/ru/index.html
+ at dirrm %%DOCSDIR%%/doc/en
+ at dirrm %%DOCSDIR%%/doc/ru
+ at dirrm %%DOCSDIR%%/doc
+ at dirrm %%DOCSDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list