Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Aug 2014 02:23:08 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r364881 - head/devel/ocaml-sdl
Message-ID:  <201408150223.s7F2N8V6054395@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Fri Aug 15 02:23:07 2014
New Revision: 364881
URL: http://svnweb.freebsd.org/changeset/ports/364881
QAT: https://qat.redports.org/buildarchive/r364881/

Log:
  1: Stagify.
  2: strip binary.

Modified:
  head/devel/ocaml-sdl/Makefile

Modified: head/devel/ocaml-sdl/Makefile
==============================================================================
--- head/devel/ocaml-sdl/Makefile	Fri Aug 15 02:22:01 2014	(r364880)
+++ head/devel/ocaml-sdl/Makefile	Fri Aug 15 02:23:07 2014	(r364881)
@@ -39,7 +39,6 @@ DOCSDIR=	${OCAML_DOCSDIR}/${PORTNAME}
 INFO=		ocamlsdl
 PORTDOCS=	*
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MSDL_GFX}
@@ -71,10 +70,13 @@ PLIST_DIRSTRY+=	${OCAML_DOCSDIR:S,^${PRE
 .endif
 
 post-install:
-	${INSTALL_DATA} ${WRKSRC}/doc/ocamlsdl.info ${PREFIX}/${INFO_PATH}
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	(cd ${WRKSRC}/doc/html && ${INSTALL_DATA} * ${DOCSDIR})
-.endif
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/ocaml/site-lib/sdl/dllsdlloaderstub.so
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/ocaml/site-lib/sdl/dllsdlttfstub.so
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/ocaml/site-lib/sdl/dllsdlgfxstub.so
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/ocaml/site-lib/sdl/dllsdlmixerstub.so
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/ocaml/site-lib/sdl/dllsdlstub.so
+	${INSTALL_DATA} ${WRKSRC}/doc/ocamlsdl.info ${STAGEDIR}${PREFIX}/${INFO_PATH}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	(cd ${WRKSRC}/doc/html && ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR})
 
 .include <bsd.port.mk>



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