freebsd-ports/ports-mgmt/pkg-plist/Makefile
Dmitry Marakasov 60c44136dc - 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)
2014-12-05 17:13:03 +00:00

28 lines
686 B
Makefile

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