diff options
author | Philip Paeps <philip@FreeBSD.org> | 2006-04-23 09:31:12 +0000 |
---|---|---|
committer | Philip Paeps <philip@FreeBSD.org> | 2006-04-23 09:31:12 +0000 |
commit | 35249a36fecbfbb24ceb2200be20f9f6da6a02f3 (patch) | |
tree | 0e598e8ab0b04d22a586d9ed47f6cd194e29fa45 /devel/lua50-dfui | |
parent | 2e44b3e65c9c5ca39f58f6cdda4a0df4481e539e (diff) | |
download | ports-35249a36fecbfbb24ceb2200be20f9f6da6a02f3.tar.gz ports-35249a36fecbfbb24ceb2200be20f9f6da6a02f3.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>
Notes
Notes:
svn path=/head/; revision=160204
Diffstat (limited to 'devel/lua50-dfui')
-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 |
5 files changed, 79 insertions, 0 deletions
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 |