From b6dae7e76622cfa0d0bf4af4399a94849c2b4ee6 Mon Sep 17 00:00:00 2001 From: acm Date: Mon, 16 Aug 2010 18:17:11 +0000 Subject: - New port: lang/fpc-lua Free Pascal interface to the lua interpreter PR: 146001 Submitted by: Christopher Key --- lang/Makefile | 1 + lang/fpc-lua/Makefile | 23 +++++++++++++++++++++++ lang/fpc-lua/files/patch-Makefile | 11 +++++++++++ lang/fpc-lua/pkg-plist | 15 +++++++++++++++ 4 files changed, 50 insertions(+) create mode 100644 lang/fpc-lua/Makefile create mode 100644 lang/fpc-lua/files/patch-Makefile create mode 100644 lang/fpc-lua/pkg-plist diff --git a/lang/Makefile b/lang/Makefile index ddd72571add9..ac747a18232a 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -74,6 +74,7 @@ SUBDIR += fpc SUBDIR += fpc-base SUBDIR += fpc-docs + SUBDIR += fpc-lua SUBDIR += fpc-tcl SUBDIR += fpc-units SUBDIR += fpc-utils diff --git a/lang/fpc-lua/Makefile b/lang/fpc-lua/Makefile new file mode 100644 index 000000000000..ed58c3be4371 --- /dev/null +++ b/lang/fpc-lua/Makefile @@ -0,0 +1,23 @@ +# New ports collection makefile for: fpc-lua +# Date created: 2010-04-22 +# Whom: Christopher Key +# +# $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" diff --git a/lang/fpc-lua/files/patch-Makefile b/lang/fpc-lua/files/patch-Makefile new file mode 100644 index 000000000000..8cae476ab648 --- /dev/null +++ b/lang/fpc-lua/files/patch-Makefile @@ -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 diff --git a/lang/fpc-lua/pkg-plist b/lang/fpc-lua/pkg-plist new file mode 100644 index 000000000000..5bb61832c17d --- /dev/null +++ b/lang/fpc-lua/pkg-plist @@ -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 -- cgit