aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-12-05 09:37:20 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-12-05 09:37:20 +0000
commit0d5812adb69970226e93613ff60396f6f326b119 (patch)
tree4baf82c18c8ab374011dac4d76ac16ad31d54f15 /chinese
parent53896eb27fe222f4cde1453b04fb2752461ec98d (diff)
downloadports-0d5812adb69970226e93613ff60396f6f326b119.tar.gz
ports-0d5812adb69970226e93613ff60396f6f326b119.zip
Notes
Diffstat (limited to 'chinese')
-rw-r--r--chinese/reciteword/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/chinese/reciteword/Makefile b/chinese/reciteword/Makefile
index 5a4ba1599c66..0dc442760f47 100644
--- a/chinese/reciteword/Makefile
+++ b/chinese/reciteword/Makefile
@@ -14,6 +14,9 @@ DISTFILES= ${DISTNAME}.tar.bz2 \
MAINTAINER= ports@FreeBSD.org
COMMENT= Education software to help people to study English
+LICENSE= GPLv3 # or later
+LICENSE_FILE= ${WRKSRC}/COPYING
+
LIB_DEPENDS= libespeak.so:${PORTSDIR}/audio/espeak
GNU_CONFIGURE= yes
@@ -22,7 +25,9 @@ USE_GNOME= gtk20 intltool esound
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
-PORTDOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README TODO readme.txt
+PORTDOCS= AUTHORS ChangeLog INSTALL README readme.txt
+
+OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|/usr|${LOCALBASE}|' ${WRKSRC}/src/readword.cpp
@@ -30,6 +35,8 @@ post-patch:
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}