Annotation of pkgsrc/editors/TeXmacs/Makefile, Revision 1.133
1.133 ! adam 1: # $NetBSD: Makefile,v 1.132 2020/03/10 22:09:40 wiz Exp $
1.111 wiz 2: #
3: # changelog at http://www.texmacs.org/tmweb/about/changes.en.html
1.1 rh 4:
1.129 kamil 5: DISTNAME= TeXmacs-1.99.11-src
1.54 ghen 6: PKGNAME= ${DISTNAME:S/-src//}
1.133 ! adam 7: PKGREVISION= 4
1.54 ghen 8: CATEGORIES= editors
1.106 ryoon 9: MASTER_SITES= ftp://ftp.texmacs.org/pub/TeXmacs/tmftp/source/
10: MASTER_SITES+= http://www.texmacs.org/Download/ftp/tmftp/source/
1.54 ghen 11:
1.74 ghen 12: MAINTAINER= pkgsrc-users@NetBSD.org
1.54 ghen 13: HOMEPAGE= http://www.texmacs.org/
14: COMMENT= GNU TeXmacs (free scientific text editor)
1.1 rh 15:
1.111 wiz 16: DEPENDS+= ps2pkm>=1.5:../../fonts/ps2pkm
17:
1.129 kamil 18: #BUILD_TARGET= TEXMACS
1.1 rh 19:
1.129 kamil 20: USE_CMAKE= yes
1.111 wiz 21: USE_TOOLS+= gmake perl:run pkg-config bash
1.29 adam 22: USE_LANGUAGES= c c++
1.111 wiz 23:
1.106 ryoon 24: REPLACE_PYTHON= plugins/python/bin/tm_python
1.101 wiz 25: REPLACE_PYTHON+= plugins/sage/bin/tm_sage
26: REPLACE_PYTHON+= plugins/mathematica/bin/realpath.py
1.27 recht 27:
1.129 kamil 28: REPLACE_BASH+= plugins/dratex/bin/tm_dratex
29: REPLACE_BASH+= plugins/eukleides/bin/tm_eukleides
30: REPLACE_BASH+= plugins/eukleides/bin/tm_eukleides.old
31: REPLACE_BASH+= plugins/mupad/bin/tm_mupad_help
32: REPLACE_BASH+= plugins/texgraph/bin/tm_texgraph
33:
34: REPLACE_PERL+= plugins/feynmf/bin/bbox_add.pl
35:
1.27 recht 36: SUBST_CLASSES+= init
1.119 jperkin 37: SUBST_STAGE.init= pre-configure
1.27 recht 38: SUBST_FILES.init= plugins/python/progs/init-python.scm
1.125 rillig 39: SUBST_VARS.init= PYTHONBIN
1.27 recht 40:
1.129 kamil 41: SUBST_CLASSES+= guile
42: SUBST_STAGE.guile= pre-configure
43: SUBST_FILES.guile= cmake/FindGuile.cmake
44: SUBST_VARS.guile= PREFIX
1.113 wiz 45:
1.129 kamil 46: SUBST_CLASSES+= bash
1.111 wiz 47: SUBST_SED.bash+= -e "s,/bin/bash,${PREFIX}/bin/bash,"
1.129 kamil 48: SUBST_FILES.bash+= src/Texmacs/Texmacs/texmacs.cpp
1.111 wiz 49: SUBST_MESSAGE.bash= Fixing hardcoded bash path.
50: SUBST_STAGE.bash= pre-configure
51:
1.129 kamil 52: LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/guile/1.8/lib/
1.111 wiz 53:
1.129 kamil 54: # do not install cmake files
1.111 wiz 55: post-install:
1.129 kamil 56: ${FIND} ${DESTDIR} -name cmake_install.cmake -type f | ${XARGS} ${RM} -f
57: ${FIND} ${DESTDIR} -name CMakeFiles -type d | ${XARGS} ${RM} -rf
1.65 joerg 58:
1.25 recht 59: .include "../../converters/libiconv/buildlink3.mk"
1.108 joerg 60: .include "../../databases/shared-mime-info/mimedb.mk"
1.25 recht 61: .include "../../graphics/freetype2/buildlink3.mk"
1.108 joerg 62: .include "../../graphics/gnome-icon-theme/buildlink3.mk"
1.25 recht 63: .include "../../lang/guile/buildlink3.mk"
1.29 adam 64: .include "../../lang/python/application.mk"
1.107 joerg 65: .include "../../print/ghostscript/buildlink3.mk"
1.129 kamil 66: .include "../../x11/qt5-qtbase/buildlink3.mk"
1.1 rh 67: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>