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

PORTNAME=   nspostgres
PORTVERSION=    3.0
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}

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

.include <bsd.port.mk>