View | Details | Raw Unified | Return to bug 202529
Collapse All | Expand All

(-)Makefile (-18 / +15 lines)
Lines 16-29 Link Here
16
COMMENT=	C compiler for the TI89, 92, and 92+ calculators
16
COMMENT=	C compiler for the TI89, 92, and 92+ calculators
17
17
18
USE_GCC=	any
18
USE_GCC=	any
19
USES=		bison tar:bzip2 gmake
19
USES=		bison gmake tar:bzip2
20
NO_WRKSUBDIR=	yes
20
NO_WRKSUBDIR=	yes
21
SUB_FILES=	pkg-message
21
SUB_FILES=	pkg-message
22
22
23
OPTIONS_DEFINE=	DOCS EXAMPLES
23
OPTIONS_DEFINE=	DOCS EXAMPLES
24
24
25
.include <bsd.port.options.mk>
26
27
do-extract:
25
do-extract:
28
	@${MKDIR} ${WRKSRC}
26
	@${MKDIR} ${WRKSRC}
29
	@${MKDIR} ${WRKSRC}/tigcc
27
	@${MKDIR} ${WRKSRC}/tigcc
Lines 89-119 Link Here
89
	@${MKDIR} ${STAGEDIR}${PREFIX}/tigcc/bin
87
	@${MKDIR} ${STAGEDIR}${PREFIX}/tigcc/bin
90
88
91
	@${ECHO} Installing GNU AS
89
	@${ECHO} Installing GNU AS
92
	@${INSTALL_PROGRAM} ${WRKSRC}/gnu/binutils_build/gas/as-new ${STAGEDIR}${PREFIX}/tigcc/bin/as
90
	${INSTALL_PROGRAM} ${WRKSRC}/gnu/binutils_build/gas/as-new ${STAGEDIR}${PREFIX}/tigcc/bin/as
93
91
94
	@${ECHO} Installing the GNU C Compiler
92
	@${ECHO} Installing the GNU C Compiler
95
	@${INSTALL_PROGRAM} ${WRKSRC}/gnu/gcc_build/gcc/cc1 ${STAGEDIR}${PREFIX}/tigcc/bin/cc1
93
	${INSTALL_PROGRAM} ${WRKSRC}/gnu/gcc_build/gcc/cc1 ${STAGEDIR}${PREFIX}/tigcc/bin/cc1
96
	@${INSTALL_PROGRAM} ${WRKSRC}/gnu/gcc_build/gcc/xgcc ${STAGEDIR}${PREFIX}/tigcc/bin/gcc
94
	${INSTALL_PROGRAM} ${WRKSRC}/gnu/gcc_build/gcc/xgcc ${STAGEDIR}${PREFIX}/tigcc/bin/gcc
97
95
98
	@${ECHO} Installing A68K
96
	@${ECHO} Installing A68K
99
	@${INSTALL_PROGRAM} ${WRKSRC}/tigcc/sources/a68k/A68k ${STAGEDIR}${PREFIX}/tigcc/bin/a68k
97
	${INSTALL_PROGRAM} ${WRKSRC}/tigcc/sources/a68k/A68k ${STAGEDIR}${PREFIX}/tigcc/bin/a68k
100
98
101
	@${ECHO} Installing LD-TIGCC
99
	@${ECHO} Installing LD-TIGCC
102
	@${INSTALL_PROGRAM} ${WRKSRC}/tigcc/sources/ld-tigcc/ld-tigcc ${STAGEDIR}${PREFIX}/tigcc/bin/ld-tigcc
100
	${INSTALL_PROGRAM} ${WRKSRC}/tigcc/sources/ld-tigcc/ld-tigcc ${STAGEDIR}${PREFIX}/tigcc/bin/ld-tigcc
103
	@${INSTALL_PROGRAM} ${WRKSRC}/tigcc/sources/ld-tigcc/ar-tigcc ${STAGEDIR}${PREFIX}/tigcc/bin/ar-tigcc
