diff options
author | acm <acm@FreeBSD.org> | 2010-08-17 02:17:11 +0800 |
---|---|---|
committer | acm <acm@FreeBSD.org> | 2010-08-17 02:17:11 +0800 |
commit | b6dae7e76622cfa0d0bf4af4399a94849c2b4ee6 (patch) | |
tree | e4a3e2e48756ebe632fc92c96e1de784af7a8b4a | |
parent | de18ad640079536fece31f62d46076788c2f29fc (diff) | |
download | freebsd-ports-gnome-b6dae7e76622cfa0d0bf4af4399a94849c2b4ee6.tar.gz freebsd-ports-gnome-b6dae7e76622cfa0d0bf4af4399a94849c2b4ee6.tar.zst freebsd-ports-gnome-b6dae7e76622cfa0d0bf4af4399a94849c2b4ee6.zip |
- New port: lang/fpc-lua
Free Pascal interface to the lua interpreter
PR: 146001
Submitted by: Christopher Key <cjk32 _ at cam.ac.uk>
-rw-r--r-- | lang/Makefile | 1 | ||||
-rw-r--r-- | lang/fpc-lua/Makefile | 23 | ||||
-rw-r--r-- | lang/fpc-lua/files/patch-Makefile | 11 | ||||
-rw-r--r-- | lang/fpc-lua/pkg-plist | 15 |
4 files changed, 50 insertions, 0 deletions
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 <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" 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 |