1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-07 11:49:40 +00:00

Used versioned Python binary because the symlink isn't installed by default

any more.

Pointed out by:	feld
This commit is contained in:
Chris Rees 2014-02-19 21:22:42 +00:00
parent abbc8a7714
commit 703bd258b1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345151
2 changed files with 4 additions and 2 deletions

View File

@ -2,6 +2,7 @@
PORTNAME= rclint
PORTVERSION= 0.0.6
PORTREVISION= 1
CATEGORIES= devel textproc python
MASTER_SITES= http://www.bayofrum.net/dist/rclint/ \
LOCAL/crees/
@ -12,8 +13,9 @@ COMMENT= Checks rc scripts for style and common errors
LICENSE= BSD2CLAUSE
NO_BUILD= yes
USE_PYTHON= yes
USE_PYTHON_RUN= yes
SUB_FILES= ${PORTNAME}
SUB_LIST= PYTHON_CMD=${PYTHON_CMD}
PLIST_FILES= bin/${PORTNAME}
PORTDATA= ${PORTNAME}.py errors.en

View File

@ -3,4 +3,4 @@
# $FreeBSD$
#
exec python %%DATADIR%%/rclint.py ${1+"$@"}
exec %%PYTHON_CMD%% %%DATADIR%%/rclint.py ${1+"$@"}