aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-09 19:52:16 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-09 19:52:16 +0800
commitb659bbf6408e258550d2187962dbeaabc7f7e6b6 (patch)
tree9f0ec1e43692f2a4d467717c1bff84ab301f0f46 /databases
parent5faa03fc68aca452f9c42b54b70f74b3597cc98b (diff)
downloadfreebsd-ports-gnome-b659bbf6408e258550d2187962dbeaabc7f7e6b6.tar.gz
freebsd-ports-gnome-b659bbf6408e258550d2187962dbeaabc7f7e6b6.tar.zst
freebsd-ports-gnome-b659bbf6408e258550d2187962dbeaabc7f7e6b6.zip
Support staging use shebangfix and strip binaries.
Diffstat (limited to 'databases')
-rw-r--r--databases/p5-DBD-Oracle/Makefile19
1 files changed, 8 insertions, 11 deletions
diff --git a/databases/p5-DBD-Oracle/Makefile b/databases/p5-DBD-Oracle/Makefile
index 970413a9b366..9191a5b47a99 100644
--- a/databases/p5-DBD-Oracle/Makefile
+++ b/databases/p5-DBD-Oracle/Makefile
@@ -17,14 +17,12 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
OPTIONS_DEFINE= OCI8 EXAMPLES
OCI8_DESC= Use OCI8
-USES= perl5
+USES= perl5 shebangfix
USE_PERL5= configure patch
CONFIGURE_ENV= ORACLE_HOME="${ORACLE_HOME}"
-MAN1= ora_explain.1
-MAN3= DBD::Oracle.3 DBD::Oraperl.3
+SHEBANG_FILES= Oracle.ex/*
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MOCI8}
@@ -54,13 +52,12 @@ post-patch:
${WRKSRC}/dbdimp.c ${WRKSRC}/Oracle.xs ${WRKSRC}/oci[78].c
post-install:
-.if ${PORT_OPTIONS:MEXAMPLES}
+ ${STRIP_CMD} ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto/DBD/Oracle/Oracle.so
@${ECHO_MSG} "===> Installing examples for ${PKGNAME}"
- @${MKDIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/Oracle.ex/Readme ${EXAMPLESDIR}
- ${INSTALL_SCRIPT} ${WRKSRC}/Oracle.ex/*.pl ${EXAMPLESDIR}
- ${INSTALL_SCRIPT} ${WRKSRC}/Oracle.ex/japh ${EXAMPLESDIR}
- ${INSTALL_SCRIPT} ${WRKSRC}/Oracle.ex/sql ${EXAMPLESDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/Oracle.ex/Readme ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/Oracle.ex/*.pl ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/Oracle.ex/japh ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/Oracle.ex/sql ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>