- Fix shebangs

This commit is contained in:
Martin Wilke 2017-04-18 04:49:15 +00:00
parent ae12982948
commit a6471e6136
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=438761
2 changed files with 5 additions and 4 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= pythoncad
PORTVERSION= 37
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= cad
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/R${PORTVERSION}%20PyGtk/Source
DISTNAME= PythonCAD-DS1-R${PORTVERSION}
@ -16,11 +16,12 @@ LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/__init__.py:x11-toolkits/py-gtk2
USES= python
USES= python shebangfix
USE_PYTHON= distutils
PYDISTUTILS_PKGNAME= PythonCAD
PYDISTUTILS_PKGVERSION= DS1-R${PORTVERSION}
NO_ARCH= yes
SHEBANG_FILES= gtkpycad.py
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' \

View File

@ -3,7 +3,7 @@
PORTNAME= pyla
PORTVERSION= 1.1.7.1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= comms python
#MASTER_SITES= http://www.teamsw.it/pyla/download/
MASTER_SITES= LOCAL/mr
@ -21,7 +21,7 @@ DATADIR= ${PREFIX}/lib/pyla
USES= python shebangfix tar:tgz
SHEBANG_FILES= faxcover/subst hylaform.py \
hylaproto.py ldapclass.py \
pyladebug.py
pyladebug.py pyla.py
SHEBANG_LANG= sed
sed_OLD_CMD= /bin/sed
sed_CMD= /usr/bin/sed