summaryrefslogtreecommitdiffstats
path: root/devel/colorgcc/Makefile
blob: a081fa5e7fe39e77ecd378f82aa7158733e20357 (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
37
38
39
40
41
42
43
# New ports collection makefile for:	colorgcc
# Date created:		2009-07-21
# Whom:			Sofian Brabez <sbrabez@gmail.com>
#
# $FreeBSD$
#

PORTNAME=	colorgcc
PORTVERSION=	1.3.2
CATEGORIES=	devel misc
MASTER_SITES=	http://schlueters.de/
DISTNAME=	${PORTNAME}.${PORTVERSION}
EXTRACT_SUFX=	.txt
DIST_SUBDIR=	${PORTNAME}

MAINTAINER=	sbz@FreeBSD.org
COMMENT=	Perl script to colorize the terminal ouput of GCC

RUN_DEPENDS=	p5-Term-ANSIColor>=0:${PORTSDIR}/devel/p5-Term-ANSIColor
BUILD_DEPENDS:=	${RUN_DEPENDS}

PLIST_FILES=	bin/${PORTNAME} \
		share/examples/${PORTNAME}/${PORTNAME}rc
PLIST_DIRS=	share/examples/${PORTNAME}
SUB_FILES=	pkg-message

NO_BUILD=yes

do-extract:
	@${MKDIR} ${WRKSRC}
	@${CP} ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${WRKSRC}/${PORTNAME}

do-install:
	@${MKDIR} ${EXAMPLESDIR}
	@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
	@${INSTALL_DATA} ${FILESDIR}/${PORTNAME}rc ${EXAMPLESDIR}/

post-install:
.if !defined(BATCH)
	@${CAT} ${PKGMESSAGE}
.endif

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