aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/pkgs_which/Makefile
blob: d0bf29c4d51f39f50610ed089e746f698e73e68c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
PORTNAME=	pkgs_which
PORTVERSION=	0.4.1
PORTREVISION=	2
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_ARCH=	yes
NO_BUILD=	yes
PLIST_FILES=	bin/${PORTNAME}

OPTIONS_DEFINE=	DOCS

DOCS_PLIST_FILES=	share/man/man1/${PORTNAME}.1.gz

.include <bsd.port.options.mk>

do-install:
		${MKDIR} ${STAGEDIR}${PREFIX}/bin
		${INSTALL_SCRIPT} ${FILESDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin

do-install-DOCS-on:
		${LOCALBASE}/bin/pod2man ${FILESDIR}/${PORTNAME} >${STAGEDIR}${PREFIX}/share/man/man1/${PORTNAME}.1

.include <bsd.port.mk>