# New ports collection makefile for:	xloadface
# Date created:		4 February 1998
# Whom:			FURUSAWA,Kazuhisa <kazu@jp.freebsd.org>
#
# $FreeBSD: ports/sysutils/xloadface/Makefile,v 1.13 2007/05/19 20:23:45 flz Exp $
#

PORTNAME=	xloadface
PORTVERSION=	1.6.1
PORTREVISION=	2
CATEGORIES=	sysutils
MASTER_SITES=	http://www.kazu.kz/freebsd/

MAINTAINER=	kazu@jp.freebsd.org
COMMENT=	Network load monitor for X11

BUILD_DEPENDS=	nkf:${PORTSDIR}/japanese/nkf

PATCH_STRIP=	-p1
USE_IMAKE=	yes
XLOADFACEDIR=	$(X11BASE)/lib/X11/xloadface

MAN1=		xloadface.1
MANLANG=	ja

.include <bsd.port.pre.mk>

pre-build:
	${LOCALBASE}/bin/nkf -e ${WRKSRC}/xloadface.1 > ${WRKSRC}/xloadface.man

pre-install:
	${MKDIR} $(XLOADFACEDIR)
	${INSTALL_DATA} ${WRKSRC}/README $(XLOADFACEDIR)
	${INSTALL_DATA} ${WRKSRC}/host_org.sample $(XLOADFACEDIR)
	${MKDIR} $(XLOADFACEDIR)/bigfaces
	${MKDIR} $(XLOADFACEDIR)/bitmap
	${MKDIR} $(XLOADFACEDIR)/catfaces
	${INSTALL_DATA} ${WRKSRC}/bigfaces/* $(XLOADFACEDIR)/bigfaces
	${INSTALL_DATA} ${WRKSRC}/bitmap/*   $(XLOADFACEDIR)/bitmap
	${INSTALL_DATA} ${WRKSRC}/catfaces/* $(XLOADFACEDIR)/catfaces

.include <bsd.port.post.mk>


syntax highlighted by Code2HTML, v. 0.9.1