2003-05-13 03:23:45 +02:00
|
|
|
# Ports collection makefile for: stardict2
|
|
|
|
# Date created: 13 April 2003
|
|
|
|
# Whom: Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2003-06-22 23:52:37 +02:00
|
|
|
PORTNAME= stardict
|
2004-02-29 12:49:22 +01:00
|
|
|
PORTVERSION= 2.4.2
|
2004-04-05 05:31:02 +02:00
|
|
|
PORTREVISION= 1
|
2004-02-29 12:49:22 +01:00
|
|
|
CATEGORIES= textproc
|
2003-07-19 08:41:08 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2003-06-22 23:52:37 +02:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2004-02-29 12:49:22 +01:00
|
|
|
DISTFILES= stardict-${PORTVERSION}.tar.bz2
|
|
|
|
DIST_SUBDIR= stardict
|
2003-05-13 03:23:45 +02:00
|
|
|
|
2004-02-29 12:49:22 +01:00
|
|
|
MAINTAINER= ld@FreeBSD.org.cn
|
|
|
|
COMMENT= A cross-platform and international dictionary written in Gtk2
|
2003-05-13 03:23:45 +02:00
|
|
|
|
2004-04-19 06:47:10 +02:00
|
|
|
BROKEN= "Does not compile"
|
|
|
|
|
2003-05-13 03:23:45 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2003-05-19 08:23:17 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
2003-05-13 03:23:45 +02:00
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_BZIP2= yes
|
2004-02-29 12:49:22 +01:00
|
|
|
USE_GNOME= gnomehack gnomeprefix libgnomeui
|
|
|
|
USE_REINPLACE= yes
|
2003-05-13 03:23:45 +02:00
|
|
|
|
|
|
|
MAN1= stardict.1
|
|
|
|
|
2004-02-29 12:49:22 +01:00
|
|
|
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
|
2003-05-13 03:23:45 +02:00
|
|
|
|
2004-02-29 13:36:51 +01:00
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
2003-05-19 08:23:17 +02:00
|
|
|
.include <bsd.port.mk>
|