# New ports collection makefile for: nspostgres
# Date created: 	30 January 2001
# Whom:			jkoshy
#
# $FreeBSD: ports/www/nspostgres/Makefile,v 1.3 2001/03/29 03:48:13 jkoshy Exp $
#

PORTNAME=	nspostgres
PORTVERSION=	3.0
CATEGORIES=	www databases
MASTER_SITES=	ftp://ftp.aolserver.com/pub/contrib/
DISTNAME=	nspostgres3_0

MAINTAINER=	jkoshy@freebsd.org

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

WRKSRC=		${WRKDIR}/nspostgres

USE_GMAKE=	yes
MAKE_ENV+=	POSTGRES=${PREFIX}/pgsql BUILDPREFIX=${PREFIX}

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

.include <bsd.port.mk>
