- Pet portlint - Add CPAN as primary WWW Changes: http://search.cpan.org/dist/MySQL-Diff/Changes PR: ports/161342 Submitted by: sunpoet (myself) Approved by: maintainer (timeout, 4 weeks)
37 lines
908 B
Makefile
37 lines
908 B
Makefile
# New ports collection makefile for: MySQL-Diff
|
|
# Date created: 11 August 2003
|
|
# Whom: Andrew McNaughton <andrew@scoop.co.nz>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= MySQL-Diff
|
|
PORTVERSION= 0.43
|
|
CATEGORIES= databases perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= andrew@scoop.co.nz
|
|
COMMENT= Perl module for comparing the table structure of two MySQL databases
|
|
|
|
BUILD_DEPENDS= p5-Class-MakeMethods>=0:${PORTSDIR}/devel/p5-Class-MakeMethods \
|
|
p5-DBD-mysql>=0:${PORTSDIR}/databases/p5-DBD-mysql \
|
|
p5-File-Slurp>=0:${PORTSDIR}/devel/p5-File-Slurp
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN1= mysqldiff.1
|
|
MAN3= MySQL::Diff.3 \
|
|
MySQL::Diff::Database.3 \
|
|
MySQL::Diff::Table.3 \
|
|
MySQL::Diff::Utils.3
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '1 s|/usr/bin/perl|${PERL}|' ${WRKSRC}/bin/mysqldiff
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/mysqldiff ${PREFIX}/bin/
|
|
|
|
.include <bsd.port.mk>
|