aboutsummaryrefslogtreecommitdiffstats
path: root/www/nspostgres/Makefile
blob: 1f4a736cb7b968eda238d72905e3adf4310a8798 (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: nspostgres
# Date created:     30 January 2001
# Whom:         jkoshy
#
# $FreeBSD$
#

PORTNAME=   nspostgres
PORTVERSION=    3.0
PORTREVISION=   2
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
RUN_DEPENDS=    ${BUILD_DEPENDS}

USE_PGSQL=  yes

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>