aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/xloadface/Makefile
blob: c7945bec58e344ad330500a483ebbcd29e02025d (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
# Created by: FURUSAWA,Kazuhisa <kazu@jp.freebsd.org>
# $FreeBSD$

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

MAINTAINER= ports@FreeBSD.org
COMMENT=    Network load monitor for X11

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

PATCH_STRIP=    -p1
USE_IMAKE=  yes
USE_XORG=   ice sm x11 xaw xext xmu xt
XLOADFACEDIR=   $(LOCALBASE)/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>