blob: eada0e4700b2a1dcb4dac126f9844bfaab7d9274 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# $NetBSD: Makefile,v 1.27 2022/06/28 11:33:44 wiz Exp $
DISTNAME= tmake-1.13
PKGREVISION= 10
CATEGORIES= devel
MASTER_SITES= # ftp://ftp.qtsoftware.com/freebies/tmake/
MAINTAINER= pkgsrc-users@NetBSD.org
#HOMEPAGE= http://www.qtsoftware.com/developer/downloads/qt/freebies/
COMMENT= Cross-platform Makefile Tool
USE_TOOLS+= perl:run
TMAKEPATH= ${PREFIX}/lib/tmake/netbsd-g++
GLBASE= ${X11BASE}
INSTALLATION_DIRS= bin
SUBST_CLASSES+= tmake
SUBST_STAGE.tmake= do-build
SUBST_FILES.tmake= bin/tmake
SUBST_VARS.tmake= TMAKEPATH
SUBST_CLASSES+= tmakeconf
SUBST_STAGE.tmakeconf= do-build
SUBST_FILES.tmakeconf= lib/netbsd-g++/tmake.conf
SUBST_VARS.tmakeconf= LOCALBASE
SUBST_VARS.tmakeconf+= X11BASE
SUBST_VARS.tmakeconf+= GLBASE
REPLACE_PERL+= bin/tmake bin/progen
# Nothing but the substitutions above.
do-build:
@${DO_NADA}
# avoid installing .orig files
pre-install:
${RM} -f ${WRKSRC}/lib/netbsd-g++/*.orig
${RM} -f ${WRKSRC}/lib/unix/*.orig
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/bin/progen ${DESTDIR}${PREFIX}/bin/progen
${INSTALL_SCRIPT} ${WRKSRC}/bin/tmake ${DESTDIR}${PREFIX}/bin/tmake
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/tmake
${INSTALL_DATA} ${WRKSRC}/doc/* ${DESTDIR}${PREFIX}/share/doc/tmake
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/tmake
${INSTALL_DATA} ${WRKSRC}/example/* ${DESTDIR}${PREFIX}/share/examples/tmake
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/tmake/netbsd-g++
${INSTALL_DATA} ${WRKSRC}/lib/netbsd-g++/* ${DESTDIR}${PREFIX}/lib/tmake/netbsd-g++
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/tmake/unix
${INSTALL_DATA} ${WRKSRC}/lib/unix/* ${DESTDIR}${PREFIX}/lib/tmake/unix
.include "../../mk/bsd.pkg.mk"
|