mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Clean up Makefile
- Add missing NO_ARCH, NO_BUILD - removed autoplist - tidy up RUN_DEPENDS - fix typos in install Reported by: jhale
This commit is contained in:
parent
7afd521fa4
commit
214911448d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=481122
1 changed files with 9 additions and 13 deletions
|
@ -11,34 +11,30 @@ COMMENT= Toolkit to handle the automatic picture transmission protocol
|
|||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue