svn commit: r374060 - in head/ports-mgmt: . pkg-plist

Dmitry Marakasov amdmi3 at FreeBSD.org
Fri Dec 5 17:13:05 UTC 2014


Author: amdmi3
Date: Fri Dec  5 17:13:03 2014
New Revision: 374060
URL: https://svnweb.freebsd.org/changeset/ports/374060
QAT: https://qat.redports.org/buildarchive/r374060/

Log:
  - Resurrect ports-mgmt/pkg-plist, update to 1.4
  
  Make a pkg-plist for a FreeBSD port. Try to be as "automatic" as possible.
  
  That's all it does ;-)
  
  Basic usage
  ===========
  1. Build your port to the staging directory: `make stage`.
  2. Run this from your port's directory (or set `-p`).
  
  Alternatively, you can install your ports to a "fake" prefix, this is the "old"
  from before staging support, but it has the added advantage that you've tested
  whether your port works when installing to a different prefix.
  
  1. Build & install your port with a different `PREFIX`: `make install
     PREFIX=/var/tmp/ptest`.
  2. Run this from your port's directory with `-x` set to `PREFIX`.
  
  WWW: http://code.arp242.net/pkg-plist
  
  PR:		195576
  Submitted by:	lightside at gmx.com
  Approved by:	martin at arp242.net (maintainer)

Added:
  head/ports-mgmt/pkg-plist/
     - copied from r373717, head/ports-mgmt/pkg-plist/
Modified:
  head/ports-mgmt/Makefile
  head/ports-mgmt/pkg-plist/Makefile
  head/ports-mgmt/pkg-plist/distinfo
  head/ports-mgmt/pkg-plist/pkg-descr

Modified: head/ports-mgmt/Makefile
==============================================================================
--- head/ports-mgmt/Makefile	Fri Dec  5 17:12:42 2014	(r374059)
+++ head/ports-mgmt/Makefile	Fri Dec  5 17:13:03 2014	(r374060)
@@ -32,6 +32,7 @@
     SUBDIR += pkg
     SUBDIR += pkg-devel
     SUBDIR += pkg-orphan
+    SUBDIR += pkg-plist
     SUBDIR += pkg-rmleaf
     SUBDIR += pkg_cleanup
     SUBDIR += pkg_cutleaves

Modified: head/ports-mgmt/pkg-plist/Makefile
==============================================================================
--- head/ports-mgmt/pkg-plist/Makefile	Mon Dec  1 18:41:12 2014	(r373717)
+++ head/ports-mgmt/pkg-plist/Makefile	Fri Dec  5 17:13:03 2014	(r374060)
@@ -2,9 +2,9 @@
 # $FreeBSD$
 
 PORTNAME=	pkg-plist
-PORTVERSION=	1.2
+PORTVERSION=	1.4
 CATEGORIES=	ports-mgmt python
-MASTER_SITES=	http://code.arp242.net/pkg-plist/downloads/
+MASTER_SITES=	http://code.arp242.net/${BB_PROJECT}/get/${BB_COMMIT}.tar.gz?dummy=/
 
 MAINTAINER=	martin at arp242.net
 COMMENT=	Generate a pkg-plist for a port
@@ -13,11 +13,13 @@ LICENSE=	MIT
 
 USES=		python
 NO_BUILD=	yes
+WRKSRC=		${WRKDIR}/${BB_ACCOUNT}-${BB_PROJECT}-${BB_COMMIT}
 
-PLIST_FILES=	bin/pkg-plist man/man1/pkg-plist.1.gz
+BB_ACCOUNT=	Carpetsmoker
+BB_PROJECT=	${PORTNAME}
+BB_COMMIT=	ff040a64c20b
 
-DEPRECATED=	Generate incorrect plists
-EXPIRATION_DATE=	2014-11-30
+PLIST_FILES=	bin/pkg-plist man/man1/pkg-plist.1.gz
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/pkg-plist ${STAGEDIR}${PREFIX}/bin

Modified: head/ports-mgmt/pkg-plist/distinfo
==============================================================================
--- head/ports-mgmt/pkg-plist/distinfo	Mon Dec  1 18:41:12 2014	(r373717)
+++ head/ports-mgmt/pkg-plist/distinfo	Fri Dec  5 17:13:03 2014	(r374060)
@@ -1,2 +1,2 @@
-SHA256 (pkg-plist-1.2.tar.gz) = 9cdb872627ad29c211923454faa111d5f85f5c1b5c6c9dba4621923d802a4831
-SIZE (pkg-plist-1.2.tar.gz) = 4064
+SHA256 (pkg-plist-1.4.tar.gz) = f65ba9994dd78e4916f3a420170f8c25f3a481032338433375385ab7c85ea17f
+SIZE (pkg-plist-1.4.tar.gz) = 4404

Modified: head/ports-mgmt/pkg-plist/pkg-descr
==============================================================================
--- head/ports-mgmt/pkg-plist/pkg-descr	Mon Dec  1 18:41:12 2014	(r373717)
+++ head/ports-mgmt/pkg-plist/pkg-descr	Fri Dec  5 17:13:03 2014	(r374060)
@@ -2,4 +2,17 @@ Make a pkg-plist for a FreeBSD port. Try
 
 That's all it does ;-)
 
+Basic usage
+===========
+1. Build your port to the staging directory: `make stage`.
+2. Run this from your port's directory (or set `-p`).
+
+Alternatively, you can install your ports to a "fake" prefix, this is the "old"
+from before staging support, but it has the added advantage that you've tested
+whether your port works when installing to a different prefix.
+
+1. Build & install your port with a different `PREFIX`: `make install
+   PREFIX=/var/tmp/ptest`.
+2. Run this from your port's directory with `-x` set to `PREFIX`.
+
 WWW: http://code.arp242.net/pkg-plist


More information about the svn-ports-head mailing list