aboutsummaryrefslogtreecommitdiffstats
path: root/databases/p5-Msql/Makefile
blob: b35a3ccb6f37fa24807410ed31d1f939b262c1a2 (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
35
36
37
38
39
40
# New ports collection makefile for:    p5-Msql
# Version required:         1.17
# Date created:             September 29th 1996
# Whom:                     James FitzGibbon <jfitz@FreeBSD.org>
#
#   $Id: Makefile,v 1.8 1997/04/20 13:51:47 wosch Exp $
#

DISTNAME=   MsqlPerl-1.17
PKGNAME=    p5-Msql-1.17
CATEGORIES= databases perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Msql

MAINTAINER= jfitz@FreeBSD.ORG

# Uncomment this if you want to build against the msql-beta (v2) port instead
# of the original v1.16 port
#USE_MSQLBETA=  YES

.if defined(USE_MSQLBETA)
BUILD_DEPENDS=  ${PREFIX}/lib/libmsql.a:${PORTSDIR}/databases/msql-beta/
CONFIGURE_ENV+= USE_MSQLBETA=${USE_MSQLBETA}
.else
BUILD_DEPENDS=  ${PREFIX}/Minerva/lib/libmsql.a:${PORTSDIR}/databases/msql/
.endif

CONFIGURE_ENV+= PREFIX=${PREFIX}

BUILD_DEPENDS+= perl5.003:${PORTSDIR}/lang/perl5
RUN_DEPENDS=    perl5.003:${PORTSDIR}/lang/perl5

MAN1=       pmsql.1
MAN3=       Msql.3
MAN3PREFIX= ${PREFIX}/lib/perl5

do-configure:
        @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${PREFIX}/bin/perl Makefile.PL

.include <bsd.port.mk>