aboutsummaryrefslogtreecommitdiff
path: root/sysutils/xloadface/Makefile
blob: 012d588568521dd3ca6635e377d927d312a3ed5c (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
32
33
34
35
36
37
38
39
40
41
42
# New ports collection makefile for:	xloadface
# Date created:		4 February 1998
# Whom:			FURUSAWA,Kazuhisa <kazu@jp.freebsd.org>
#
# $FreeBSD$
#

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>