aboutsummaryrefslogtreecommitdiff
path: root/textproc/stardict3/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-02-29 11:49:22 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-02-29 11:49:22 +0000
commitc7f4a97b21fb57c384f1ac56059128e454ffb998 (patch)
treea2a1d3108fa03619a84b98e6f70625b82fb3123e /textproc/stardict3/Makefile
parentf2689630367648019e8dee438c2a25625116f640 (diff)
downloadports-c7f4a97b21fb57c384f1ac56059128e454ffb998.tar.gz
ports-c7f4a97b21fb57c384f1ac56059128e454ffb998.zip
Notes
Diffstat (limited to 'textproc/stardict3/Makefile')
-rw-r--r--textproc/stardict3/Makefile32
1 files changed, 13 insertions, 19 deletions
diff --git a/textproc/stardict3/Makefile b/textproc/stardict3/Makefile
index 6227c41717d4..ee657a863754 100644
--- a/textproc/stardict3/Makefile
+++ b/textproc/stardict3/Makefile
@@ -6,20 +6,15 @@
#
PORTNAME= stardict
-PORTVERSION= 2.2.1
-PORTREVISION= 2
-CATEGORIES= chinese textproc
+PORTVERSION= 2.4.2
+CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-DISTFILES= stardict-${PORTVERSION}.tar.bz2 \
- stardict-cdict-big5-2.1.0.tar.bz2 \
- stardict-cedict-big5-2.1.0.tar.bz2 \
- stardict-oxford-big5-2.1.0.tar.bz2 \
- stardict-xdict-big5-2.1.0.tar.bz2 \
- stardict-xdict-ce-big5-2.1.0.tar.bz2
+DISTFILES= stardict-${PORTVERSION}.tar.bz2
+DIST_SUBDIR= stardict
-MAINTAINER= ports@FreeBSD.org
-COMMENT= English-Chinese dictionary
+MAINTAINER= ld@FreeBSD.org.cn
+COMMENT= A cross-platform and international dictionary written in Gtk2
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
@@ -27,16 +22,15 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
USE_GMAKE= yes
USE_X_PREFIX= yes
USE_BZIP2= yes
-USE_GNOME= libgnome libgnomeui libbonobo gconf2
+USE_GNOME= gnomehack gnomeprefix libgnomeui
+USE_REINPLACE= yes
MAN1= stardict.1
-post-install:
- ${MKDIR} ${PREFIX}/share/stardict/dic/
- ${INSTALL_DATA} ${WRKDIR}/stardict-cdict-big5-2.1.0/* ${PREFIX}/share/stardict/dic/
- ${INSTALL_DATA} ${WRKDIR}/stardict-cedict-big5-2.1.0/* ${PREFIX}/share/stardict/dic/
- ${INSTALL_DATA} ${WRKDIR}/stardict-oxford-big5-2.1.0/* ${PREFIX}/share/stardict/dic/
- ${INSTALL_DATA} ${WRKDIR}/stardict-xdict-big5-2.1.0/* ${PREFIX}/share/stardict/dic/
- ${INSTALL_DATA} ${WRKDIR}/stardict-xdict-ce-big5-2.1.0/* ${PREFIX}/share/stardict/dic/
+post-patch:
+# gcc 2.95 does not know std::string::clear()
+ @${REINPLACE_CMD} -e 's|.clear()|.erase()|' \
+ ${WRKSRC}/src/docklet.cpp ${WRKSRC}/src/floatwin.cpp \
+ ${WRKSRC}/src/selection.cpp
.include <bsd.port.mk>