Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jun 2014 09:29:05 +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: r358368 - in head/math/randlib: . files
Message-ID:  <201406190929.s5J9T5cV022865@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Thu Jun 19 09:29:05 2014
New Revision: 358368
URL: http://svnweb.freebsd.org/changeset/ports/358368
QAT: https://qat.redports.org/buildarchive/r358368/

Log:
  Stagify.
  
  Approved by:	portmgr@

Modified:
  head/math/randlib/Makefile
  head/math/randlib/files/Makefile.lib

Modified: head/math/randlib/Makefile
==============================================================================
--- head/math/randlib/Makefile	Thu Jun 19 09:01:15 2014	(r358367)
+++ head/math/randlib/Makefile	Thu Jun 19 09:29:05 2014	(r358368)
@@ -20,14 +20,13 @@ PLIST_FILES=	include/randlib.h \
 		lib/librandlib.so \
 		lib/librandlib.so.1
 
-NO_STAGE=	yes
 post-extract:
 	${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile
 
 post-install:
 .if !defined(NOPORTDOCS)
-	@${MKDIR} ${PREFIX}/share/doc/randlib
-	@${INSTALL_DATA} ${WRKDIR}/source/randlib.c/doc/* ${PREFIX}/share/doc/randlib
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	@${INSTALL_DATA} ${WRKDIR}/source/randlib.c/doc/* ${STAGEDIR}${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>

Modified: head/math/randlib/files/Makefile.lib
==============================================================================
--- head/math/randlib/files/Makefile.lib	Thu Jun 19 09:01:15 2014	(r358367)
+++ head/math/randlib/files/Makefile.lib	Thu Jun 19 09:29:05 2014	(r358368)
@@ -10,6 +10,6 @@ SRCS=		linpack.c com.c randlib.c
 
 beforeinstall:
 	${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/randlib.h \
-		${PREFIX}/include
+           $(DESTDIR)${PREFIX}/include
 
 .include <bsd.lib.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406190929.s5J9T5cV022865>