Annotation of pkgsrc/editors/TeXmacs/Makefile, Revision 1.160
1.160 ! wiz 1: # $NetBSD: Makefile,v 1.159 2023/04/19 08:09:48 adam Exp $
1.111 wiz 2: #
3: # changelog at http://www.texmacs.org/tmweb/about/changes.en.html
1.1 rh 4:
1.138 mef 5: DISTNAME= TeXmacs-1.99.13-src
1.54 ghen 6: PKGNAME= ${DISTNAME:S/-src//}
1.160 ! wiz 7: PKGREVISION= 21
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.138 mef 23: WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
1.111 wiz 24:
1.101 wiz 25: REPLACE_PYTHON+= plugins/mathematica/bin/realpath.py
1.27 recht 26:
1.136 rillig 27: REPLACE_BASH+= configure
28: REPLACE_BASH+= cmake/CreateBundle.sh.in
1.129 kamil 29: REPLACE_BASH+= plugins/dratex/bin/tm_dratex
30: REPLACE_BASH+= plugins/eukleides/bin/tm_eukleides
31: REPLACE_BASH+= plugins/eukleides/bin/tm_eukleides.old
32: REPLACE_BASH+= plugins/mupad/bin/tm_mupad_help
33: REPLACE_BASH+= plugins/texgraph/bin/tm_texgraph
34:
35: REPLACE_PERL+= plugins/feynmf/bin/bbox_add.pl
36:
37: SUBST_CLASSES+= guile
38: SUBST_STAGE.guile= pre-configure
39: SUBST_FILES.guile= cmake/FindGuile.cmake
40: SUBST_VARS.guile= PREFIX
1.113 wiz 41:
1.138 mef 42: SUBST_CLASSES+= bash
1.111 wiz 43: SUBST_SED.bash+= -e "s,/bin/bash,${PREFIX}/bin/bash,"
1.129 kamil 44: SUBST_FILES.bash+= src/Texmacs/Texmacs/texmacs.cpp
1.111 wiz 45: SUBST_MESSAGE.bash= Fixing hardcoded bash path.
46: SUBST_STAGE.bash= pre-configure
47:
1.129 kamil 48: LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/guile/1.8/lib/
1.111 wiz 49:
1.129 kamil 50: # do not install cmake files
1.111 wiz 51: post-install:
1.129 kamil 52: ${FIND} ${DESTDIR} -name cmake_install.cmake -type f | ${XARGS} ${RM} -f
53: ${FIND} ${DESTDIR} -name CMakeFiles -type d | ${XARGS} ${RM} -rf
1.65 joerg 54:
1.25 recht 55: .include "../../converters/libiconv/buildlink3.mk"
1.108 joerg 56: .include "../../databases/shared-mime-info/mimedb.mk"
1.25 recht 57: .include "../../graphics/freetype2/buildlink3.mk"
1.108 joerg 58: .include "../../graphics/gnome-icon-theme/buildlink3.mk"
1.149 gdt 59: # Building with guile20 almost succeeds.
60: # Building with guile22 fails (apparent use of withdrawn interfaces).
1.150 wiz 61: .include "../../lang/guile18/buildlink3.mk"
1.29 adam 62: .include "../../lang/python/application.mk"
1.107 joerg 63: .include "../../print/ghostscript/buildlink3.mk"
1.129 kamil 64: .include "../../x11/qt5-qtbase/buildlink3.mk"
1.1 rh 65: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>