blob: 6f5b0b4bab43a15418f0896e9bf7c7f36fa27959 (
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
|
# $NetBSD: Makefile,v 1.9 2012/04/30 04:02:34 dholland Exp $
#
DISTNAME= hanzim-1.3
PKGREVISION= 2
CATEGORIES= misc
MASTER_SITES= http://kamares.ucsd.edu/~arobert/Files/Chinese/
EXTRACT_SUFX= .tgz
MAINTAINER= rxg@NetBSD.org
HOMEPAGE= http://kamares.ucsd.edu/~arobert/hanzim.html
COMMENT= Chinese character learning-aid program
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/Hanzim
BUILD_TARGET= hanzim
# XXX This is presumably needed during installation according to revision
# XXX 1.1 of this Makefile, but needs to be tested.
# XXX
#MAKE_ENV+= SHELL=${SH:Q} LC_CTYPE=en_US.ISO8859-1
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
.include "../../lang/tcl/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/tk/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
pre-install:
@if ${TEST} -z "$$DISPLAY"; then \
${ERROR_MSG} "${PKGNAME} runs a binary during installation"; \
${ERROR_MSG} "that requires an Xserver to be running."; \
exit 1; \
fi
.include "../../mk/bsd.pkg.mk"
|