aboutsummaryrefslogtreecommitdiff
path: root/databases/p5-MySQL-Diff
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-05 13:43:06 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-05 13:43:06 +0000
commit58fb45f3dd6072a62c8853d31c25cee7e8140684 (patch)
treea7cae2ee0ed52556ca684f0e3f7f2f2cb06d3abd /databases/p5-MySQL-Diff
parent7fb63a7d641b28e5c3da916cfe4f0d9cb4c40a7a (diff)
downloadports-58fb45f3dd6072a62c8853d31c25cee7e8140684.tar.gz
ports-58fb45f3dd6072a62c8853d31c25cee7e8140684.zip
Notes
Diffstat (limited to 'databases/p5-MySQL-Diff')
-rw-r--r--databases/p5-MySQL-Diff/Makefile14
-rw-r--r--databases/p5-MySQL-Diff/pkg-plist5
2 files changed, 8 insertions, 11 deletions
diff --git a/databases/p5-MySQL-Diff/Makefile b/databases/p5-MySQL-Diff/Makefile
index b4a18193f72b..5643e036a1dc 100644
--- a/databases/p5-MySQL-Diff/Makefile
+++ b/databases/p5-MySQL-Diff/Makefile
@@ -15,20 +15,12 @@ BUILD_DEPENDS= p5-Class-MakeMethods>=0:${PORTSDIR}/devel/p5-Class-MakeMethods \
p5-File-Slurp>=0:${PORTSDIR}/devel/p5-File-Slurp
RUN_DEPENDS:= ${BUILD_DEPENDS}
-USES= perl5
+USES= perl5 shebangfix
USE_PERL5= configure
-MAN1= mysqldiff.1
-MAN3= MySQL::Diff.3 \
- MySQL::Diff::Database.3 \
- MySQL::Diff::Table.3 \
- MySQL::Diff::Utils.3
-
-NO_STAGE= yes
-post-patch:
- @${REINPLACE_CMD} -e '1 s|/usr/bin/perl|${PERL}|' ${WRKSRC}/bin/mysqldiff
+SHEBANG_FILES= bin/mysqldiff
post-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/bin/mysqldiff ${PREFIX}/bin/
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/mysqldiff ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>
diff --git a/databases/p5-MySQL-Diff/pkg-plist b/databases/p5-MySQL-Diff/pkg-plist
index c896d05548b0..5e26709514fd 100644
--- a/databases/p5-MySQL-Diff/pkg-plist
+++ b/databases/p5-MySQL-Diff/pkg-plist
@@ -1,9 +1,14 @@
bin/mysqldiff
+man/man1/mysqldiff.1.gz
%%SITE_PERL%%/MySQL/Diff.pm
%%SITE_PERL%%/MySQL/Diff/Database.pm
%%SITE_PERL%%/MySQL/Diff/Table.pm
%%SITE_PERL%%/MySQL/Diff/Utils.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/MySQL/Diff/.packlist
+%%PERL5_MAN3%%/MySQL::Diff.3.gz
+%%PERL5_MAN3%%/MySQL::Diff::Database.3.gz
+%%PERL5_MAN3%%/MySQL::Diff::Table.3.gz
+%%PERL5_MAN3%%/MySQL::Diff::Utils.3.gz
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/MySQL/Diff
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MySQL
@dirrm %%SITE_PERL%%/MySQL/Diff