summaryrefslogtreecommitdiff
path: root/misc/colortail/Makefile
blob: b67f3484858971dc63379a7b540473b9f679ae18 (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
# New ports collection makefile for:   colortail
# Date created:                25 February 1999
# Whom:                        Chris Piazza <cpiazza@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	colortail
PORTVERSION=	0.3.0
CATEGORIES=	misc
MASTER_SITES=	http://www.student.hk-r.se/~pt98jan/

MAINTAINER=	bugg@bugg.strangled.net

LIB_DEPENDS=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt

GNU_CONFIGURE=	yes

pre-patch:
	@${PERL} -pi.orig -e "s@malloc.h@stdlib.h@g" \
        ${WRKSRC}/CfgFileParser.cc

post-install:
	@ ${MKDIR} ${PREFIX}/share/colortail
	@ ${INSTALL_DATA} ${WRKSRC}/example-conf/conf* ${PREFIX}/share/colortail/
	@ ${ECHO} "*********************************************"
	@ ${ECHO} "Examples of the color configuration files are"
	@ ${ECHO} "in ${PREFIX}/share/colortail/"
	@ ${ECHO} "*********************************************"

.include <bsd.port.mk>