Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Aug 2014 03:47:26 +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: r364344 - head/math/sdpa
Message-ID:  <53e4484f.2b35.41a21253@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Fri Aug  8 03:47:26 2014
New Revision: 364344
URL: http://svnweb.freebsd.org/changeset/ports/364344
QAT: https://qat.redports.org/buildarchive/r364344/

Log:
  Stagify.

Modified:
  head/math/sdpa/Makefile
  head/math/sdpa/pkg-plist

Modified: head/math/sdpa/Makefile
==============================================================================
--- head/math/sdpa/Makefile	Fri Aug  8 03:44:02 2014	(r364343)
+++ head/math/sdpa/Makefile	Fri Aug  8 03:47:26 2014	(r364344)
@@ -14,18 +14,16 @@ COMMENT=	Very efficient SDP (semidefinit
 
 USES=		fortran gmake
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
-
 SRCDATE=	20090729
 MANUALFILE=	sdpa7-manual.pdf
 GNU_CONFIGURE=	yes
 WRKSRC=		${WRKDIR}/${PORTNAME}.${PORTVERSION}.src
+OPTIONS_DEFINE=	DOCS
 
 .if exists(${LOCALBASE}/lib/libgoto2.so)
-WITH_BLAS?=     gotoblas
+WITH_BLAS?=	gotoblas
 .elif exists(${LOCALBASE}/lib/libatlas.so)
-WITH_BLAS?=     atlas
+WITH_BLAS?=	atlas
 .else
 WITH_BLAS?=	reference
 .endif
@@ -56,12 +54,10 @@ post-patch:
 		${WRKSRC}/Makefile.in
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/sdpa ${PREFIX}/bin
-	@${MKDIR} ${DATADIR}
-	${INSTALL_DATA}    ${WRKSRC}/param.sdpa ${DATADIR}
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/doc/${MANUALFILE} ${DOCSDIR}
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/sdpa ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA}    ${WRKSRC}/param.sdpa ${STAGEDIR}${DATADIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/${MANUALFILE} ${STAGEDIR}${DOCSDIR}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/math/sdpa/pkg-plist
==============================================================================
--- head/math/sdpa/pkg-plist	Fri Aug  8 03:44:02 2014	(r364343)
+++ head/math/sdpa/pkg-plist	Fri Aug  8 03:47:26 2014	(r364344)
@@ -1,5 +1,5 @@
 bin/sdpa
-share/sdpa/param.sdpa
-@dirrm share/sdpa
+%%DATADIR%%/param.sdpa
+@dirrm %%DATADIR%%
 %%PORTDOCS%%%%DOCSDIR%%/%%MANUALFILE%%
 %%PORTDOCS%%@dirrm %%DOCSDIR%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e4484f.2b35.41a21253>