diff options
-rw-r--r-- | ports-mgmt/pkg_trackinst/Makefile | 6 | ||||
-rw-r--r-- | ports-mgmt/pkg_trackinst/files/patch-Makefile | 18 | ||||
-rw-r--r-- | ports-mgmt/pkg_trackinst/pkg-plist | 5 |
3 files changed, 25 insertions, 4 deletions
diff --git a/ports-mgmt/pkg_trackinst/Makefile b/ports-mgmt/pkg_trackinst/Makefile index 30055aef392e..b4838585f16b 100644 --- a/ports-mgmt/pkg_trackinst/Makefile +++ b/ports-mgmt/pkg_trackinst/Makefile @@ -3,7 +3,7 @@ PORTNAME= pkg_trackinst PORTVERSION= 1.2.3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= ports-mgmt MASTER_SITES= http://people.freebsd.org/~perky/distfiles/ @@ -11,10 +11,8 @@ MAINTAINER= olgeni@FreeBSD.org COMMENT= PkgDB/pkg-plist generator by tracking installation USE_PYTHON= yes -INSTALLS_EGGINFO= yes -MAKE_ENV= PYTHON_CMD=${PYTHON_CMD} +MAKE_ENV= PYTHON_CMD=${PYTHON_CMD} STAGEDIR=${STAGEDIR} -NO_STAGE= yes post-patch: ${REINPLACE_CMD} 's,/usr/local,${PREFIX},g' \ ${WRKSRC}/PkgTrackInst/cmd_support.py diff --git a/ports-mgmt/pkg_trackinst/files/patch-Makefile b/ports-mgmt/pkg_trackinst/files/patch-Makefile new file mode 100644 index 000000000000..0c4521631d24 --- /dev/null +++ b/ports-mgmt/pkg_trackinst/files/patch-Makefile @@ -0,0 +1,18 @@ + +$FreeBSD$ + +--- Makefile.orig ++++ Makefile +@@ -12,9 +12,9 @@ + all: ${SHLIB_NAME} + + install: all +- ${INSTALL} ${STRIP} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ +- ${SHLIB_NAME} ${SHLIBDIR} +- ${PYTHON_CMD} setup.py install -c -O1 --prefix=${PREFIX} ++ ${INSTALL} ${STRIP} \ ++ ${SHLIB_NAME} ${STAGEDIR}${SHLIBDIR} ++ ${PYTHON_CMD} setup.py install -c -O1 --prefix=${STAGEDIR}${PREFIX} + + sdist: + ${PYTHON_CMD} setup.py sdist diff --git a/ports-mgmt/pkg_trackinst/pkg-plist b/ports-mgmt/pkg_trackinst/pkg-plist index f59afb8697d3..afe272d74d34 100644 --- a/ports-mgmt/pkg_trackinst/pkg-plist +++ b/ports-mgmt/pkg_trackinst/pkg-plist @@ -1,7 +1,11 @@ bin/pkg_checkplist bin/pkg_genplist bin/pkg_trackinst +@mode 755 +@owner root +@group wheel lib/insthook.so +@mode %%PYTHON_SITELIBDIR%%/PkgTrackInst/InstallSession.py %%PYTHON_SITELIBDIR%%/PkgTrackInst/InstallSession.pyc %%PYTHON_SITELIBDIR%%/PkgTrackInst/InstallSession.pyo @@ -38,4 +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 @dirrm %%PYTHON_SITELIBDIR%%/PkgTrackInst |