svn commit: r364278 - head/math/pure-mpfr

Vanilla I. Shu vanilla at FreeBSD.org
Thu Aug 7 14:42:46 UTC 2014


Author: vanilla
Date: Thu Aug  7 14:42:45 2014
New Revision: 364278
URL: http://svnweb.freebsd.org/changeset/ports/364278
QAT: https://qat.redports.org/buildarchive/r364278/

Log:
  1: Stagify.
  2: Strip binary.

Modified:
  head/math/pure-mpfr/Makefile

Modified: head/math/pure-mpfr/Makefile
==============================================================================
--- head/math/pure-mpfr/Makefile	Thu Aug  7 14:39:56 2014	(r364277)
+++ head/math/pure-mpfr/Makefile	Thu Aug  7 14:42:45 2014	(r364278)
@@ -14,32 +14,20 @@ COMMENT=	Multiprecision floats for Pure
 LICENSE=	GPLv3 LGPL3
 LICENSE_COMB=	dual
 
-MAKE_ARGS+=	libdir="${PREFIX}/lib"
-
 USES=		pkgconfig pure
-
-PLIST_FILES=	lib/pure/mpfr.pure \
-		lib/pure/mpfr.so
-
-NO_STAGE=	yes
-
+MAKE_ARGS+=	libdir="${PREFIX}/lib"
 PORTDOCS=	README
-
 PORTEXAMPLES=	*
-
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
-.include <bsd.port.options.mk>
+PLIST_FILES=	lib/pure/mpfr.pure \
+		lib/pure/mpfr.so
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-.endif
-
-.if ${PORT_OPTIONS:MEXAMPLES}
-	@${MKDIR} ${EXAMPLESDIR}
-	@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
-.endif
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pure/mpfr.so
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list