101
	${INSTALL_PROGRAM} ${WRKSRC}/tigcc/sources/ld-tigcc/ar-tigcc ${STAGEDIR}${PREFIX}/tigcc/bin/ar-tigcc
104
102
105
	@${ECHO} Installing PATCHER
103
	@${ECHO} Installing PATCHER
106
	@${INSTALL_PROGRAM} ${WRKSRC}/tigcc/sources/patcher/src/patcher ${STAGEDIR}${PREFIX}/tigcc/bin/patcher
104
	${INSTALL_PROGRAM} ${WRKSRC}/tigcc/sources/patcher/src/patcher ${STAGEDIR}${PREFIX}/tigcc/bin/patcher
107
105
108
	@${ECHO} Installing the ExePack support from the TIGCC Tools Suite
106
	@${ECHO} Installing the ExePack support from the TIGCC Tools Suite
109
	@${INSTALL_PROGRAM} ${WRKSRC}/tigcc/sources/ttpack/ttpack ${STAGEDIR}${PREFIX}/tigcc/bin/ttpack
107
	${INSTALL_PROGRAM} ${WRKSRC}/tigcc/sources/ttpack/ttpack ${STAGEDIR}${PREFIX}/tigcc/bin/ttpack
110
	@${INSTALL_PROGRAM} ${WRKSRC}/tigcc/sources/ttpack/ttbin2oth ${STAGEDIR}${PREFIX}/tigcc/bin/ttbin2oth
108
	${INSTALL_PROGRAM} ${WRKSRC}/tigcc/sources/ttpack/ttbin2oth ${STAGEDIR}${PREFIX}/tigcc/bin/ttbin2oth
111
109
112
	@${ECHO} Installing TIGCC
110
	@${ECHO} Installing TIGCC
113
	@${INSTALL_PROGRAM} ${WRKSRC}/tigcc/sources/tigcc/src/tigcc ${STAGEDIR}${PREFIX}/tigcc/bin/tigcc
111
	${INSTALL_PROGRAM} ${WRKSRC}/tigcc/sources/tigcc/src/tigcc ${STAGEDIR}${PREFIX}/tigcc/bin/tigcc
114
112
115
	@${ECHO} Installing TPRBUILDER
113
	@${ECHO} Installing TPRBUILDER
116
	@${INSTALL_PROGRAM} ${WRKSRC}/tigcc/sources/tprbuilder/src/tprbuilder ${STAGEDIR}${PREFIX}/tigcc/bin/tprbuilder
114
	${INSTALL_PROGRAM} ${WRKSRC}/tigcc/sources/tprbuilder/src/tprbuilder ${STAGEDIR}${PREFIX}/tigcc/bin/tprbuilder
117
115
118
	@${ECHO} Installing TIGCCLIB
116
	@${ECHO} Installing TIGCCLIB
119
	@${CP} -R ${WRKSRC}/tigcc/tigcclib/include ${STAGEDIR}${PREFIX}/tigcc/
117
	@${CP} -R ${WRKSRC}/tigcc/tigcclib/include ${STAGEDIR}${PREFIX}/tigcc/
Lines 120-126 Link Here
120
	@${LN} -s ./os.h ${STAGEDIR}${PREFIX}/tigcc/include/asm/OS.h
118
	@${LN} -s ./os.h ${STAGEDIR}${PREFIX}/tigcc/include/asm/OS.h
121
	@${CP} -R ${WRKSRC}/tigcc/tigcclib/lib ${STAGEDIR}${PREFIX}/tigcc/
119
	@${CP} -R ${WRKSRC}/tigcc/tigcclib/lib ${STAGEDIR}${PREFIX}/tigcc/
122
120
123
.if ${PORT_OPTIONS:MDOCS}
121
do-install-DOCS-on:
124
	@${ECHO} Installing the TIGCC documentation
122
	@${ECHO} Installing the TIGCC documentation
125
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
123
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
126
	@cd ${WRKSRC}/tigcc; ${CP} AUTHORS BUGS CHANGELOG COPYING DIRECTORIES HOWTO INSTALL README README.linux README.osX ${STAGEDIR}${DOCSDIR}/
