summaryrefslogtreecommitdiff
path: root/misc/dt/Makefile
blob: e0affe09b54352d4edad6fea84e403868d6170d9 (plain)
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
# $NetBSD: Makefile,v 1.7 2000/08/21 21:01:32 hubertf Exp $
#

DISTNAME=	dt-1.1.7
WRKSRC=		${WRKDIR}/dt
CATEGORIES=	misc
MASTER_SITES=   ${MASTER_SITE_LOCAL}

MAINTAINER=	fb@enteract.com

NO_SRC_ON_FTP=		Already in MASTER_SITE_LOCAL

.BEGIN:
.if (${MACHINE} != "mac68k") && (${MACHINE} != "macppc")
IGNORE=		"${PKGNAME} is only useful for ports that have the adb and grf devices"
.endif

ALL_TARGET=	depend all
DTDOCSDIR=	${PREFIX}/share/doc/dt

.include "../../mk/bsd.prefs.mk"

# DT_LAYOUT specifies which keyboard layout to use.
# Currently supported keyboard layouts:
#
#	US	US
#	FI	Finnish
#	FR	French
#	GER	German
#	DV	Dvorak
#
DT_LAYOUT?=	FI

CPPFLAGS+=	-D${DT_LAYOUT}_LAYOUT
MAKE_ENV+=	CPPFLAGS="${CPPFLAGS}"

post-install:
	${INSTALL_DATA_DIR} ${DTDOCSDIR}
	(cd ${WRKSRC}; ${INSTALL_DATA} README dt.html example.dtrc ${DTDOCSDIR})

.include "../../mk/bsd.pkg.mk"