1
0
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:
Jimmy Olgeni 2014-02-26 22:15:09 +00:00
parent 97d59a4ffb
commit 7da80beaa7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346233
2 changed files with 3 additions and 2 deletions

View File

@ -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' \

View File

@ -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