Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Oct 2020 08:28:00 +0000 (UTC)
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r552395 - head/textproc/google-translate-cli
Message-ID:  <202010150828.09F8S0ck064590@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: 0mp
Date: Thu Oct 15 08:28:00 2020
New Revision: 552395
URL: https://svnweb.freebsd.org/changeset/ports/552395

Log:
  Clean up port's makefile
  
  - Sort variables
  - Replace test make targets with a simple TEST_TARGET=test
  - Remove unnecessary include <bsd.port.options.mk>
  
  Approved by:	portmgr blanket

Modified:
  head/textproc/google-translate-cli/Makefile

Modified: head/textproc/google-translate-cli/Makefile
==============================================================================
--- head/textproc/google-translate-cli/Makefile	Thu Oct 15 08:21:21 2020	(r552394)
+++ head/textproc/google-translate-cli/Makefile	Thu Oct 15 08:28:00 2020	(r552395)
@@ -17,31 +17,27 @@ RUN_DEPENDS=	bash:shells/bash \
 		gawk:lang/gawk
 TEST_DEPENDS=	gawk:lang/gawk
 
-ALL_TARGET=	build
-
-FRIBIDI_RUN_DEPENDS=	fribidi:converters/fribidi
-
+USE_GITHUB=	yes
 GH_ACCOUNT=	soimort
 GH_PROJECT=	translate-shell
 
+ALL_TARGET=	build
+TEST_TARGET=	test
+PLIST_FILES=	bin/trans \
+		man/man1/trans.1.gz
+
 OPTIONS_DEFINE=	DOCS FRIBIDI READLINE TEXT2SPEECH
 
-PLIST_FILES=	bin/trans man/man1/trans.1.gz
+TEXT2SPEECH_DESC=	Enable Text-to-Speech functionality via espeak
 
+FRIBIDI_RUN_DEPENDS=	fribidi:converters/fribidi
+
 READLINE_RUN_DEPENDS=	rlwrap:devel/rlwrap
 
-TEXT2SPEECH_DESC=	Enable Text-to-Speech functionality via espeak
 TEXT2SPEECH_RUN_DEPENDS=	espeak:audio/espeak
 
-USE_GITHUB=	yes
-
-.include <bsd.port.options.mk>
-
 do-install:
 	${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)
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010150828.09F8S0ck064590>