Makefile 911 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # $OpenBSD: Makefile,v 1.32 2016/04/26 17:47:36 naddy Exp $
  2. COMMENT= interactive typing tutor
  3. DISTNAME= gtypist-2.9.5
  4. REVISION= 0
  5. CATEGORIES= education
  6. HOMEPAGE= https://www.gnu.org/software/gtypist/
  7. MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
  8. # GPLv3+
  9. PERMIT_PACKAGE_CDROM= Yes
  10. MASTER_SITES= ${MASTER_SITE_GNU:=gtypist/}
  11. EXTRACT_SUFX= .tar.xz
  12. WANTLIB= c iconv intl ncursesw
  13. LIB_DEPENDS= devel/gettext
  14. CONFIGURE_STYLE=gnu
  15. CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${WRKDIR}/include" \
  16. LDFLAGS="-L${LOCALBASE}/lib" EMACS=no
  17. MAKE_FLAGS= 'gtypist_LDADD=$$(LTLIBINTL)'
  18. # wide curses header expected at <ncursesw/ncurses.h>
  19. pre-configure:
  20. mkdir ${WRKDIR}/include
  21. ln -s /usr/include ${WRKDIR}/include/ncursesw
  22. post-install:
  23. ${INSTALL_DATA_DIR} ${PREFIX}/share/emacs/site-lisp
  24. ${INSTALL_DATA} ${WRKSRC}/tools/gtypist-mode.el \
  25. ${PREFIX}/share/emacs/site-lisp
  26. .include <bsd.port.mk>