| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/textproc/stardict3/ |
Upload File : |
PORTNAME= stardict
PORTVERSION= 3.0.6
PORTREVISION= 5
CATEGORIES= textproc
MASTER_SITES= SF/stardict-4/${PORTVERSION}
DIST_SUBDIR= stardict
MAINTAINER= makc@FreeBSD.org
COMMENT= Dictionary lookup program written in Gtk2
WWW= http://www.stardict.org
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libsigc-2.0.so:devel/libsigc++20 \
libenchant.so:textproc/enchant
RUN_DEPENDS= xdg-open:devel/xdg-utils
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-festival \
--disable-gucharmap \
--disable-espeak \
--disable-tools \
--disable-updateinfo \
--disable-advertisement \
--disable-gnome-support \
--disable-schemas-install \
--disable-scrollkeeper
USES= compiler:c++11-lang gettext gmake gnome libtool localbase \
pathfix pkgconfig tar:bzip2
USE_CXXSTD= c++11
USE_GNOME= intltool gtk20
post-patch:
@${REINPLACE_CMD} -e 's,/usr/share,${PREFIX}/share,g' \
${WRKSRC}/dict/src/conf.cpp
@${REINPLACE_CMD} \
-e '/as_fn_error.*gnome-doc-utils/d' \
-e '/DEP_MODULES=/s/"$$/ gmodule-2.0"/' \
${WRKSRC}/dict/configure
${REINPLACE_CMD} -e '/^SUBDIRS/s,help,,' ${WRKSRC}/dict/Makefile.in
.include <bsd.port.mk>