freebsd-ports/chinese/reciteword/Makefile
Gerald Pfeifer a9f015d155 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 01:35:33 +00:00

45 lines
1.1 KiB
Makefile

# Created by: hamigua <hamigua@cuc.cn>
# $FreeBSD$
PORTNAME= reciteword
PORTVERSION= 0.8.5
PORTREVISION= 2
CATEGORIES= chinese
MASTER_SITES= SF \
SF/${PORTNAME}/${PORTNAME}-books/${PORTVERSION}:books \
SF/${PORTNAME}/${PORTNAME}-dicts/0.8.2:dicts
DISTFILES= ${DISTNAME}.tar.bz2 \
${PORTNAME}-books-${PORTVERSION}.tar.bz2:books \
${PORTNAME}-dicts-0.8.2.tar.bz2:dicts
MAINTAINER= ports@FreeBSD.org
COMMENT= Education software to help people to study English
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libespeak.so:audio/espeak
USES= compiler:c++11-lang tar:bzip2 gettext gmake gnome localbase \
pkgconfig
GNU_CONFIGURE= yes
USE_GNOME= gtk20 intltool esound
CXXFLAGS+= -Wno-reserved-user-defined-literal
PORTDOCS= AUTHORS ChangeLog INSTALL README readme.txt
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|/usr|${LOCALBASE}|' ${WRKSRC}/src/readword.cpp
post-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
cd ${WRKDIR} && ${COPYTREE_SHARE} "books dicts" ${STAGEDIR}${DATADIR}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>