mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Avoid hardcoded version numbers in plist.
This commit is contained in:
parent
97d59a4ffb
commit
7da80beaa7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346233
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= pkg_trackinst
|
||||
PORTVERSION= 1.2.3
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= ports-mgmt
|
||||
MASTER_SITES= http://people.freebsd.org/~perky/distfiles/
|
||||
|
||||
@ -12,6 +12,7 @@ COMMENT= PkgDB/pkg-plist generator by tracking installation
|
||||
|
||||
USE_PYTHON= yes
|
||||
MAKE_ENV= PYTHON_CMD=${PYTHON_CMD} STAGEDIR=${STAGEDIR}
|
||||
PLIST_SUB+= PYTHON_VER=${PYTHON_VER} VERSION=${PORTVERSION}
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} 's,/usr/local,${PREFIX},g' \
|
||||
|
@ -42,5 +42,5 @@ lib/insthook.so
|
||||
%%PYTHON_SITELIBDIR%%/PkgTrackInst/main.py
|
||||
%%PYTHON_SITELIBDIR%%/PkgTrackInst/main.pyc
|
||||
%%PYTHON_SITELIBDIR%%/PkgTrackInst/main.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pkg_trackinst-1.2.3-py2.7.egg-info
|
||||
%%PYTHON_SITELIBDIR%%/pkg_trackinst-%%VERSION%%-py%%PYTHON_VER%%.egg-info
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/PkgTrackInst
|
||||
|
Loading…
Reference in New Issue
Block a user