35 lines
954 B
Makefile
35 lines
954 B
Makefile
# $NetBSD: Makefile,v 1.6 2007/08/17 22:38:01 joerg Exp $
|
|
#
|
|
|
|
DISTNAME= hanzim-1.3
|
|
PKGREVISION= 1
|
|
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
|
|
|
|
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
|
|
|
|
.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"
|