1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/ports-mgmt/pkgs_which/Makefile
Matthias Andree 772dd8c9f8 New version 0.4.0
- Support pkgNG. Known issue is that pkg which returns bogus exit codes,
  spamming your screen.  pkgs_which works nonetheless.
  https://github.com/freebsd/pkg/issues/657

  Note that pkgNG always uses --nocache implictly for speed:
  https://github.com/freebsd/pkg/issues/658

  Known issue: the pkgNG detection is a hack. It just looks for the
  executable and the database in default locations, but does not attempt
  to run "pkg -N".
2013-11-28 01:09:09 +00:00

34 lines
762 B
Makefile

# Created by: Matthias Andree <mandree@FreeBSD.org>
# $FreeBSD$
PORTNAME= pkgs_which
PORTVERSION= 0.4.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
USES= perl5
NO_BUILD= yes
PLIST_FILES= bin/${PORTNAME}
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
PLIST_FILES+= man/man1/${PORTNAME}.1.gz
.endif
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${FILESDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${PREFIX}/man/man1
${LOCALBASE}/bin/pod2man ${FILESDIR}/${PORTNAME} >${STAGEDIR}${PREFIX}/man/man1/${PORTNAME}.1
.endif
.include <bsd.port.mk>