1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

- Fix Shebangs

- Added LICENSE
- Added NO_ARCH
This commit is contained in:
Martin Wilke 2017-04-20 04:13:39 +00:00
parent 04bb8a5732
commit 80b980d6f0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=438924
6 changed files with 34 additions and 9 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= ptkei
PORTVERSION= 2.00.0
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SF/ptkei2
@ -12,7 +13,8 @@ COMMENT= Python/Tk graphical client for Wolfpack Empire servers
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter \
${PYTHON_SITELIBDIR}/Pmw/__init__.py:x11-toolkits/py-Pmw
USES= python
USES= python shebangfix
SHEBANG_FILES= empire.py scripts/*.py
do-build:
@${FIND} ${WRKSRC} -name "*.pyc" -delete

View File

@ -3,6 +3,7 @@
PORTNAME= sgflib
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= games python
MASTER_SITES= http://gotools.sourceforge.net/sgflib/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -12,10 +13,19 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Smart Game Format parser library for Python
USES= python
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/lgpl.txt
USES= python shebangfix
NO_BUILD= yes
NO_ARCH= yes
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}
do-patch:
@${REINPLACE_CMD} -e 's|/usr/local/bin/python|${python_CMD}|' \
${WRKSRC}/*.py
@${FIND} ${WRKSRC} -name "*.bak" -delete
do-install:
@${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
(cd ${WRKSRC} && ${INSTALL_SCRIPT} sgflib.py typelib.py \

View File

@ -3,7 +3,7 @@
PORTNAME= mayavi
PORTVERSION= 4.5.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= graphics science python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -31,10 +31,11 @@ RUN_DEPENDS= vtk6>=6.1.0_8:math/vtk6 \
${PYTHON_PKGNAMEPREFIX}scimath>=4.1.2:science/py-scimath \
${PYTHON_PKGNAMEPREFIX}traitsui>=4.5.1:graphics/py-traitsui
USES= execinfo python:-2.7 tar:bzip2
USES= execinfo python:-2.7 shebangfix tar:bzip2
USE_PYTHON= autoplist distutils
USE_WX= 2.8+
WX_COMPS= python:run
SHEBANG_FILES= mayavi/tests/csv_files/csv_2_py
DEP1= vtk6

View File

@ -3,12 +3,18 @@
PORTNAME= hb
PORTVERSION= 1.88
PORTREVISION= 1
CATEGORIES= misc python
MASTER_SITES= http://www.tundraware.com/Software/hb/
MAINTAINER= tundra@tundraware.com
COMMENT= Simple, but complete budget management in Python
USES= python
USES= python shebangfix
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local/bin/python|${python_CMD}|' \
${WRKSRC}/hb.py
@${FIND} ${WRKSRC} -name "*.bak" -delete
.include <bsd.port.mk>

View File

@ -3,7 +3,7 @@
PORTNAME= umit
PORTVERSION= 1.0
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= security
MASTER_SITES= SF
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -19,10 +19,13 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3 \
NO_ARCH= yes
USES= python tar:bzip2
USES= python shebangfix tar:bzip2
USE_GNOME= pygtk2
USE_PYTHON= distutils
INSTALLS_ICONS= yes
SHEBANG_FILES= *.py umit/gui/*.py higwidgets/*.py umit/interfaceeditor/*.py \
umit/plugin/*.py umit/core/*.py umit/merger/*.py \
umit/interfaceeditor/selectborder/*.py
PORTDOCS= *

View File

@ -3,7 +3,7 @@
PORTNAME= pelican
PORTVERSION= 3.6.3
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= www textproc python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -23,9 +23,12 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docutils>0:textproc/py-docutils \
${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock
USES= python
NO_ARCH= yes
USES= python shebangfix
USE_GITHUB= yes
USE_PYTHON= autoplist concurrent distutils
SHEBANG_FILES= pelican/tools/templates/publishconf.py.in \
pelican/tools/*.py
GH_ACCOUNT= getpelican