1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00

- 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@gmx.com
Approved by:	martin@arp242.net (maintainer)
This commit is contained in:
Dmitry Marakasov 2014-12-05 17:13:03 +00:00
parent 0bb9587da4
commit 60c44136dc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=374060
4 changed files with 49 additions and 0 deletions

View File

@ -32,6 +32,7 @@
SUBDIR += pkg
SUBDIR += pkg-devel
SUBDIR += pkg-orphan
SUBDIR += pkg-plist
SUBDIR += pkg-rmleaf
SUBDIR += pkg_cleanup
SUBDIR += pkg_cutleaves

View File

@ -0,0 +1,28 @@
# Created by: Martin Tournoij <martin@arp242.net>
# $FreeBSD$
PORTNAME= pkg-plist
PORTVERSION= 1.4
CATEGORIES= ports-mgmt python
MASTER_SITES= http://code.arp242.net/${BB_PROJECT}/get/${BB_COMMIT}.tar.gz?dummy=/
MAINTAINER= martin@arp242.net
COMMENT= Generate a pkg-plist for a port
LICENSE= MIT
USES= python
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${BB_ACCOUNT}-${BB_PROJECT}-${BB_COMMIT}
BB_ACCOUNT= Carpetsmoker
BB_PROJECT= ${PORTNAME}
BB_COMMIT= ff040a64c20b
PLIST_FILES= bin/pkg-plist man/man1/pkg-plist.1.gz
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/pkg-plist ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/pkg-plist.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (pkg-plist-1.4.tar.gz) = f65ba9994dd78e4916f3a420170f8c25f3a481032338433375385ab7c85ea17f
SIZE (pkg-plist-1.4.tar.gz) = 4404

View File

@ -0,0 +1,18 @@
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