Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Feb 2014 11:31:58 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r345070 - in head/devel/trio: . files
Message-ID:  <201402191131.s1JBVwLG001512@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Wed Feb 19 11:31:58 2014
New Revision: 345070
URL: http://svnweb.freebsd.org/changeset/ports/345070
QAT: https://qat.redports.org/buildarchive/r345070/

Log:
  Support staging

Added:
  head/devel/trio/files/
  head/devel/trio/files/patch-Makefile.in   (contents, props changed)
Modified:
  head/devel/trio/Makefile

Modified: head/devel/trio/Makefile
==============================================================================
--- head/devel/trio/Makefile	Wed Feb 19 11:29:31 2014	(r345069)
+++ head/devel/trio/Makefile	Wed Feb 19 11:31:58 2014	(r345070)
@@ -11,12 +11,11 @@ COMMENT=	A fully matured and stable set 
 
 GNU_CONFIGURE=	yes
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	cd ${WRKSRC} && ${FIND} doc | \
-		${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
-.endif
+		${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Added: head/devel/trio/files/patch-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/trio/files/patch-Makefile.in	Wed Feb 19 11:31:58 2014	(r345070)
@@ -0,0 +1,18 @@
+--- ./Makefile.in.orig	2014-02-19 12:30:54.040272078 +0100
++++ ./Makefile.in	2014-02-19 12:31:21.743269418 +0100
+@@ -43,11 +43,11 @@
+ 	./regression
+ 
+ install:	$(TARGETLIB)
+-	$(MKDIR) $(libdir)
+-	$(MKDIR) $(includedir)
+-	$(INSTALL_DATA) $(TARGETLIB) $(libdir)/$(TARGETLIB)
++	$(MKDIR) $(DESTDIR)$(libdir)
++	$(MKDIR) $(DESTDIR)$(includedir)
++	$(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)/$(TARGETLIB)
+ 	for i in $(TARGETINCS);do \
+-	(set -x;$(INSTALL_DATA) $(srcdir)/$$i $(includedir)); \
++	(set -x;$(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(includedir)); \
+ 	done
+ 
+ regression: regression.o $(TARGETLIB)



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