Merge from vendor branch TNF:
[pkgsrc.git] / misc / dt / Makefile
1 # $NetBSD: Makefile,v 1.4 1999/07/06 17:30:21 ender Exp $
2 #
3
4 DISTNAME=       dt-1.1.7
5 WRKSRC=         ${WRKDIR}/dt
6 CATEGORIES=     misc
7 MASTER_SITES=   ${MASTER_SITE_LOCAL}
8
9 MAINTAINER=     fb@enteract.com
10
11 .BEGIN:
12 .if (${MACHINE} != "mac68k") && (${MACHINE} != "macppc")
13 IGNORE=         "is only useful for ports that have the adb and grf devices"
14 .endif
15
16 MIRROR_DISTFILE=no
17
18 ALL_TARGET=     depend all
19 DTDOCSDIR=      ${PREFIX}/share/doc/dt
20
21 .include "../../mk/bsd.prefs.mk"
22
23 # DT_LAYOUT specifies which keyboard layout to use.
24 # Currently supported keyboard layouts:
25 #
26 #       US      US
27 #       FI      Finnish
28 #       FR      French
29 #       GER     German
30 #       DV      Dvorak
31 #
32 DT_LAYOUT?=     FI
33
34 CPPFLAGS+=      -D${DT_LAYOUT}_LAYOUT
35 MAKE_ENV+=      CPPFLAGS="${CPPFLAGS}"
36
37 post-install:
38         ${INSTALL_DATA_DIR} ${DTDOCSDIR}
39         (cd ${WRKSRC}; ${INSTALL_DATA} README dt.html example.dtrc ${DTDOCSDIR})
40
41 .include "../../mk/bsd.pkg.mk"