summaryrefslogtreecommitdiff
path: root/databases/postgresql-pllua/Makefile
blob: 0cd22ad6b704917c8e3d4d285100fe1d564871ce (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
# New Ports collection makefile for:  postgresql-pllua
# Date created:    27 Feb 2008
# Whom:            sunghyuk
#
# $FreeBSD$
#

PORTNAME=	pllua
PORTVERSION=	0.3.1
CATEGORIES=	databases
MASTER_SITES=	http://pgfoundry.org/frs/download.php/1722/
PKGNAMEPREFIX=	postgresql-

MAINTAINER=	sunghyuk@gmail.com
COMMENT=	PL/Lua procedural language for PostgreSQL database

USE_PGSQL=	yes
USE_GMAKE=	yes
USE_LUA=	5.1+

SUB_FILES=	pkg-message
PKGMESSAGE=	${WRKSRC}/pkg-message

post-patch:
	@${REINPLACE_CMD} -e 's|%LUA_INC%|${LUA_INCDIR}|g' \
			-e 's|%LUA_LIB%|${LUA_LIBDIR}|g' \
			${WRKSRC}/Makefile
post-install:
	@${ECHO_MSG} ''
	@${CAT} ${PKGMESSAGE}
	@${ECHO_MSG} ''

.include <bsd.port.mk>