svn commit: r358270 - in head/math/fxt: . files

Vanilla I. Shu vanilla at FreeBSD.org
Wed Jun 18 13:03:50 UTC 2014


Author: vanilla
Date: Wed Jun 18 13:03:49 2014
New Revision: 358270
URL: http://svnweb.freebsd.org/changeset/ports/358270
QAT: https://qat.redports.org/buildarchive/r358270/

Log:
  Stagify.
  
  Approved by:	portmgr@

Added:
  head/math/fxt/files/patch-makefile   (contents, props changed)
Modified:
  head/math/fxt/Makefile

Modified: head/math/fxt/Makefile
==============================================================================
--- head/math/fxt/Makefile	Wed Jun 18 12:41:30 2014	(r358269)
+++ head/math/fxt/Makefile	Wed Jun 18 13:03:49 2014	(r358270)
@@ -15,7 +15,6 @@ WRKSRC=		${WRKDIR}/${PORTNAME}
 USES=		gmake
 MAKEFILE=	makefile
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 post-patch:
@@ -28,12 +27,12 @@ post-patch:
 
 post-install:
 .if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/00*.txt ${DOCSDIR}/
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/00*.txt ${STAGEDIR}${DOCSDIR}/
 .endif
 .if !defined(NOPORTEXAMPLES)
-	${MKDIR} ${EXAMPLESDIR}
-	(cd ${WRKSRC}/demo && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}/)
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	(cd ${WRKSRC}/demo && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}/)
 .endif
 
 plist:

Added: head/math/fxt/files/patch-makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/fxt/files/patch-makefile	Wed Jun 18 13:03:49 2014	(r358270)
@@ -0,0 +1,22 @@
+--- makefile.orig	2014-06-18 20:52:27.430827185 +0800
++++ makefile	2014-06-18 20:53:06.009833368 +0800
+@@ -127,13 +127,13 @@ install: lib
+ 	: '[$@]'
+ 	@echo 'PREFIX=$(PREFIX)  LIBDIR=$(LIBDIR)  INCDIR=$(INCDIR)'
+ 	@:
+-	@test -d $(INCDIR)  ||  mkdir $(INCDIR)
+-	@$(FXT_INSTALL) $(FXTIDIR)/*.h $(INCDIR)/
+-	@cd src && for f in $(SHFXTSRCDIRS); do mkdir -p $(INCDIR)/$$f; done
+-	@cd src && for f in $(SHFXTSRCDIRS); do $(FXT_INSTALL) $$f/*.h $(INCDIR)/$$f; done
++	@test -d $(DESTDIR)$(INCDIR)  ||  mkdir $(DESTDIR)$(INCDIR)
++	@$(FXT_INSTALL) $(FXTIDIR)/*.h $(DESTDIR)$(INCDIR)/
++	@cd src && for f in $(SHFXTSRCDIRS); do mkdir -p $(DESTDIR)$(INCDIR)/$$f; done
++	@cd src && for f in $(SHFXTSRCDIRS); do $(FXT_INSTALL) $$f/*.h $(DESTDIR)$(INCDIR)/$$f; done
+ 	@:
+-	@test -d $(LIBDIR)  ||  mkdir $(LIBDIR)
+-	@$(FXT_INSTALL) $(FXTLIB) $(LIBDIR)/
++	@test -d $(DESTDIR)$(LIBDIR)  ||  mkdir $(DESTDIR)$(LIBDIR)
++	@$(FXT_INSTALL) $(FXTLIB) $(DESTDIR)$(LIBDIR)/
+ 	:  OK.
+ 
+ .PHONY: chk-install ##x print whether installed header files are up to date


More information about the svn-ports-head mailing list