124
	@cd ${WRKSRC}/tigcc; ${CP} AUTHORS BUGS CHANGELOG COPYING DIRECTORIES HOWTO INSTALL README README.linux README.osX ${STAGEDIR}${DOCSDIR}/
Lines 135-144 Link Here
135
	@${CP} -R ${WRKSRC}/tigcc/tigcclib/doc/html ${STAGEDIR}${DOCSDIR}/
133
	@${CP} -R ${WRKSRC}/tigcc/tigcclib/doc/html ${STAGEDIR}${DOCSDIR}/
136
	@${LN} -s ./html ${STAGEDIR}${DOCSDIR}/tigcclib
134
	@${LN} -s ./html ${STAGEDIR}${DOCSDIR}/tigcclib
137
	@${CP} ${WRKSRC}/tigcc/tigcclib/doc/converter/tigccdoc ${STAGEDIR}${PREFIX}/tigcc/bin/
135
	@${CP} ${WRKSRC}/tigcc/tigcclib/doc/converter/tigccdoc ${STAGEDIR}${PREFIX}/tigcc/bin/
138
.endif
136
139
.if ${PORT_OPTIONS:MEXAMPLES}
137
do-install-EXAMPLES-on:
140
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
138
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
141
	@${CP} ${WRKSRC}/tigcc/tigcclib/examples/* ${STAGEDIR}${EXAMPLESDIR}/
139
	@${CP} ${WRKSRC}/tigcc/tigcclib/examples/* ${STAGEDIR}${EXAMPLESDIR}/
142
.endif
143
140
144
.include <bsd.port.mk>
141
.include <bsd.port.mk>
(-)files/patch-gnu-gcc-4.1-20060728-gcc-Makefile.in (-4 / +3 lines)
Lines 1-7 Link Here
1
--- Makefile.in	Wed Jun 21 17:36:10 2006
1
--- gnu/gcc-4.1-20060728/gcc/Makefile.in.orig	2006-06-21 15:36:10 UTC
2
+++ gnu/gcc-4.1-20060728/gcc/Makefile.in	Sun Aug 13 19:34:42 2006
2
+++ gnu/gcc-4.1-20060728/gcc/Makefile.in
3
tigcc/sources/gcc/gas-2.16-tigcc-patch.di
3
@@ -1324,7 +1324,7 @@ LIB2ADD = $(LIB2FUNCS_EXTRA)
4
@@ -1324,7 +1324,7 @@
5
 LIB2ADD_ST = $(LIB2FUNCS_STATIC_EXTRA)
4
 LIB2ADD_ST = $(LIB2FUNCS_STATIC_EXTRA)
6
 
5
 
7
 libgcc.mk: config.status Makefile mklibgcc $(LIB2ADD) $(LIB2ADD_ST) specs \
6
 libgcc.mk: config.status Makefile mklibgcc $(LIB2ADD) $(LIB2ADD_ST) specs \
(-)files/patch-tigcc-sources-gcc-gas-2.16-tigcc-patch.diff (-3 / +3 lines)
Lines 1-6 Link Here
1
--- tigcc_src/sources/gcc/gas-2.16-tigcc-patch.diff	Sun Jul 31 18:48:04 2005
1
--- tigcc/sources/gcc/gas-2.16-tigcc-patch.diff.orig	2005-07-31 16:44:47 UTC
2
+++ tigcc/sources/gcc/gas-2.16-tigcc-patch.diff	Mon Jun  5 14:19:37 2006
2
+++ tigcc/sources/gcc/gas-2.16-tigcc-patch.diff
3
@@ -823,7 +823,7 @@
3
@@ -823,7 +823,7 @@ diff -Naur binutils-2.16.1.orig/gas/conf
4
  
4
  
5
  
5
  
6
 -                              ac_config_files="$ac_config_files Makefile doc/Makefile po/Makefile.in:po/Make-in"
6
 -                              ac_config_files="$ac_config_files Makefile doc/Makefile po/Makefile.in:po/Make-in"

Return to bug 202529