- New port: lang/fpc-pastoj
Pascal to javascript transpiler
This commit is contained in:
parent
2e18c1a284
commit
1fee5e3bee
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=556244
15
lang/fpc-pastojs/Makefile
Normal file
15
lang/fpc-pastojs/Makefile
Normal file
@ -0,0 +1,15 @@
|
||||
# $FreeBSD$
|
||||
|
||||
CATEGORIES= lang
|
||||
PKGNAMESUFFIX= -pastojs
|
||||
|
||||
COMMENT= Pascal to javascript transpiler
|
||||
|
||||
USES= fpc
|
||||
USE_FPC= fcl-base fcl-js fcl-json fcl-passrc fcl-res rtl-objpas
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../../lang/fpc
|
||||
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
|
||||
EXTRACTUNITDIR= ${WRKUNITDIR}
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
14
lang/fpc-pastojs/files/patch-packages-pastojs_fpmake.pp
Normal file
14
lang/fpc-pastojs/files/patch-packages-pastojs_fpmake.pp
Normal file
@ -0,0 +1,14 @@
|
||||
--- packages/pastojs/fpmake.pp 2020-10-04 00:18:21.474418000 -0500
|
||||
+++ packages/pastojs/fpmake.pp 2020-10-04 00:18:32.337561000 -0500
|
||||
@@ -57,6 +57,11 @@
|
||||
T:=P.Targets.AddUnit('pas2jspparser.pp');
|
||||
T:=P.Targets.AddUnit('pas2jsuseanalyzer.pp');
|
||||
T:=P.Targets.AddUnit('pas2jscompiler.pp');
|
||||
+ T:=P.Targets.AddUnit('pas2jsresstrfile.pp');
|
||||
+ T.ResourceStrings := True;
|
||||
+ T:=P.Targets.AddUnit('pas2jsresources.pp');
|
||||
+ T:=P.Targets.AddUnit('pas2jshtmlresources.pp');
|
||||
+ T:=P.Targets.AddUnit('pas2jsjsresources.pp');
|
||||
T:=P.Targets.AddUnit('pas2jsfscompiler.pp');
|
||||
T.Dependencies.AddUnit('pas2jscompiler');
|
||||
T:=P.Targets.AddUnit('pas2jspcucompiler.pp');
|
43
lang/fpc-pastojs/pkg-plist
Normal file
43
lang/fpc-pastojs/pkg-plist
Normal file
@ -0,0 +1,43 @@
|
||||
lib/fpc/%%PORTVERSION%%/fpmkinst/%%BUILDNAME%%/pastojs.fpm
|
||||
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pastojs/fppas2js.o
|
||||
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pastojs/fppas2js.ppu
|
||||
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pastojs/fppas2js.rsj
|
||||
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pastojs/fppjssrcmap.o
|
||||
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pastojs/fppjssrcmap.ppu
|
||||
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pastojs/pas2jscompiler.o
|
||||
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pastojs/pas2jscompiler.ppu
|
||||
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pastojs/pas2jscompilercfg.o
|
||||
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pastojs/pas2jscompilercfg.ppu
|
||||
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pastojs/pas2jscompilerpp.o
|
||||
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pastojs/pas2jscompilerpp.ppu
|
||||
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pastojs/pas2jsfilecache.o
|
||||
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pastojs/pas2jsfilecache.ppu
|
||||
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pastojs/pas2jsfiler.o
|
||||
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pastojs/pas2jsfiler.ppu
|
||||
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pastojs/pas2jsfileutils.o
|
||||
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pastojs/pas2jsfileutils.ppu
|
||||
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pastojs/pas2jsfs.o
|
||||
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pastojs/pas2jsfs.ppu
|
||||
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pastojs/pas2jsfscompiler.o
|
||||
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pastojs/pas2jsfscompiler.ppu
|
||||
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pastojs/pas2jshtmlresources.o
|
||||
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pastojs/pas2jshtmlresources.ppu
|
||||
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pastojs/pas2jsjsresources.o
|
||||
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pastojs/pas2jsjsresources.ppu
|
||||
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pastojs/pas2jslibcompiler.o
|
||||
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pastojs/pas2jslibcompiler.ppu
|
||||
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pastojs/pas2jslogger.o
|
||||
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pastojs/pas2jslogger.ppu
|
||||
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pastojs/pas2jspcucompiler.o
|
||||
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pastojs/pas2jspcucompiler.ppu
|
||||
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pastojs/pas2jspparser.o
|
||||
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pastojs/pas2jspparser.ppu
|
||||
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pastojs/pas2jsresources.o
|
||||
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pastojs/pas2jsresources.ppu
|
||||
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pastojs/pas2jsresstrfile.o
|
||||
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pastojs/pas2jsresstrfile.ppu
|
||||
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pastojs/pas2jsresstrfile.rsj
|
||||
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pastojs/pas2jsuseanalyzer.o
|
||||
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pastojs/pas2jsuseanalyzer.ppu
|
||||
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pastojs/pas2jsutils.o
|
||||
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pastojs/pas2jsutils.ppu
|
Loading…
Reference in New Issue
Block a user