aboutsummaryrefslogtreecommitdiffstats
path: root/www/nspostgres/Makefile
blob: 23428f5d7db3a64db3187164a776bd9eedc1bb14 (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
# 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

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>