openbsd-ports/education/gtypist/Makefile
naddy a1b9fab583 Update to 2.9.2:
Fixes a collision between Unicode 0x107 (c with acute) and KEY_BACKSPACE
2012-12-18 15:21:33 +00:00

38 lines
883 B
Makefile

# $OpenBSD: Makefile,v 1.26 2012/12/18 15:21:33 naddy Exp $
COMMENT= interactive typing tutor
DISTNAME= gtypist-2.9.2
CATEGORIES= education
HOMEPAGE= http://www.gnu.org/software/gtypist/
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
# GPLv3+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_GNU:=gtypist/}
WANTLIB= c ncursesw
MODULES= devel/gettext
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${WRKDIR}/include" EMACS=no
MAKE_FLAGS= 'gtypist_LDADD=$$(LTLIBINTL)'
# wide curses header expected at <ncursesw/ncurses.h>
pre-configure:
mkdir ${WRKDIR}/include
ln -s /usr/include ${WRKDIR}/include/ncursesw
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/emacs/site-lisp
${INSTALL_DATA} ${WRKSRC}/tools/gtypist-mode.el \
${PREFIX}/share/emacs/site-lisp
.include <bsd.port.mk>