summaryrefslogtreecommitdiff
path: root/misc/whohas/Makefile
blob: 7dbb69363954b8be04519a3509a338e490212fe3 (plain)
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
32
33
34
35
36
# $NetBSD: Makefile,v 1.23 2021/05/24 19:53:11 wiz Exp $
#

DISTNAME=	whohas-0.29.1
PKGREVISION=	3
CATEGORIES=	misc
MASTER_SITES=	${MASTER_SITE_GITHUB:=whohas/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.philippwesche.org/200811/whohas/intro.html
COMMENT=	Query several packaging systems for a program
LICENSE=	gnu-gpl-v2 # or later

DEPENDS+=	p5-forks-[0-9]*:../../devel/p5-forks
DEPENDS+=	p5-libwww-[0-9]*:../../www/p5-libwww

USE_LANGUAGES=	# none
USE_TOOLS+=	perl:run

REPLACE_PERL=	whohas

INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1 ${PKGMANDIR}/de/man1 \
			share/doc/whohas

NO_BUILD=	yes

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/whohas ${DESTDIR}${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/usr/share/man/man1/whohas.1 \
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
	${INSTALL_DATA} ${WRKSRC}/usr/share/man/de/man1/whohas.1 \
		${DESTDIR}${PREFIX}/${PKGMANDIR}/de/man1
	${INSTALL_DATA} ${WRKSRC}/intro* \
		${DESTDIR}${PREFIX}/share/doc/whohas

.include "../../mk/bsd.pkg.mk"