Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Aug 2014 14:42:46 +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: r364278 - head/math/pure-mpfr
Message-ID:  <53e39066.59e0.7580e125@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e39066.59e0.7580e125>