1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/databases/p5-Msql/Makefile

41 lines
1.0 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: p5-Msql
1997-06-15 03:14:06 +00:00
# Version required: 1.1702
# Date created: September 29th 1996
# Whom: James FitzGibbon <jfitz@FreeBSD.org>
#
1997-06-15 03:14:06 +00:00
# $Id: Makefile,v 1.10 1997/05/24 13:16:59 jfitz Exp $
#
1997-06-15 03:14:06 +00:00
DISTNAME= MsqlPerl-1.1702
PKGNAME= p5-Msql-1.1702
1997-04-20 13:53:29 +00:00
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.004:${PORTSDIR}/lang/perl5
RUN_DEPENDS= perl5.004:${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>