summaryrefslogtreecommitdiff
path: root/x11-clocks/emiclock/Makefile
blob: e21155af3ba885b892e735f1797c17183f78068f (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
# New ports collection makefile for:	EmiClock
# Version required:	1.0.4
# Date created:		15 March 1995
# Whom:			Nobuhiro Yasutomi
#
# $FreeBSD$
#

DISTNAME=	emiclock-1.0.4
CATEGORIES=	x11-clocks
MASTER_SITES=	ftp://ftp.plaza.hitachi-sk.co.jp/pub/EmiClock/X11/

MAINTAINER=	nobu@psrc.isac.co.jp

.if ${MACHINE_ARCH} != "i386"
PLIST=		${PKGDIR}/PLIST.nosound
.endif

USE_IMAKE=	yes
MAN1=		emiclock.1

LANGRES=	resources/R6/EUC/EmiClock.ad
LANGDIR=	$(X11BASE)/lib/X11/ja_JP.EUC/app-defaults
EMICLOCKDIR=	$(X11BASE)/lib/X11/EmiClock
COPYRIGHTS=	COPYRIGHT COPYRIGHT.en

pre-install:
	@if [ ! -d $(EMICLOCKDIR) ] ; then ${MKDIR} $(EMICLOCKDIR); fi
	@if [ ! -d $(LANGDIR) ] ; then ${MKDIR} $(LANGDIR); fi
	cd $(WRKSRC); install -c -m 0444 $(LANGRES) $(LANGDIR)/EmiClock
	cd $(WRKSRC); install -c -m 0444 $(COPYRIGHTS) $(EMICLOCKDIR)
#	cd $(WRKSRC); make install.man

.include <bsd.port.mk>