aboutsummaryrefslogtreecommitdiffstats
path: root/audio/festlex-ogi/Makefile
diff options
context:
space:
mode:
authoraraujo <araujo@FreeBSD.org>2009-04-08 09:28:05 +0800
committeraraujo <araujo@FreeBSD.org>2009-04-08 09:28:05 +0800
commitb6d6d4b3c046fc07a69902521a24dc7dd6e15db6 (patch)
tree7d2eba130ee71d01879433cc501ddb4e2e488e00 /audio/festlex-ogi/Makefile
parente8cd0f1df7c9b03bd292714fb7dd0f6a5f816b61 (diff)
downloadfreebsd-ports-gnome-b6d6d4b3c046fc07a69902521a24dc7dd6e15db6.tar.gz
freebsd-ports-gnome-b6d6d4b3c046fc07a69902521a24dc7dd6e15db6.tar.zst
freebsd-ports-gnome-b6d6d4b3c046fc07a69902521a24dc7dd6e15db6.zip
- Mark as RESTRICTED. The License is limited to non-commercial use.
- Distfile was rerolled to fix the DISTDIR. - Bump PORTREVISION. Reported by: QAT
Diffstat (limited to 'audio/festlex-ogi/Makefile')
-rw-r--r--audio/festlex-ogi/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/audio/festlex-ogi/Makefile b/audio/festlex-ogi/Makefile
index efa1c36c9ef1..a0e33f9724cf 100644
--- a/audio/festlex-ogi/Makefile
+++ b/audio/festlex-ogi/Makefile
@@ -9,11 +9,10 @@
PORTNAME= festlex-ogi
PORTVERSION= 2.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= audio accessibility
-MASTER_SITES= ${MASTER_SITE_FESTIVAL_OGI}
+MASTER_SITES= # ${MASTER_SITE_FESTIVAL_OGI}
DISTNAME= OGIlexicon-2.2
-DIST_SUBDIR= festival
MAINTAINER= araujo@FreeBSD.org
COMMENT= Composite pronunciation dictionary from ogi.edu for Festival
@@ -29,6 +28,12 @@ NO_BUILD= yes
FHOME= ${PREFIX}/share/festival
+.include <bsd.port.pre.mk>
+
+.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING)
+IGNORE= distfile can only be fetched if you accept the license. Go to https://www.cslu.ogi.edu/tts/download/data/OGIlexicon-2.2.tar.gz and put ${DISTFILE} into ${DISTDIR}
+.endif
+
post-extract:
@ ${CHMOD} -R a+r ${WRKSRC}
@ ${FIND} ${WRKSRC} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
@@ -37,4 +42,4 @@ do-install:
${MKDIR} ${FHOME}
cd ${WRKSRC} && ${CP} -pPR * ${FHOME}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>