svn commit: r354261 - head/math/slatec

Carlo Strub cs at FreeBSD.org
Fri May 16 20:55:40 UTC 2014


Author: cs
Date: Fri May 16 20:55:40 2014
New Revision: 354261
URL: http://svnweb.freebsd.org/changeset/ports/354261
QAT: https://qat.redports.org/buildarchive/r354261/

Log:
  - Fix staging
  - Add default option
  
  PR:		ports/189809
  Submitted by:	Anton Shterenlikht <mexas at bris.ac.uk> (maintainer)

Modified:
  head/math/slatec/Makefile

Modified: head/math/slatec/Makefile
==============================================================================
--- head/math/slatec/Makefile	Fri May 16 20:35:20 2014	(r354260)
+++ head/math/slatec/Makefile	Fri May 16 20:55:40 2014	(r354261)
@@ -3,11 +3,10 @@
 
 PORTNAME=	slatec
 PORTVERSION=	4.1
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	math
 MASTER_SITES=	NL:slatec,blas
 MASTER_SITE_SUBDIR=	slatec/:slatec blas/:blas
-NO_STAGE=	yes
 # Get d1mach.f, i1mach.f, r1mach.f from BLAS, rather than from Slatec:
 # See Netlib FAQ #2.17: http://netlib.org/misc/faq.html#2.17
 DISTFILES=	guide:slatec slatec_chk.tgz:slatec slatec_src.tgz:slatec \
@@ -33,6 +32,7 @@ MAKE_ENV+=	LDADD="${LDADD}" SHLIB_MAJOR=
 		SRCCONF="${SRCCONF}"
 
 OPTIONS_DEFINE=	DOCS PROFILE
+OPTIONS_DEFAULT=DOCS
 
 .include <bsd.port.options.mk>
 
@@ -72,9 +72,7 @@ test-${l}: build
 .endfor
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	@cd ${_DISTDIR}; ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	@cd ${_DISTDIR}; ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list