summaryrefslogtreecommitdiffstats
path: root/devel/colormake/Makefile
blob: d6498156d6d525c39945ffdf20e9d3d2c69ed779 (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
# $FreeBSD$

PORTNAME=	colormake
PORTVERSION=	0.9
CATEGORIES=	devel
MASTER_SITES=	http://bre.klaki.net/programs/colormake/

MAINTAINER=	arved@FreeBSD.org
COMMENT=	Wrapper to color gmake output

RUN_DEPENDS=	gmake:${PORTSDIR}/devel/gmake \
		bash:${PORTSDIR}/shells/bash

NO_BUILD=	yes
USES=		perl5
USE_PERL5=	run
PLIST_FILES=	bin/colormake bin/colormake.pl bin/colormake-short bin/clmake \
		bin/clmake-short

post-patch:
	cd ${WRKSRC} && \
	${REINPLACE_CMD} -e "s,make ,gmake ,g;s,/bin/bash,${LOCALBASE}/bin/bash,g" \
		colormake colormake-short clmake clmake-short

do-install:
	cd ${WRKSRC} && \
	${INSTALL_SCRIPT} colormake.pl colormake colormake-short clmake \
		clmake-short ${PREFIX}/bin

.include <bsd.port.mk>
OpenPOWER on IntegriCloud