aboutsummaryrefslogtreecommitdiff
path: root/www/nspostgres/Makefile
blob: 333d3ba69a07f5d076c0f82fe8232e4a76368248 (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
# New ports collection makefile for: nspostgres
# Date created: 	30 January 2001
# Whom:			jkoshy
#
# $FreeBSD$
#

PORTNAME=	nspostgres
PORTVERSION=	3.0
PORTREVISION=	1
CATEGORIES=	www databases
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	aolserver
DISTNAME=	nspostgres3_0

MAINTAINER=	jkoshy@freebsd.org
COMMENT=	A driver to access PostgreSQL databases from Aolserver

BUILD_DEPENDS=	${LOCALBASE}/aolserver/bin/nsd:${PORTSDIR}/www/aolserver \
		${LOCALBASE}/bin/postmaster:${PORTSDIR}/${POSTGRESQL_PORT}
RUN_DEPENDS=	${BUILD_DEPENDS}

POSTGRESQL_PORT?=	databases/postgresql7

WRKSRC=		${WRKDIR}/nspostgres

USE_GMAKE=	yes
MAKE_ENV+=	POSTGRES=${PREFIX} BUILDPREFIX=${PREFIX}
PLIST_FILES=	aolserver/bin/nspostgres.so

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/nspostgres.so ${PREFIX}/aolserver/bin

.include <bsd.port.mk>