svn commit: r345070 - in head/devel/trio: . files

Emanuel Haupt ehaupt at FreeBSD.org
Wed Feb 19 11:31:59 UTC 2014


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)


More information about the svn-ports-all mailing list