Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Feb 2014 11:52:16 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343472 - head/databases/p5-DBD-Oracle
Message-ID:  <201402091152.s19BqGhV092612@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Sun Feb  9 11:52:16 2014
New Revision: 343472
URL: http://svnweb.freebsd.org/changeset/ports/343472
QAT: https://qat.redports.org/buildarchive/r343472/

Log:
  Support staging use shebangfix and strip binaries.

Modified:
  head/databases/p5-DBD-Oracle/Makefile

Modified: head/databases/p5-DBD-Oracle/Makefile
==============================================================================
--- head/databases/p5-DBD-Oracle/Makefile	Sun Feb  9 11:50:46 2014	(r343471)
+++ head/databases/p5-DBD-Oracle/Makefile	Sun Feb  9 11:52:16 2014	(r343472)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402091152.s19BqGhV092612>