2006-04-17 19:09:17 +02:00
|
|
|
# New ports collection makefile for: lua50-filename
|
|
|
|
# Date created: 17 April 2006
|
|
|
|
# Whom: Andrew Turner <andrew+ports@fubar.geek.nz>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2006-09-15 10:17:11 +02:00
|
|
|
PORTNAME= filename
|
2006-04-17 19:09:17 +02:00
|
|
|
PORTVERSION= 1.2
|
|
|
|
CATEGORIES= devel
|
2007-01-15 09:12:36 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= philip
|
2006-09-15 10:17:11 +02:00
|
|
|
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
|
2006-04-17 19:09:17 +02:00
|
|
|
DISTFILES= filename.lua?rev=${PORTVERSION}
|
2006-09-15 10:17:11 +02:00
|
|
|
EXTRACT_ONLY= #
|
2006-04-17 19:09:17 +02:00
|
|
|
|
2010-04-29 19:27:12 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2006-11-30 11:49:04 +01:00
|
|
|
COMMENT= Filename-manipulating functions for Lua 5
|
2006-04-17 19:09:17 +02:00
|
|
|
|
2006-11-30 11:49:04 +01:00
|
|
|
USE_LUA?= 5.1
|
2007-01-14 22:33:43 +01:00
|
|
|
LUA_COMPS= lua posix
|
2006-11-30 11:49:04 +01:00
|
|
|
.if ${USE_LUA} == 5.0
|
|
|
|
LUA_COMPS+= compat51
|
|
|
|
.endif
|
2006-04-17 19:09:17 +02:00
|
|
|
NO_BUILD= yes
|
2006-09-15 10:17:11 +02:00
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
|
|
|
|
PLIST_FILES= %%LUA_MODSHAREDIR%%/filename.lua
|
2006-04-17 19:09:17 +02:00
|
|
|
|
2006-11-30 11:49:04 +01:00
|
|
|
post-extract:
|
|
|
|
${CP} ${DISTDIR}/${DISTFILES} ${WRKDIR}/filename.lua
|
|
|
|
|
2006-04-17 19:09:17 +02:00
|
|
|
do-install:
|
2006-11-30 11:49:04 +01:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/filename.lua \
|
2006-09-15 10:17:11 +02:00
|
|
|
${LUA_MODSHAREDIR}/${DISTFILES:C/\?.*$//}
|
2006-04-17 19:09:17 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|