Bug 189809 - [STAGE] [patch] math/slatec staging
Summary: [STAGE] [patch] math/slatec staging
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Carlo Strub
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-14 17:00 UTC by Anton Shterenlikht
Modified: 2014-05-16 22:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Shterenlikht 2014-05-14 17:00:00 UTC
Updated to support STAGE, checked on redports and ia64.
svn patch:

Index: math/slatec/Makefile
===================================================================
--- math/slatec/Makefile        (revision 353949)
+++ math/slatec/Makefile        (working copy)
@@ -7,7 +7,6 @@
 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 @@
                SRCCONF="${SRCCONF}"
 
 OPTIONS_DEFINE=        DOCS PROFILE
+OPTIONS_DEFAULT=DOCS
 
 .include <bsd.port.options.mk>
 
@@ -72,9 +72,7 @@
 .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>
Comment 1 Carlo Strub freebsd_committer freebsd_triage 2014-05-16 21:45:36 UTC
Responsible Changed
From-To: freebsd-ports-bugs->cs

I'll take it
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-05-16 21:55:43 UTC
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@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>
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Carlo Strub freebsd_committer freebsd_triage 2014-05-16 21:55:49 UTC
State Changed
From-To: open->closed

Committed. Thank you very much.