diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-08-17 07:59:33 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-08-17 07:59:33 +0000 |
commit | d34eeb233a01700d6badcdea4715d85e775a43a7 (patch) | |
tree | 4660b4781bcf776e1b6416550c024daf2a6deaaf | |
parent | c9a8043cbb57e27c094fb20603a47ec3583f1e89 (diff) | |
download | ports-d34eeb233a01700d6badcdea4715d85e775a43a7.tar.gz ports-d34eeb233a01700d6badcdea4715d85e775a43a7.zip |
Notes
-rw-r--r-- | editors/tea/Makefile | 14 | ||||
-rw-r--r-- | editors/tea/distinfo | 4 | ||||
-rw-r--r-- | editors/tea/pkg-plist | 11 |
3 files changed, 14 insertions, 15 deletions
diff --git a/editors/tea/Makefile b/editors/tea/Makefile index 4fc62189f0ac..55b72522fb7f 100644 --- a/editors/tea/Makefile +++ b/editors/tea/Makefile @@ -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 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} 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 --git a/editors/tea/distinfo b/editors/tea/distinfo index 3d4fcd8e29bd..e9919cb7c1cf 100644 --- a/editors/tea/distinfo +++ b/editors/tea/distinfo @@ -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 --git a/editors/tea/pkg-plist b/editors/tea/pkg-plist index 8e8554b50dde..239756f9ccb8 100644 --- a/editors/tea/pkg-plist +++ b/editors/tea/pkg-plist @@ -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 +@dirrm %%DOCSDIR%%/doc/en +@dirrm %%DOCSDIR%%/doc/ru +@dirrm %%DOCSDIR%%/doc +@dirrm %%DOCSDIR%% |