summaryrefslogtreecommitdiff
path: root/databases/mysql2pgsql/Makefile
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-26 06:38:36 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-26 06:38:36 +0000
commit9bfdbcd5cc8891ca880d7713305c666d6978ced7 (patch)
tree712b4acd75e609cab3a0cc0652e3c00084ba1156 /databases/mysql2pgsql/Makefile
parentUpdate deskutils/plasma-applet-cwp to 1.10.1. (diff)
Support staging
Notes
Notes: svn path=/head/; revision=346108
Diffstat (limited to 'databases/mysql2pgsql/Makefile')
-rw-r--r--databases/mysql2pgsql/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/databases/mysql2pgsql/Makefile b/databases/mysql2pgsql/Makefile
index 7c3be3931e20..57a5b803befb 100644
--- a/databases/mysql2pgsql/Makefile
+++ b/databases/mysql2pgsql/Makefile
@@ -12,16 +12,18 @@ EXTRACT_SUFX= .perl
MAINTAINER= klossalex@gmail.com
COMMENT= Convert a MySQL dump to a PostgreSQL dump
-PLIST_FILES= bin/mysql2pgsql
-USES= perl5
+USES= perl5 shebangfix
NO_BUILD= yes
-NO_STAGE= yes
+SHEBANG_FILES= mysql2pgsql.perl
+PLIST_FILES= bin/mysql2pgsql
+
do-extract:
- ${MKDIR} ${WRKDIR}
- ${CP} -p ${DISTDIR}/mysql2pgsql.perl ${WRKDIR}
+ ${MKDIR} ${WRKSRC}
+ ${CP} -p ${DISTDIR}/mysql2pgsql.perl ${WRKSRC}
do-install:
- ${INSTALL_SCRIPT} ${WRKDIR}/mysql2pgsql.perl ${PREFIX}/bin/mysql2pgsql
+ ${INSTALL_SCRIPT} ${WRKSRC}/mysql2pgsql.perl \
+ ${STAGEDIR}${PREFIX}/bin/mysql2pgsql
.include <bsd.port.mk>