Index: branches/2014Q3/textproc/google-translate-cli/pkg-plist =================================================================== --- branches/2014Q3/textproc/google-translate-cli/pkg-plist (revision 366337) +++ branches/2014Q3/textproc/google-translate-cli/pkg-plist (nonexistent) @@ -1,7 +0,0 @@ -bin/translate -bin/trs -%%PORTDOCS%%%%DOCSDIR%%/README.html -%%DATADIR%%/translate -%%DATADIR%%/translate.awk -@dirrmtry %%DATADIR%% -%%PORTDOCS%%@dirrmtry %%DOCSDIR%% Property changes on: branches/2014Q3/textproc/google-translate-cli/pkg-plist ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -on \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: branches/2014Q3/textproc/google-translate-cli/Makefile =================================================================== --- branches/2014Q3/textproc/google-translate-cli/Makefile (revision 366337) +++ branches/2014Q3/textproc/google-translate-cli/Makefile (revision 366338) @@ -1,70 +1,51 @@ # Created by: Nicola Vitale # $FreeBSD$ PORTNAME= google-translate-cli -PORTVERSION= 0.0.1 +PORTVERSION= 0.8.19 #PORTREVISION= 0 CATEGORIES= textproc MAINTAINER= nivit@FreeBSD.org COMMENT= Google Translate to serve as a command line tool LICENSE= BW LICENSE_NAME= Beerware LICENSE_TEXT= http://www.sax.de/~joerg/beerware-license.txt -LICENSE_PERMS= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept +LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept -RUN_DEPENDS= gawk:${PORTSDIR}/lang/gawk +BUILD_DEPENDS= gawk:${PORTSDIR}/lang/gawk +RUN_DEPENDS= bash:${PORTSDIR}/shells/bash \ + gawk:${PORTSDIR}/lang/gawk +TEST_DEPENDS= gawk:${PORTSDIR}/lang/gawk -# same binary file bin/translate -CONFLICTS_INSTALL= translate-* +ALL_TARGET= build +FRIBIDI_RUN_DEPENDS= fribidi:${PORTSDIR}/converters/fribidi + GH_ACCOUNT= soimort -GH_COMMIT= 2f59fc6 +GH_COMMIT= ae2696e +GH_PROJECT= translate-shell GH_TAGNAME= ${GH_COMMIT} -gawk_CMD= ${SETENV} -S gawk -gawk_OLD_CMD= /usr/bin/gawk -MARKDOWN_CMD= ${LOCALBASE}/bin/markdown +OPTIONS_DEFINE= DOCS FRIBIDI READLINE TEXT2SPEECH -OPTIONS_DEFINE= DOCS +PLIST_FILES= bin/trans man/man1/trans.1.gz -SHEBANG_FILES= ${WRKSRC}/translate.awk -SHEBANG_LANG= gawk +READLINE_RUN_DEPENDS= rlwrap:${PORTSDIR}/devel/rlwrap +TEXT2SPEECH_DESC= Enable Text-to-Speech functionality via espeak +TEXT2SPEECH_RUN_DEPENDS= espeak:${PORTSDIR}/audio/espeak + USE_GITHUB= yes -USES= shebangfix .include -post-patch: - @${REINPLACE_CMD} -e 's,^gawk,${LOCALBASE}/bin/&,1' \ - -e 's,translate.awk,${DATADIR}/&,1' ${WRKSRC}/translate - -.if !${PORT_OPTIONS:MDOCS} -NO_BUILD= yes -.else -BUILD_DEPENDS+= markdown:${PORTSDIR}/textproc/discount - -do-build: - @(cd ${WRKSRC} && \ - ${MARKDOWN_CMD} README.md > README.tmp && \ - echo "${COMMENT}" | \ - ${CAT} - ${WRKSRC}/README.tmp $(${ECHO_CMD} "") > README.html) - -post-install: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README.html ${STAGEDIR}${DOCSDIR} -.endif - do-install: - @${MKDIR} ${STAGEDIR}${DATADIR} - ${INSTALL_SCRIPT} ${WRKSRC}/translate ${STAGEDIR}${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/translate.awk ${STAGEDIR}${DATADIR} - ${LN} -sf ${DATADIR}/translate ${STAGEDIR}${PREFIX}/bin/translate - ${LN} -sf ${DATADIR}/translate ${STAGEDIR}${PREFIX}/bin/trs + ${INSTALL_SCRIPT} ${WRKSRC}/build/trans ${STAGEDIR}${PREFIX}/bin/trans + ${INSTALL_MAN} ${WRKSRC}/man/trans.1 ${STAGEDIR}${MANPREFIX}/man/man1/trans.1 regression-test test: build - @(cd ${WRKSRC} ; ${MAKE} test) + @(cd ${WRKSRC} && ${MAKE} test) .include Index: branches/2014Q3/textproc/google-translate-cli/distinfo =================================================================== --- branches/2014Q3/textproc/google-translate-cli/distinfo (revision 366337) +++ branches/2014Q3/textproc/google-translate-cli/distinfo (revision 366338) @@ -1,2 +1,2 @@ -SHA256 (google-translate-cli-0.0.1.tar.gz) = ba778fadbbd91f93b431bfc769b6ea537931cd5475f2c811b024b4fe7dc70a02 -SIZE (google-translate-cli-0.0.1.tar.gz) = 4741 +SHA256 (google-translate-cli-0.8.19.tar.gz) = 807e94e4b63ba1b81fa9b089a2ab619afe231ef990dff0feb24edd01be9f45d6 +SIZE (google-translate-cli-0.8.19.tar.gz) = 25881 Property changes on: branches/2014Q3/textproc/google-translate-cli/distinfo ___________________________________________________________________ Modified: fbsd:nokeywords ## -1 +1 ## -on \ No newline at end of property +yes \ No newline at end of property Index: branches/2014Q3 =================================================================== --- branches/2014Q3 (revision 366337) +++ branches/2014Q3 (revision 366338) Property changes on: branches/2014Q3 ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /head:r366021