# New ports collection makefile for:   colortail
# Date created:                25 February 1999
# Whom:                        Chris Piazza <cpiazza@FreeBSD.org>
#
# $FreeBSD: ports/misc/colortail/Makefile,v 1.14 2002/11/26 00:34:06 naddy Exp $
#

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

MAINTAINER=	ports@FreeBSD.org

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

GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="-DHAVE_DECL_GETOPT=1 -I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"

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>
