1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

- New port: lang/fpc-lua

Free Pascal interface to the lua interpreter

PR:		146001
Submitted by:	Christopher Key <cjk32 _ at cam.ac.uk>
This commit is contained in:
Jose Alonso Cardenas Marquez 2010-08-16 18:17:11 +00:00
parent 50d6de20f4
commit c125347c7e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=259374
4 changed files with 50 additions and 0 deletions

View File

@ -74,6 +74,7 @@
SUBDIR += fpc
SUBDIR += fpc-base
SUBDIR += fpc-docs
SUBDIR += fpc-lua
SUBDIR += fpc-tcl
SUBDIR += fpc-units
SUBDIR += fpc-utils

23
lang/fpc-lua/Makefile Normal file
View File

@ -0,0 +1,23 @@
# New ports collection makefile for: fpc-lua
# Date created: 2010-04-22
# Whom: Christopher Key <cjk32@cam.ac.uk>
#
# $FreeBSD$
#
PORTREVISION= 0
CATEGORIES= lang
PKGNAMESUFFIX= -lua
MAINTAINER= acm@FreeBSD.org
COMMENT= Free Pascal interface to the lua interpreter
USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
OPTIONS= LUA "Install lua library" on
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,11 @@
--- packages/lua/Makefile 2010-04-22 22:04:10.000000000 +0100
+++ packages/lua/Makefile 2010-04-22 22:04:29.000000000 +0100
@@ -264,7 +264,7 @@
UNITSDIR:=$(wildcard $(FPCDIR)/units/$(OS_TARGET))
endif
PACKAGESDIR:=$(wildcard $(FPCDIR) $(FPCDIR)/packages $(FPCDIR)/packages/base $(FPCDIR)/packages/extra)
-override PACKAGE_NAME=bfd
+override PACKAGE_NAME=lua
override PACKAGE_VERSION=2.4.0
ifeq ($(FULL_TARGET),i386-linux)
override TARGET_UNITS+=lua lualib lauxlib

15
lang/fpc-lua/pkg-plist Normal file
View File

@ -0,0 +1,15 @@
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/lua/Package.fpc
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/lua/lua.ppu
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/lua/lualib.ppu
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/lua/lauxlib.ppu
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/lua/lua.o
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/lua/lualib.o
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/lua/lauxlib.o
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/lua/libplua.a
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/lua/libplualib.a
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/lua/libplauxlib.a
@dirrm lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/lua
@dirrmtry lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%
@dirrmtry lib/fpc/%%PORTVERSION%%/units
@dirrmtry lib/fpc/%%PORTVERSION%%
@dirrmtry lib/fpc