# New ports collection makefile for: p5-Msql # Version required: 1.11 # Date created: September 29th 1996 # Whom: James FitzGibbon # # $Id: Makefile,v 1.6 1996/12/11 12:04:04 asami Exp $ # DISTNAME= MsqlPerl-1.15 PKGNAME= p5-Msql-1.15 CATEGORIES= databases 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