diff options
author | philip <philip@FreeBSD.org> | 2006-04-23 17:31:12 +0800 |
---|---|---|
committer | philip <philip@FreeBSD.org> | 2006-04-23 17:31:12 +0800 |
commit | 318b9d6211e6ba82a62e6d34d0dbaa7518a23596 (patch) | |
tree | 198a4555df3696c1d052f72e01de96877afa0dad /devel | |
parent | 2e69799748adbea1a23775b748561b4e36aa79b0 (diff) | |
download | freebsd-ports-gnome-318b9d6211e6ba82a62e6d34d0dbaa7518a23596.tar.gz freebsd-ports-gnome-318b9d6211e6ba82a62e6d34d0dbaa7518a23596.tar.zst freebsd-ports-gnome-318b9d6211e6ba82a62e6d34d0dbaa7518a23596.zip |
Add lua50-dfui 0.1.20050901, DFUI binding for Lua 5.0.x.
PR: ports/95991
Submitted by: Andrew Turner <andrew+ports@fubar.geek.nz>
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/lua50-dfui/Makefile | 38 | ||||
-rw-r--r-- | devel/lua50-dfui/distinfo | 3 | ||||
-rw-r--r-- | devel/lua50-dfui/files/patch-Makefile | 31 | ||||
-rw-r--r-- | devel/lua50-dfui/pkg-descr | 1 | ||||
-rw-r--r-- | devel/lua50-dfui/pkg-plist | 6 |
6 files changed, 80 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 9374a9cf12aa..749f6324681b 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -574,6 +574,7 @@ SUBDIR += lrmi SUBDIR += lua50-app SUBDIR += lua50-compat51 + SUBDIR += lua50-dfui SUBDIR += lua50-filename SUBDIR += lua50-posix SUBDIR += lua50-pty diff --git a/devel/lua50-dfui/Makefile b/devel/lua50-dfui/Makefile new file mode 100644 index 000000000000..fbf19ecc6f43 --- /dev/null +++ b/devel/lua50-dfui/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: lua50-dfui +# Date created: 18 April 2006 +# Whom: Andrew Turner <andrew+ports@fubar.geek.nz> +# +# $FreeBSD$ +# + +PORTNAME= dfui +PORTVERSION= 0.1.20050901 +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_LOCAL} +MASTER_SITE_SUBDIR= philip +PKGNAMEPREFIX= lua50- +DISTNAME= lua-dfui-0.1.20050901 + +MAINTAINER= andrew+ports@fubar.geek.nz +COMMENT= DFUI binding for Lua 5.0.x + +BUILD_DEPENDS= ${LOCALBASE}/include/lua.h:${PORTSDIR}/lang/lua \ + ${NONEXISTENT}:${PORTSDIR}/devel/lua50-compat51:extract +LIB_DEPENDS= dfui4.4:${PORTSDIR}/devel/libdfui +RUN_DEPENDS= ${LOCALBASE}/include/lua.h:${PORTSDIR}/lang/lua \ + ${LOCALBASE}/share/lua/5.0/compat-5.1.lua:${PORTSDIR}/devel/lua50-compat51 \ + ${LOCALBASE}/share/lua/5.0/posix.lua:${PORTSDIR}/devel/lua50-posix + +USE_BZIP2= yes +WRKSRC= ${WRKDIR}/lua-dfui-${PORTVERSION} + +COMPAT_SRC= `(cd ${PORTSDIR}/devel/lua50-compat51 && make -V WRKSRC)` +MAKE_ENV= COMPAT=${COMPAT_SRC} + +do-install: + ${MKDIR} ${PREFIX}/lib/lua/5.0 + ${INSTALL_PROGRAM} ${WRKSRC}/ldfui.so ${PREFIX}/lib/lua/5.0 + ${MKDIR} ${PREFIX}/share/lua/5.0 + ${INSTALL_DATA} ${WRKSRC}/dfui.lua ${PREFIX}/share/lua/5.0 + +.include <bsd.port.mk> diff --git a/devel/lua50-dfui/distinfo b/devel/lua50-dfui/distinfo new file mode 100644 index 000000000000..b0658c2c19b0 --- /dev/null +++ b/devel/lua50-dfui/distinfo @@ -0,0 +1,3 @@ +MD5 (lua-dfui-0.1.20050901.tar.bz2) = dc2cc7fdcd00bbdad027510f23097675 +SHA256 (lua-dfui-0.1.20050901.tar.bz2) = ee41592afc475cd5277bb835948c429c10a77b196b4ead82626dfb0a4003f75b +SIZE (lua-dfui-0.1.20050901.tar.bz2) = 8270 diff --git a/devel/lua50-dfui/files/patch-Makefile b/devel/lua50-dfui/files/patch-Makefile new file mode 100644 index 000000000000..6aea08024f70 --- /dev/null +++ b/devel/lua50-dfui/files/patch-Makefile @@ -0,0 +1,31 @@ +--- Makefile.orig Tue Apr 18 13:49:53 2006 ++++ Makefile Tue Apr 18 13:54:23 2006 +@@ -1,11 +1,6 @@ + # Makefile for luadfui. + # $Id: Makefile,v 1.13 2005/08/26 22:44:37 cpressey Exp $ + +-BASE?=../../.. +-include ${BASE}/Config +- +-LUA=../../../platform/lua +- + COMPAT?=../compat-5.1 + COMPATOBJ=${COMPAT}/compat-5.1.o + +@@ -13,12 +8,11 @@ + OBJS= common.o dfui.o progress.o + + CFLAGS+= ${WARNS} -fPIC +-CFLAGS+= -I${LUA}/include -I${COMPAT} -I../../libdfui +-CFLAGS+= -I/usr/local/include -I/usr/pkg/include ++CFLAGS+= -I${COMPAT} -I${PREFIX}/include/dfui4 ++CFLAGS+= -I${PREFIX}/include + CFLAGS+= ${EXTRA_CFLAGS} +-LDFLAGS+= -L../../libdfui -L../../libaura -L${LUA}/lib/ +-LDFLAGS+= -L/usr/local/lib -L/usr/pkg/lib +-LDFLAGS+= -ldfui -laura -lm -llua50 -llualib50 ++LDFLAGS+= -L${PREFIX}/lib ++LDFLAGS+= -ldfui4 -laura3 -lm -llua -llualib + + all: ${LIB} + diff --git a/devel/lua50-dfui/pkg-descr b/devel/lua50-dfui/pkg-descr new file mode 100644 index 000000000000..93f45075be89 --- /dev/null +++ b/devel/lua50-dfui/pkg-descr @@ -0,0 +1 @@ +Lua bindings for DFUI diff --git a/devel/lua50-dfui/pkg-plist b/devel/lua50-dfui/pkg-plist new file mode 100644 index 000000000000..3d7f51fde599 --- /dev/null +++ b/devel/lua50-dfui/pkg-plist @@ -0,0 +1,6 @@ +lib/lua/5.0/ldfui.so +share/lua/5.0/dfui.lua +@dirrmtry lib/lua/5.0 +@dirrmtry lib/lua +@dirrmtry share/lua/5.0 +@dirrmtry share/lua |