2013-03-11 07:02:49 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.27 2013/03/11 11:06:03 espie Exp $
|
2001-08-01 16:41:07 -04:00
|
|
|
|
2007-09-15 23:07:06 -04:00
|
|
|
COMMENT= interactive typing tutor
|
2001-08-01 16:41:07 -04:00
|
|
|
|
2012-12-18 10:21:33 -05:00
|
|
|
DISTNAME= gtypist-2.9.2
|
2001-08-01 16:41:07 -04:00
|
|
|
CATEGORIES= education
|
|
|
|
HOMEPAGE= http://www.gnu.org/software/gtypist/
|
|
|
|
|
|
|
|
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
|
|
|
|
|
2011-11-30 13:57:49 -05:00
|
|
|
# GPLv3+
|
2001-08-01 16:41:07 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
2002-09-07 16:57:08 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=gtypist/}
|
2001-08-01 16:41:07 -04:00
|
|
|
|
2011-11-06 15:09:25 -05:00
|
|
|
WANTLIB= c ncursesw
|
2004-08-10 04:32:35 -04:00
|
|
|
MODULES= devel/gettext
|
2001-08-01 16:41:07 -04:00
|
|
|
|
2003-10-03 16:51:39 -04:00
|
|
|
CONFIGURE_STYLE=gnu
|
2011-11-06 15:09:25 -05:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${WRKDIR}/include" EMACS=no
|
2008-05-28 12:09:06 -04:00
|
|
|
|
2011-10-04 16:02:56 -04:00
|
|
|
MAKE_FLAGS= 'gtypist_LDADD=$$(LTLIBINTL)'
|
|
|
|
|
2011-11-06 15:09:25 -05:00
|
|
|
# wide curses header expected at <ncursesw/ncurses.h>
|
|
|
|
pre-configure:
|
|
|
|
mkdir ${WRKDIR}/include
|
|
|
|
ln -s /usr/include ${WRKDIR}/include/ncursesw
|
|
|
|
|
2008-05-28 12:09:06 -04:00
|
|
|
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
|
|
|
|
2001-08-01 16:41:07 -04:00
|
|
|
.include <bsd.port.mk>
|