summaryrefslogtreecommitdiff
path: root/devel/mr/Makefile
blob: cba259dd351259372b402cce2211c0b479db4d5e (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.19 2015/06/12 10:48:51 wiz Exp $
#

DISTNAME=		myrepos_1.20141024
PKGNAME=		${DISTNAME:S/_/-/}
PKGREVISION=		1
CATEGORIES=		devel
MASTER_SITES=		${MASTER_SITE_DEBIAN:=pool/main/m/myrepos/}

MAINTAINER=		schmonz@NetBSD.org
HOMEPAGE=		http://myrepos.branchable.com/
COMMENT=		Treat multiple repositories as one combined repository
LICENSE=		gnu-gpl-v2

DEPENDS+=		p5-libwww-[0-9]*:../../www/p5-libwww
DEPENDS+=		p5-HTML-Parser-[0-9]*:../../www/p5-HTML-Parser
DEPENDS+=		p5-ack-[0-9]*:../../textproc/p5-ack

WRKSRC=			${WRKDIR}/${PKGBASE}
USE_LANGUAGES=		# none

BUILD_TARGET+=		build
TEST_TARGET+=		test
USE_TOOLS+=		perl:run

REPLACE_PERL+=  	mr webcheckout

EGDIR=			${PREFIX}/share/examples/mr
INSTALLATION_DIRS=	bin ${PKGMANDIR} ${EGDIR}

post-install:
	set -e; cd ${WRKSRC};						\
	${INSTALL_DATA} mrconfig ${DESTDIR}${EGDIR};			\
	${INSTALL_DATA} mrconfig.complex ${DESTDIR}${EGDIR}

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