Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Oct 2018 18:40:55 +0000 (UTC)
From:      Diane Bruce <db@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r481122 - head/comms/apitran
Message-ID:  <201810021840.w92Iet2G008310@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: db
Date: Tue Oct  2 18:40:54 2018
New Revision: 481122
URL: https://svnweb.freebsd.org/changeset/ports/481122

Log:
  Clean up Makefile
  - Add missing NO_ARCH, NO_BUILD
  - removed autoplist
  - tidy up RUN_DEPENDS
  - fix typos in install
  
  Reported by:	jhale

Modified:
  head/comms/apitran/Makefile

Modified: head/comms/apitran/Makefile
==============================================================================
--- head/comms/apitran/Makefile	Tue Oct  2 17:41:08 2018	(r481121)
+++ head/comms/apitran/Makefile	Tue Oct  2 18:40:54 2018	(r481122)
@@ -11,34 +11,30 @@ COMMENT=	Toolkit to handle the automatic picture trans
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter@${PY_FLAVOR} \
-	${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \
-	${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \
-	${PYNUMPY}
-RUN_DEPENDS=	sox:audio/sox \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \
+		${PYNUMPY} \
+		sox:audio/sox \
 		display:graphics/ImageMagick
 
-USES=		python shebangfix
+USES=		python:run shebangfix
 USE_GITHUB=	yes
 GH_ACCOUNT=	rsj56
 GH_PROJECT=	apitran
 GH_TAGNAME=	d209347
-#25379d9b681f434145fde9dbbdb3c5ae3
-#GH_TAGNAME=	d20934725379d9b681f434145fde9dbbdb3c5ae3
 
+NO_BUILD=	yes
+NO_ARCH=	yes
 SHEBANG_FILES=	apitran
-USE_PYTHON=	autoplist
 
-do-build:
-
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/apitran ${STAGEDIR}${PREFIX}/bin
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
-	cd ${WRKSRC}
 .for f in NOAA_APT_Frame_Format.gif README.md
 	${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR}
-	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 .endfor
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 .for f in ex_1ch_11025.png ex_2ch_48000.png ex_2ch_48000.wav
 	${INSTALL_DATA} ${WRKSRC}/Examples/$f ${STAGEDIR}${EXAMPLESDIR}
 .endfor



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