openbsd-ports/education/gtypist/Makefile

35 lines
805 B
Makefile
Raw Normal View History

2013-03-11 07:02:49 -04:00
# $OpenBSD: Makefile,v 1.27 2013/03/11 11:06:03 espie Exp $
2007-09-15 23:07:06 -04:00
COMMENT= interactive typing tutor
DISTNAME= gtypist-2.9.2
CATEGORIES= education
HOMEPAGE= http://www.gnu.org/software/gtypist/
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
2011-11-30 13:57:49 -05:00
# GPLv3+
PERMIT_PACKAGE_CDROM= Yes
2002-09-07 16:57:08 -04:00
MASTER_SITES= ${MASTER_SITE_GNU:=gtypist/}
WANTLIB= c ncursesw
2004-08-10 04:32:35 -04:00
MODULES= devel/gettext
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${WRKDIR}/include" EMACS=no
2011-10-04 16:02:56 -04:00
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
2002-09-07 16:57:08 -04:00
.include <bsd.port.mk>