diff options
author | Matthias Andree <mandree@FreeBSD.org> | 2011-03-12 15:23:24 +0000 |
---|---|---|
committer | Matthias Andree <mandree@FreeBSD.org> | 2011-03-12 15:23:24 +0000 |
commit | 4e9aa4a8af10f5ef5fe54d3537d95f6355cd6602 (patch) | |
tree | 44df00206d264e30372994fb0c64eac7ecec4216 /ports-mgmt/pkgs_which/Makefile | |
parent | Disable Capabilities globally since it is broken (diff) |
Add new ports-mgmt/pkgs_which
This is a fast, Perl5-based, database-less pkg_which variant
useful to assist with site-package-upgrades, for instance,
after a Python 2.6 -> 2.7 upgrade.
Notes
Notes:
svn path=/head/; revision=270739
Diffstat (limited to 'ports-mgmt/pkgs_which/Makefile')
-rw-r--r-- | ports-mgmt/pkgs_which/Makefile | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/ports-mgmt/pkgs_which/Makefile b/ports-mgmt/pkgs_which/Makefile new file mode 100644 index 000000000000..7efedd489bf3 --- /dev/null +++ b/ports-mgmt/pkgs_which/Makefile @@ -0,0 +1,37 @@ +# New ports collection makefile for: pkgs_which +# Date created: 12 March 2011 +# Whom: Matthias Andree <mandree@FreeBSD.org> +# +# $FreeBSD$ +# +# This port is self contained in the files directory. +# + +PORTNAME= pkgs_which +PORTVERSION= 0.1.0 +CATEGORIES= ports-mgmt perl5 +MASTER_SITES= # none +DISTFILES= # none + +MAINTAINER= mandree@FreeBSD.org +COMMENT= Quickly find out which ports contributed to a file tree + +LICENSE= GPLv3 + +NO_BUILD= yes +USE_PERL5= yes +PLIST_FILES= bin/${PORTNAME} + +.if !defined(NOPORTDOCS) +MAN1= ${PORTNAME}.1 +.endif + +do-install: + ${MKDIR} ${PREFIX}/bin + ${INSTALL_SCRIPT} ${FILESDIR}/${PORTNAME} ${PREFIX}/bin +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/man/man1 + ${LOCALBASE}/bin/pod2man ${FILESDIR}/${PORTNAME} >${PREFIX}/man/man1/${MAN1} +.endif + +.include <bsd.port.mk> |