aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/xloadface/Makefile
blob: e91c8a354d56b8cc643e8cff3554968aa4903176 (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
# 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=   1
CATEGORIES= sysutils
MASTER_SITES=   ftp://ftp.waseda.ac.jp/pub/X11others/

MAINTAINER= kazu@jp.freebsd.org

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

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

MAN1=       xloadface.1
MANLANG=    ja

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.mk>