2012-11-02 19:50:04 +01:00
|
|
|
# Created by: hamigua <hamigua@cuc.cn>
|
2011-10-07 01:55:00 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= reciteword
|
2012-11-02 19:50:04 +01:00
|
|
|
PORTVERSION= 0.8.5
|
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 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, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590
2018-12-12 02:35:33 +01:00
|
|
|
PORTREVISION= 2
|
2011-10-07 01:55:00 +02:00
|
|
|
CATEGORIES= chinese
|
2015-05-11 20:34:57 +02:00
|
|
|
MASTER_SITES= SF \
|
2011-10-07 01:55:00 +02:00
|
|
|
SF/${PORTNAME}/${PORTNAME}-books/${PORTVERSION}:books \
|
|
|
|
SF/${PORTNAME}/${PORTNAME}-dicts/0.8.2:dicts
|
2015-05-11 20:34:57 +02:00
|
|
|
DISTFILES= ${DISTNAME}.tar.bz2 \
|
2011-10-07 01:55:00 +02:00
|
|
|
${PORTNAME}-books-${PORTVERSION}.tar.bz2:books \
|
|
|
|
${PORTNAME}-dicts-0.8.2.tar.bz2:dicts
|
|
|
|
|
2013-10-21 00:45:25 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2011-10-07 01:55:00 +02:00
|
|
|
COMMENT= Education software to help people to study English
|
|
|
|
|
2016-01-12 17:20:31 +01:00
|
|
|
LICENSE= GPLv3+
|
2015-12-05 10:37:20 +01:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
LIB_DEPENDS= libespeak.so:audio/espeak
|
2014-01-20 22:17:57 +01:00
|
|
|
|
2018-11-11 04:28:18 +01:00
|
|
|
USES= compiler:c++11-lang tar:bzip2 gettext gmake gnome localbase \
|
|
|
|
pkgconfig
|
2011-10-07 01:55:00 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2015-08-02 22:23:55 +02:00
|
|
|
USE_GNOME= gtk20 intltool esound
|
2018-07-08 21:29:48 +02:00
|
|
|
|
|
|
|
CXXFLAGS+= -Wno-reserved-user-defined-literal
|
2011-10-07 01:55:00 +02:00
|
|
|
|
2015-12-05 10:37:20 +01:00
|
|
|
PORTDOCS= AUTHORS ChangeLog INSTALL README readme.txt
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS
|
2011-10-07 01:55:00 +02:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|/usr|${LOCALBASE}|' ${WRKSRC}/src/readword.cpp
|
|
|
|
|
|
|
|
post-install:
|
2014-01-20 22:17:57 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
|
|
cd ${WRKDIR} && ${COPYTREE_SHARE} "books dicts" ${STAGEDIR}${DATADIR}
|
2015-12-05 10:37:20 +01:00
|
|
|
|
|
|
|
post-install-DOCS-on:
|
2014-01-20 22:17:57 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
2011-10-07 01:55:00 +02:00
|
|
|
|
2012-11-02 19:50:04 +01:00
|
|
|
.include <bsd.port.mk>
|