aboutsummaryrefslogtreecommitdiffstats
path: root/devel/lua50-dfui/Makefile
blob: 340e3779d5fd566d080ea35e62c3a3f590e7fac6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# 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=  ${LUA_PKGNAMEPREFIX}
DISTNAME=   lua-dfui-0.1.20050901

MAINTAINER= andrew+ports@fubar.geek.nz
COMMENT=    DFUI binding for Lua 5.0.x

BUILD_DEPENDS=  ${NONEXISTENT}:${PORTSDIR}/devel/lua50-compat51:extract
LIB_DEPENDS=    dfui4.4:${PORTSDIR}/devel/libdfui

USE_BZIP2=  yes
USE_LUA=    5.0
LUA_COMPS=  compat51 posix
WRKSRC=     ${WRKDIR}/lua-dfui-${PORTVERSION}

COMPAT_SRC= `(cd ${PORTSDIR}/devel/lua50-compat51 && ${MAKE} -V WRKSRC)`
MAKE_ENV=   COMPAT="${COMPAT_SRC}"

PLIST_FILES=    %%LUA_MODLIBDIR%%/ldfui.so \
        %%LUA_MODSHAREDIR%%/dfui.lua

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/ldfui.so ${LUA_MODLIBDIR}
    ${INSTALL_DATA} ${WRKSRC}/dfui.lua ${LUA_MODSHAREDIR}

.include <bsd.port.mk>