mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
e59c88cece
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from GCC 5.4 to GCC 6.4 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang, c++14-lang, c++0x, c11, or gcc-c++11-lib. PR: 219275
52 lines
1.2 KiB
Makefile
52 lines
1.2 KiB
Makefile
# Created by: eric
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= stardict
|
|
PORTVERSION= 3.0.6
|
|
PORTREVISION= 1
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= SF/stardict-4/${PORTVERSION}
|
|
DIST_SUBDIR= stardict
|
|
|
|
MAINTAINER= makc@FreeBSD.org
|
|
COMMENT= Dictionary lookup program written in Gtk2
|
|
|
|
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
|
|
|
|
USES= compiler:c++11-lang gettext gmake libtool localbase pathfix \
|
|
pkgconfig tar:bzip2
|
|
USE_CXXSTD= c++11
|
|
USE_GNOME= intltool
|
|
|
|
OPTIONS_DEFINE= GNOME
|
|
OPTIONS_SUB= yes
|
|
|
|
GNOME_USE= GNOME=gnomeprefix,gnomedocutils,libgnomeui
|
|
GNOME_USE_OFF= GNOME=gtk20
|
|
GNOME_CONFIGURE_ENABLE= gnome-support schemas-install scrollkeeper
|
|
GNOME_VARS= GCONF_SCHEMAS=stardict.schemas \
|
|
INSTALLS_OMF=yes
|
|
|
|
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
|
|
|
|
post-patch-GNOME-off:
|
|
${REINPLACE_CMD} -e '/^SUBDIRS/s,help,,' ${WRKSRC}/dict/Makefile.in
|
|
|
|
.include <bsd.port.mk>
|