Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2014 13:47:01 +0000 (UTC)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r346206 - in head/ports-mgmt/pkg_trackinst: . files
Message-ID:  <201402261347.s1QDl1Jf027860@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olgeni
Date: Wed Feb 26 13:47:00 2014
New Revision: 346206
URL: http://svnweb.freebsd.org/changeset/ports/346206
QAT: https://qat.redports.org/buildarchive/r346206/

Log:
  Add staging support.

Added:
  head/ports-mgmt/pkg_trackinst/files/patch-Makefile   (contents, props changed)
Modified:
  head/ports-mgmt/pkg_trackinst/Makefile
  head/ports-mgmt/pkg_trackinst/pkg-plist   (contents, props changed)

Modified: head/ports-mgmt/pkg_trackinst/Makefile
==============================================================================
--- head/ports-mgmt/pkg_trackinst/Makefile	Wed Feb 26 13:21:31 2014	(r346205)
+++ head/ports-mgmt/pkg_trackinst/Makefile	Wed Feb 26 13:47:00 2014	(r346206)
@@ -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

Added: head/ports-mgmt/pkg_trackinst/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/ports-mgmt/pkg_trackinst/files/patch-Makefile	Wed Feb 26 13:47:00 2014	(r346206)
@@ -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

Modified: head/ports-mgmt/pkg_trackinst/pkg-plist
==============================================================================
--- head/ports-mgmt/pkg_trackinst/pkg-plist	Wed Feb 26 13:21:31 2014	(r346205)
+++ head/ports-mgmt/pkg_trackinst/pkg-plist	Wed Feb 26 13:47:00 2014	(r346206)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402261347.s1QDl1Jf027860>